betaFeedback

WorksMathematics

A Generalisation of Maximal (k,b)(k,b)-Linear-Free Sets of Integers

Abstract

Fix integers k,b,qk,b,q with k≥2,b≥0,q≥2k\ge 2,b\ge 0,q\ge 2. Define the function pp to be: p(x)=kx+bp(x)=kx+b. We call a set SS of integers (k,b,q)(k,b,q)-linear-free if x∈Sx\in S implies pi(x)∉Sp^i (x)\notin S for all i=1,2,…,q−1i=1,2,\dots,q-1, where pi(x)=p(pi−1(x))p^i (x)=p\left(p^{i-1}(x)\right) and p0(x)=xp^0 (x)=x. Such a set SS is maximal in [n]:={1,2,…,n}[n]:=\{1,2,\dots,n\} if S∪{t},∀t∈[n]\SS\cup \{t\},\forall t\in [n]\backslash S is not (k,b,q)(k,b,q)-linear-free. Let Mk,b,q(n)M_{k,b,q} (n) be the set of all maximal (k,b,q)(k,b,q)-linear-free subsets of [n][n], and define gk,b,q(n)=min⁡S∈Mk,b,q(n)∣S∣g_{k,b,q} (n)=\min_{S\in M_{k,b,q} (n)}|S| and fk,b,q(n)=max⁡S∈Mk,b,q(n)∣S∣f_{k,b,q} (n)=\max_{S\in M_{k,b,q} (n)}|S|. In this paper, formulae for gk,b,q(n)g_{k,b,q} (n) and fk,b,q(n)f_{k,b,q} (n) are proposed. Also, it is proven that there is at least one maximal (k,b,q)(k,b,q)-linear-free subset of [n][n] with exactly xx elements for any integer xx between gk,b,q(n)g_{k,b,q} (n) and fk,b,q(n)f_{k,b,q} (n), inclusively.

Introduction

A set of integers SS is said to be kk-multiple-free if x≠kyx\ne ky for all x,y∈Sx,y\in S. Let gk(n)=max⁡{∣A∣:A⊆[n]:={1,2,…,n} is k-multiple-free}g_k(n)=\max\{|A|:A\subseteq[n]:=\{1,2,\ldots,n\}\text{ is }k\text{-multiple-free}\}. E.T.H Wang [3], when working on double-free sets, showed that

g2(n)=⌊n2⌋+g2(⌊n4⌋),g_2(n)=\left\lfloor\frac{n}{2}\right\rfloor+g_2\left(\left\lfloor\frac{n}{4}\right\rfloor\right),

with g2(0)=0g_2(0)=0, and an asymptotic formula for g2(n)g_2(n) is given by g2(n)=23n+O(log⁡n)g_2(n)=\frac{2}{3}n+O(\log n). In a similar vein, Leung and Wei [5] proved that for every integer r>1r>1, gr(n)=rr+1n+O(log⁡n)g_r(n)=\frac{r}{r+1}n+O(\log n).

Instead of kk-multiple-free subsets, one can ask more general questions about a subset SS of [n][n] such that: for any two elements xx and yy of SS, yx\frac{y}{x} does not belong to CC, where CC is a fixed set of rational numbers. For example, when C={2,3}C=\{2,3\}, such a subset SS is called strongly triple-free, which is a subject of great interest in, for example, [4] and [8]. In fact, the genesis of this paper is the case when C={k,k2,…,kq}C=\{k,k^2,\ldots,k^q\}, where kk and qq are positive integers.

On the other hand, You, Yu, and Liu [6] studied an alternative, natural generalisation of multiple-free sets, which are translation-free, or linear-free sets. In particular, a set XX of integers is called (k,b)(k,b)-linear-free if x∈Xx\in X implies kx+b∉Xkx+b\notin X. Obviously, when b=0b=0, XX is kk-multiple-free. Define gk,b(n)=min⁡{∣X∣:X⊆[n] is a maximal (k,b)-linear-free subset}g_{k,b}(n)=\min\{|X|:X\subseteq[n]\text{ is a maximal }(k,b)\text{-linear-free subset}\} and fk,b(n)=max⁡{∣X∣:X⊆[n] is a maximal (k,b)-linear-free subset}f_{k,b}(n)=\max\{|X|:X\subseteq[n]\text{ is a maximal }(k,b)\text{-linear-free subset}\}. You, Yu, and Liu proposed explicit formulae for the two functions and showed that there is a maximal (k,b)(k,b)-linear-free subset of [n][n] with exactly xx elements for any integer xx between the minimum and maximum possible orders. Moreover, Liu and Zhou [1] also dealt with the same generalisation, albeit having a different approach.

This paper extends the aforementioned results by combining those two concepts. Henceforth, kk, bb, and qq will denote integers with k≥2k\geq2, b≥0b\geq0, and q≥2q\geq2. Define the function pp to be: p(x)=kx+bp(x)=kx+b. A set SS of integers is said to be (k,b,q)(k,b,q)-linear-free if x∈Sx\in S implies pi(x)∉Sp^i(x)\notin S, ∀i=1,2,…,q−1\forall i=1,2,\ldots,q-1, where pi(x)=p(pi−1(x))p^i(x)=p(p^{i-1}(x)) and p0(x)=xp^0(x)=x. Such a set SS is maximal in [n][n] if S∪{t}S\cup\{t\} is not (k,b,q)(k,b,q)-linear-free for any t∈[n]∖St\in[n]\setminus S. Let Mk,b,q(n)M_{k,b,q}(n) be the set of all maximal (k,b,q)(k,b,q)-linear-free subsets of [n][n], and define gk,b,q(n)=min⁡S∈Mk,b,q(n)∣S∣g_{k,b,q}(n)=\min_{S\in M_{k,b,q}(n)}|S| and fk,b,q(n)=max⁡S∈Mk,b,q(n)∣S∣f_{k,b,q}(n)=\max_{S\in M_{k,b,q}(n)}|S|. In this paper, formulae for gk,b,q(n)g_{k,b,q}(n) and fk,b,q(n)f_{k,b,q}(n) are derived. Also, it is proven that there is at least one maximal (k,b,q)(k,b,q)-linear-free subset of [n][n] of cardinality xx for any integer xx between gk,b,q(n)g_{k,b,q}(n) and fk,b,q(n)f_{k,b,q}(n), inclusively.

Notice that when q=2q=2 we get back the notion of (k,b)(k,b)-linear-free subsets: fk,b,2(n)=fk,b(n)f_{k,b,2}(n)=f_{k,b}(n) and gk,b,2(n)=gk,b(n)g_{k,b,2}(n)=g_{k,b}(n).

There is yet another classical way to look at the topic. For a fixed r×sr\times s integer matrix A\mathbf{A}, let us call a subset SA(n)⊆[n]S_{\mathbf{A}}(n)\subseteq[n] A\mathbf{A}-missing if for every vector x=\mathbf{x}=

(x1x2⋮xs)\begin{pmatrix} x_1\\ x_2\\ \vdots\\ x_s \end{pmatrix}

with xi∈SAx_i\in S_{\mathbf{A}} for all ii, the column vector Ax\mathbf{A}\mathbf{x} has none of its entries being equal to 00. With this definition, take A=(k−1)\mathbf{A}=\begin{pmatrix}k&-1\end{pmatrix} and B=(2−1030−1)\mathbf{B}=\begin{pmatrix}2&-1&0\\3&0&-1\end{pmatrix}, then A\mathbf{A}-missing subsets and B\mathbf{B}-missing subsets are, respectively, kk-multiple-free subsets and strongly triple-free subsets. Naturally, we can further fix a r×1r\times1 matrix b\mathbf{b} and look at the entries of Ax+b\mathbf{A}\mathbf{x}+\mathbf{b}. We specify the (q−1)×q(q-1) \times q matrix A\mathbf{A} and the (q−1)×1(q-1) \times1 matrix b\mathbf{b} to be

A=(k−10⋯0k20−1⋯0⋮⋮⋮⋱⋮kq−100⋯−1)andb=(p1(0)p2(0)⋮pq−1(0)).\mathbf{A}=\begin{pmatrix} k & -1 & 0 & \cdots& 0 \\ k^{2} & 0 & -1 & \cdots& 0 \\ \vdots& \vdots& \vdots& \ddots& \vdots\\ k^{q-1} & 0 & 0 & \cdots& -1 \end{pmatrix} \qquad\text{and}\qquad \mathbf{b}=\begin{pmatrix} p^{1}(0) \\ p^{2}(0) \\ \vdots\\ p^{q-1}(0) \end{pmatrix}.

Interpreted in terms of matrices, a (k,b,q)(k,b,q)-linear-free subset SA,b(n)⊆[n]S_{\mathbf{A},\mathbf{b}}(n) \subseteq[n]

is equivalently a subset which satisfies: for every vector x=(x1x2⋮xq)\mathbf{x}=\begin{pmatrix} x_{1} \\ x_{2} \\ \vdots\\ x_{q} \end{pmatrix} with

xi∈SA,bx_i \in S_{\mathbf{A},\mathbf{b}} for all ii, the column vector Ax+b\mathbf{A}\mathbf{x}+\mathbf{b} has none of its entries being equal to 00. For instance, the case of (k,b)(k,b)-linear-free subsets corresponds to A=(k−1)\mathbf{A}=(k\quad-1) and b=(b)\mathbf{b}=(b), and none of the vectors x=(x1x2)\mathbf{x}=\begin{pmatrix} x_{1} \\ x_{2} \end{pmatrix} with x1,x2∈SA,bx_1,x_2 \in S_{\mathbf{A},\mathbf{b}} is a solution to the equation Ax+b=0\mathbf{A}\mathbf{x}+\mathbf{b}=\mathbf{0}.

Main Results

To simplify expressions, we denote ⟨ki⟩=(ki−1)/(k−1)\langle k^{i}\rangle=(k^{i}-1)/(k-1).

Theorem 2.1 The recurrence relation for fk,b,q(n)f_{k,b,q}(n) is given by

fk,b,q(n)=⌊n(k−1)+bk⌋+fk,b,q(⌊n−b⟨kq⟩kq⌋),∀n>bf_{k,b,q}(n)=\left\lfloor\frac{n(k-1)+b}{k}\right\rfloor+f_{k,b,q}\left(\left\lfloor\frac{n-b\langle k^{q}\rangle}{k^{q}}\right\rfloor\right),\qquad\forall n>b

with fk,b,q(n)=0, ∀n<0f_{k,b,q}(n)=0,\ \forall n<0 and fk,b,q(n)=n, ∀n∈[0,b]f_{k,b,q}(n)=n,\ \forall n\in[0,b]. Similarly,

gk,b,q(n)=⌊n(k−1)+bk⌋+gk,b,q(⌊n−b⟨k2q−1⟩k2q−1⌋),∀n>bg_{k,b,q}(n)=\left\lfloor\frac{n(k-1)+b}{k}\right\rfloor+g_{k,b,q}\left(\left\lfloor\frac{n-b\langle k^{2q-1}\rangle}{k^{2q-1}}\right\rfloor\right),\qquad\forall n>b

with gk,b,q(n)=0, ∀n<0g_{k,b,q}(n)=0,\ \forall n<0 and gk,b,q(n)=n, ∀n∈[0,b]g_{k,b,q}(n)=n,\ \forall n\in[0,b].

Proof. Assume that FF is a maximal (k,b,q)(k,b,q)-linear-free subset of [n][n] with fk,b,q(n)f_{k,b,q}(n) elements. Fix kk and qq, and partition [n][n] into

X={1,2,3,…,⌊n−b⟨kq⟩kq⌋}andX=\left\{1,2,3,\ldots,\left\lfloor\frac{n-b\langle k^{q}\rangle}{k^{q}}\right\rfloor\right\} \qquad\text{and}
Y={⌊n−b⟨kq⟩kq⌋+1,⌊n−b⟨kq⟩kq⌋+2,…,n}.Y=\left\{\left\lfloor\frac{n-b\langle k^{q}\rangle}{k^{q}}\right\rfloor+1,\left\lfloor\frac{n-b\langle k^{q}\rangle}{k^{q}}\right\rfloor+2,\ldots,n\right\}.

We will prove that, from the set YY, FF cannot have more than ⌈n(k−1)+bk⌉\left\lceil\frac{n(k-1)+b}{k}\right\rceil elements. Indeed, for each i=⌈n−bk⌉+1,⌈n−bk⌉+2,…,ni=\left\lceil\frac{n-b}{k}\right\rceil+1,\left\lceil\frac{n-b}{k}\right\rceil+2,\ldots,n, let h(i)h(i) be the greatest non-negative integer such that p−h(i)(i)∈[n]p^{-h(i)}(i)\in[n], where p−i(x)p^{-i}(x) is the inverse function of pi(x)p^i(x). Define

Yi={p−t(i),0≤t≤min⁡{h(i),q−1}}.Y_i=\left\{p^{-t}(i),0\leq t\leq\min\{h(i),q-1\}\right\}.

The union of YiY_i, i=⌈n−bk⌉+1,⌈n−bk⌉+2,…,ni=\left\lceil\frac{n-b}{k}\right\rceil+1,\left\lceil\frac{n-b}{k}\right\rceil+2,\ldots,n (there are n−⌈n−bk⌉=⌈n(k−1)+bk⌉n-\left\lceil\frac{n-b}{k}\right\rceil=\left\lceil\frac{n(k-1)+b}{k}\right\rceil such sets) covers YY. This is because, for every c∈Yc\in Y, there exists j∈[1,q]j\in[1,q] satisfying ⌈n−b⟨kj⟩kj⌉+1≤c≤⌈n−b⟨kj−1⟩kj−1⌉\left\lceil\frac{n-b\langle k^j\rangle}{k^j}\right\rceil+1\leq c\leq\left\lceil\frac{n-b\langle k^{j-1}\rangle}{k^{j-1}}\right\rceil. As ⌈n−bk⌉+1≤pj−1(c)≤n\left\lceil\frac{n-b}{k}\right\rceil+1\leq p^{j-1}(c)\leq n, this guarantees c∈Ypj−1(c)c\in Y_{p^{j-1}(c)}.

Because FF cannot include more than one element in each YiY_i, and can have at most fk,b,q(⌈n−b⟨kq⟩kq⌉)f_{k,b,q}\left(\left\lceil\frac{n-b\langle k^q\rangle}{k^q}\right\rceil\right) elements in XX, so

fk,b,q(n)≤⌈n(k−1)+bk⌉+fk,b,q(⌈n−b⟨kq⟩kq⌉).f_{k,b,q}(n)\leq\left\lceil\frac{n(k-1)+b}{k}\right\rceil+f_{k,b,q}\left(\left\lceil\frac{n-b\langle k^q\rangle}{k^q}\right\rceil\right).

On the other hand, let A1A_1 be a maximal (k,b,q)(k,b,q)-linear-free subset of XX and A2={⌈n−bk⌉+1,⌈n−bk⌉+2,…,n}A_2=\{\left\lceil\frac{n-b}{k}\right\rceil+1,\left\lceil\frac{n-b}{k}\right\rceil+2,\ldots,n\}. Then A=A1∪A2A=A_1\cup A_2 is a maximal (k,b,q)(k,b,q)-linear-free subset of [n][n], hence

fk,b,q(n)≥⌈n(k−1)+bk⌉+fk,b,q(⌈n−b⟨kq⟩kq⌉).f_{k,b,q}(n)\geq\left\lceil\frac{n(k-1)+b}{k}\right\rceil+f_{k,b,q}\left(\left\lceil\frac{n-b\langle k^q\rangle}{k^q}\right\rceil\right).

The upper and lower bounds complete the proof for the first part of Theorem 2.1.

The second recurrence relation regarding gk,b,q(n)g_{k,b,q}(n) can be proven in the same fashion. □

Based on the proof of Theorem 2.1, a straightforward algorithm to construct a maximal (k,b,q)(k,b,q)-linear-free subset FF of [n][n] with fk,b,q(n)f_{k,b,q}(n) elements is proposed: first, check the largest number in [n][n], which is nn. As pi(n)∉F,∀i=1,2,…,q−1p^i(n)\notin F,\forall i=1,2,\ldots,q-1, we add nn to FF (initially, FF is empty). Next, assume that we have checked until x>1x>1. We then proceed to check x−1x-1. If pi(x−1)∉F,∀i=1,2,…,q−1p^i(x-1)\notin F,\forall i=1,2,\ldots,q-1, then x−1x-1 is added to FF. Otherwise, we proceed to check x−2x-2. This algorithm terminates after number 1 is checked.

The next theorem provides formulae to determine fk,b,q(n)f_{k,b,q}(n) and gk,b,q(n)g_{k,b,q}(n).

Theorem 2.2 For every positive integer nn, n≥b≥1n \ge b \ge1:

fk,b,q(n)=fk,b,q(⌊n−b⟨kq(m+1)⟩kq(m+1)⌋)+∑i=0m⌊k−1k⌊n−b⟨kqi⟩kqi⌋⌋+⌊bk⌋,f_{k,b,q}(n)=f_{k,b,q}\left(\left\lfloor\frac{n-b\langle k^{q(m+1)}\rangle}{k^{q(m+1)}}\right\rfloor\right)+\sum_{i=0}^{m}\left\lfloor\frac{k-1}{k}\left\lfloor\frac{n-b\langle k^{qi}\rangle}{k^{qi}}\right\rfloor\right\rfloor+\left\lfloor\frac{b}{k}\right\rfloor,

where m=⌊log⁡k((n(k−1)+b)/bk)q⌋m=\left\lfloor\frac{\log_k((n(k-1)+b)/bk)}{q}\right\rfloor. Similarly,

gk,b,q(n)=gk,b,q(⌊n−b⟨k(2q−1)(m+1)⟩k(2q−1)(m+1)⌋)+∑i=0m⌊k−1k⌊n−b⟨k(2q−1)i⟩k(2q−1)i⌋⌋+⌊bk⌋,g_{k,b,q}(n)=g_{k,b,q}\left(\left\lfloor\frac{n-b\langle k^{(2q-1)(m+1)}\rangle}{k^{(2q-1)(m+1)}}\right\rfloor\right)+\sum_{i=0}^{m}\left\lfloor\frac{k-1}{k}\left\lfloor\frac{n-b\langle k^{(2q-1)i}\rangle}{k^{(2q-1)i}}\right\rfloor\right\rfloor+\left\lfloor\frac{b}{k}\right\rfloor,

where m=⌊log⁡k((n(k−1)+b)/bk)2q−1⌋m=\left\lfloor\frac{\log_k((n(k-1)+b)/bk)}{2q-1}\right\rfloor.

It should be remarked that, by Theorem 2.1, fk,b,q(⌊n−b⟨kq(m+1)⟩kq(m+1)⌋)f_{k,b,q}\left(\left\lfloor\frac{n-b\langle k^{q(m+1)}\rangle}{k^{q(m+1)}}\right\rfloor\right) is either 00 or ⌊n−b⟨kq(m+1)⟩kq(m+1)⌋\left\lfloor\frac{n-b\langle k^{q(m+1)}\rangle}{k^{q(m+1)}}\right\rfloor, depending on whether ⌊n−b⟨kq(m+1)⟩kq(m+1)⌋\left\lfloor\frac{n-b\langle k^{q(m+1)}\rangle}{k^{q(m+1)}}\right\rfloor is negative or not, and gk,b,q(⌊n−b⟨k(2q−1)(m+1)⟩k(2q−1)(m+1)⌋)g_{k,b,q}\left(\left\lfloor\frac{n-b\langle k^{(2q-1)(m+1)}\rangle}{k^{(2q-1)(m+1)}}\right\rfloor\right) is determined correspondingly.

Proof. For fk,b,q(n)f_{k,b,q}(n), this is obtained by repeatedly applying Theorem 2.1 until ⌊n−b⟨kqi⟩kqi⌋≤b\left\lfloor\frac{n-b\langle k^{qi}\rangle}{k^{qi}}\right\rfloor\le b, i.e., i≥⌊log⁡k((n(k−1)+b)/bk)q⌋i\ge\left\lfloor\frac{\log_k((n(k-1)+b)/bk)}{q}\right\rfloor. Also, notice that

⌊⌊n−b⟨kqi⟩kqi⌋−b⟨kq⟩kq⌋=⌊n−b⟨kq(i+1)⟩kq(i+1)⌋.\left\lfloor\frac{\left\lfloor\frac{n-b\langle k^{qi}\rangle}{k^{qi}}\right\rfloor-b\langle k^q\rangle}{k^q}\right\rfloor=\left\lfloor\frac{n-b\langle k^{q(i+1)}\rangle}{k^{q(i+1)}}\right\rfloor.

The same argument can be applied to deduce the formula for gk,b,q(n)g_{k,b,q}(n). □

In Theorem 2.2, when q=2q=2, formulae for fk,b(n)f_{k,b}(n) and gk,b(n)g_{k,b}(n) are obtained, which are, however, different from those of You, Yu, and Liu [6]. Particularly, You, Yu, and Liu suggested that

fk,b(n)=∑i=1n(1)∣Ni∣⌊i+12⌋andgk,b(n)=∑i=1n(1)∣Ni∣⌊i+13⌋,f_{k,b}(n)=\sum_{i=1}^{n(1)}|N_i|\left\lfloor\frac{i+1}{2}\right\rfloor \qquad\text{and}\qquad g_{k,b}(n)=\sum_{i=1}^{n(1)}|N_i|\left\lfloor\frac{i+1}{3}\right\rfloor,

where n(1)=⌊log⁡kn+b/(k−1)1+b/(k−1)⌋n(1)=\left\lfloor\log_k\frac{n+b/(k-1)}{1+b/(k-1)}\right\rfloor and

∣Ni∣={⌊n−b⟨ki⟩ki⌋−2⌊n−b⟨ki+1⟩ki+1⌋+⌊n−b⟨ki+2⟩ki+2⌋for i<n(1),⌊n−b⟨ki⟩ki⌋for i=n(1).|N_i|=\begin{cases} \left\lfloor\frac{n-b\langle k^i\rangle}{k^i}\right\rfloor-2\left\lfloor\frac{n-b\langle k^{i+1}\rangle}{k^{i+1}}\right\rfloor+\left\lfloor\frac{n-b\langle k^{i+2}\rangle}{k^{i+2}}\right\rfloor& \text{for }i<n(1),\\ \left\lfloor\frac{n-b\langle k^i\rangle}{k^i}\right\rfloor& \text{for }i=n(1). \end{cases}

These are essentially different from Theorem 2.2 as the two have different strategies: our approach utilises recurrence relations while You, Yu, and Liu partition [n][n] from the beginning. Furthermore, it seems that their approach can be suitably modified to accommodate for the more general cases when q≥3q \ge3.

These somewhat complicated formulae are illustrated in the following example:

Example 1. To determine f2,1,3(2021)f_{2,1,3}(2021) and g2,1,3(2021)g_{2,1,3}(2021), Theorem 2.2 gives:

f2,1,3(2021)=f2,1,3(⌊202184−84−184⌋)+∑i=03⌊12⌊20218i−8i−18i⌋+12⌋=1155f_{2,1,3}(2021)=f_{2,1,3}\left(\left\lfloor\frac{2021}{8^{4}}-\frac{8^{4}-1}{8^{4}}\right\rfloor\right)+\sum_{i=0}^{3}\left\lfloor\frac{1}{2}\left\lfloor\frac{2021}{8^{i}}-\frac{8^{i}-1}{8^{i}}\right\rfloor+\frac{1}{2}\right\rfloor=1155

and

g2,1,3(2021)=g2,1,3(⌊2021322−322−1322⌋)+∑i=01⌊12⌊202132i−32i−132i⌋+12⌋=1043g_{2,1,3}(2021)=g_{2,1,3}\left(\left\lfloor\frac{2021}{3^{2^{2}}}-\frac{3^{2^{2}}-1}{3^{2^{2}}}\right\rfloor\right)+\sum_{i=0}^{1}\left\lfloor\frac{1}{2}\left\lfloor\frac{2021}{3^{2^{i}}}-\frac{3^{2^{i}}-1}{3^{2^{i}}}\right\rfloor+\frac{1}{2}\right\rfloor=1043

Corollary 2.3

fk,0,q(n)=kq−1(k−1)kq−1n+O(log⁡n).f_{k,0,q}(n)=\frac{k^{q-1}(k-1)}{k^{q}-1}n+O(\log n).

This is based on

fk,0,q(n)=∑i≥0⌊k−1k⌊nkqi⌋⌋,f_{k,0,q}(n)=\sum_{i\ge0}\left\lfloor\frac{k-1}{k}\left\lfloor\frac{n}{kq^{i}}\right\rfloor\right\rfloor,

which is a direct corollary of Theorem 2.2. In fact, Corollary 2.3 can be extended by generalising the method of Wakeham and Wood [2]. Particularly, for positive integers a,ba,b whose greatest common divisor is gg and a<ba<b, one has

fb/a,0,q(n)=bq−1(b−g)bq−gqn+O(log⁡n).f_{b/a,0,q}(n)=\frac{b^{q-1}(b-g)}{b^{q}-g^{q}}n+O(\log n).

Next, still in the case b=0b=0, if nn is a perfect power of kk then a much neater formula for fk,0,q(n)f_{k,0,q}(n) is as follows:

Theorem 2.4

fk,0,q(kn)=⌊kq−1(kn−1)(k−1)kq−1⌋+1.f_{k,0,q}(k^{n})=\left\lfloor\frac{k^{q-1}(k^{n}-1)(k-1)}{k^{q}-1}\right\rfloor+1.

Proof. We will induct on nn. First, let 0≤n<q0\le n<q. The theorem is true for n=0n=0 as f(1)=1f(1)=1. If 1≤n<q1\le n<q, Theorem 2.1 suggests

fk,0,q(kn)=⌊k−1kkn⌋+fk,0,q(0)=kn−1(k−1).f_{k,0,q}(k^{n})=\left\lfloor\frac{k-1}{k}k^{n}\right\rfloor+f_{k,0,q}(0)=k^{n-1}(k-1).

We can then prove that, for 0≤n<q0 \le n < q:

fk,0,q(kn)=⌊kq−1(kn−1)(k−1)kq−1⌋+1.f_{k,0,q}(k^n)=\left\lfloor\frac{k^{q-1}(k^n-1)(k-1)}{k^q-1}\right\rfloor+1.

Lastly, the inductive step from nn to n+qn+q can be done as follows

⌊kq−1(kn−1)(k−1)kq−1⌋+1=⌊kq−1(kn−q−1)(k−1)kq−1⌋+1+(k−1)kn−1.\left\lfloor\frac{k^{q-1}(k^n-1)(k-1)}{k^q-1}\right\rfloor+1=\left\lfloor\frac{k^{q-1}(k^{n-q}-1)(k-1)}{k^q-1}\right\rfloor+1+(k-1)k^{n-1}.

This completes the proof. □

There is an alternative to determine fk,0,q(n)f_{k,0,q}(n). Partition [n][n] into geometric progressions of the form {t,kt,k2t,…,kjt}\{t,kt,k^2t,\ldots,k^jt\}, where tt is not divisible by kk and 1≤t≤n1 \le t \le n. Each such subset’s cardinality is ⌊log⁡k(n/t)⌋+1\lfloor\log_k(n/t)\rfloor+1. Within each subset, if its cardinality is MM, then at most ⌈M/q⌉\lceil M/q\rceil elements can belong to the same maximal (k,0,q)(k,0,q)-linear-free subset of [n][n]. Therefore,

fk,0,q(n)=∑1≤t≤nk∤t⌈⌊log⁡k(n/t)⌋+1q⌉.f_{k,0,q}(n)=\sum_{\substack{1\le t\le n\\k\nmid t}}\left\lceil\frac{\lfloor\log_k(n/t)\rfloor+1}{q}\right\rceil.

Replacing nn with kn−1k^{n-1}, we obtain a result in The American Mathematical Monthly [7]:

Let kk, qq and nn be positive integers with k≥2k \ge2, and let PP be the set of all positive integers less than knk^n that are not divisible by kk. Prove

∑p∈P⌈⌊n−log⁡kp⌋q⌉=⌊kq−1(kn−1−1)(k−1)kq−1⌋+1.\sum_{p\in P}\left\lceil\frac{\lfloor n-\log_k p\rfloor}{q}\right\rceil=\left\lfloor\frac{k^{q-1}(k^{n-1}-1)(k-1)}{k^q-1}\right\rfloor+1.

Next, inspired by theorem 2 in [6], we investigate the possible cardinalities of maximal (k,b,q)(k,b,q)-linear-free subsets. The following lemma is crucial to the proof of Theorem 2.6.

Lemma 2.5 A set SS is said to be qq-distanced if for all x,y∈Sx,y \in S, x≠yx \ne y, then ∣x−y∣≥q|x-y| \ge q. Let the set Hq(n)H_q(n) include every subset SS of [n][n] such that: SS is qq-distanced but S∪{t}S \cup\{t\}, ∀t∈[n]\S\forall t \in[n]\backslash S is not. Then, there exists a set A∈Hq(n)A \in H_q(n) whose cardinality is xx if and only if ⌈nq⌉≥x≥⌈n2q−1⌉\left\lceil\frac{n}{q}\right\rceil\ge x \ge\left\lceil\frac{n}{2q-1}\right\rceil.

Proof. Let aa be an integer in [0,n][0,n]. From aa numbers from 1 to aa, pick all the numbers which are congruent to 1 modulo qq to be elements of SS (initially, SS is empty). For the other n−an-a numbers, pick all the numbers which are congruent to a+qa+q modulo 2q−12q-1 to be in SS. Then S∈Hq(n)S\in H_q(n) and its cardinality is ⌊aq⌋+⌊n−a2q−1⌋\left\lfloor\frac{a}{q}\right\rfloor+\left\lfloor\frac{n-a}{2q-1}\right\rfloor. It suffices to prove that there exists an integer a∈[0,n]a\in[0,n] such that ⌊aq⌋+⌊n−a2q−1⌋=x\left\lfloor\frac{a}{q}\right\rfloor+\left\lfloor\frac{n-a}{2q-1}\right\rfloor=x if and only if ⌊nq⌋≥x≥⌈n2q−1⌉\left\lfloor\frac{n}{q}\right\rfloor\ge x\ge\left\lceil\frac{n}{2q-1}\right\rceil.

Indeed, consider aa to be of the form (2q−1)k(2q-1)k, where kk is a non-negative integer. Let the function s:[0,⌊n2q−1⌋]⟶Ns:\left[0,\left\lfloor\frac{n}{2q-1}\right\rfloor\right]\longrightarrow\mathbb{N} be

s(k)=⌊(2q−1)kq⌋+⌊n−(2q−1)k2q−1⌋=k+⌊−kq⌋+⌊n2q−1⌋.s(k)=\left\lfloor\frac{(2q-1)k}{q}\right\rfloor+\left\lfloor\frac{n-(2q-1)k}{2q-1}\right\rfloor=k+\left\lfloor\frac{-k}{q}\right\rfloor+\left\lfloor\frac{n}{2q-1}\right\rfloor.

Then

s(k+1)−s(k)=(1+⌊−k−1q⌋−⌊−kq⌋)∈{0,1}.s(k+1)-s(k)=\left(1+\left\lfloor\frac{-k-1}{q}\right\rfloor-\left\lfloor\frac{-k}{q}\right\rfloor\right)\in\{0,1\}.

Hence, ss is a non-decreasing function and each of its jump is exactly 1 unit. Furthermore, s(0)=⌊n2q−1⌋s(0)=\left\lfloor\frac{n}{2q-1}\right\rfloor, ⌊nq⌋+⌊n−n2q−1⌋=⌊nq⌋\left\lfloor\frac{n}{q}\right\rfloor+\left\lfloor\frac{n-n}{2q-1}\right\rfloor=\left\lfloor\frac{n}{q}\right\rfloor and

s(⌊n2q−1⌋)=⌊n2q−1⌋+⌊−⌊n2q−1⌋q⌋+⌊n2q−1⌋.s\left(\left\lfloor\frac{n}{2q-1}\right\rfloor\right)=\left\lfloor\frac{n}{2q-1}\right\rfloor+\left\lfloor\frac{-\left\lfloor\frac{n}{2q-1}\right\rfloor}{q}\right\rfloor+\left\lfloor\frac{n}{2q-1}\right\rfloor.

Hence,

s(⌊n2q−1⌋)≥n2q−1−1−n(2q−1)q+n2q−1=nq−1s\left(\left\lfloor\frac{n}{2q-1}\right\rfloor\right)\ge\frac{n}{2q-1}-1-\frac{n}{(2q-1)q}+\frac{n}{2q-1}=\frac{n}{q}-1
⟹s(⌊n2q−1⌋)≥⌊nq⌋−1.\Longrightarrow s\left(\left\lfloor\frac{n}{2q-1}\right\rfloor\right)\ge\left\lfloor\frac{n}{q}\right\rfloor-1.

This shows that ⌊aq⌋+⌊n−a2q−1⌋\left\lfloor\frac{a}{q}\right\rfloor+\left\lfloor\frac{n-a}{2q-1}\right\rfloor can take any integral values between ⌊nq⌋\left\lfloor\frac{n}{q}\right\rfloor and ⌈n2q−1⌉\left\lceil\frac{n}{2q-1}\right\rceil, inclusively, completing the proof. ■

This leads to

Theorem 2.6 For any integer xx in [gk,b,q(n),fk,b,q(n)][g_{k,b,q}(n),f_{k,b,q}(n)], there is at least one maximal (k,b,q)(k,b,q)-linear-free subset of [n][n] containing exactly xx elements.

Proof. Equipped with Lemma 2.5, one can proceed by making obvious modifications to the proof in [6]. □

Lastly, we determine values of nn for which the lower bound and upper bound of the cardinalities of (k,b,q)(k,b,q)-linear-free subsets of [n][n] are, in fact, identical.

Theorem 2.7 gk,b,q(n)=fk,b,q(n)g_{k,b,q}(n)=f_{k,b,q}(n) if and only if n<pq(1)n<p^{q}(1).

Proof. One can show that

fk,b,q(n+1)={fk,b,q(n)if q∤h(n+1),fk,b,q(n)+1if q∣h(n+1).f_{k,b,q}(n+1)= \begin{cases} f_{k,b,q}(n) & \text{if } q\nmid h(n+1),\\ f_{k,b,q}(n)+1 & \text{if } q\mid h(n+1). \end{cases}

Similarly,

gk,b,q(n+1)={gk,b,q(n)if 2q−1∤h(n+1),gk,b,q(n)+1if 2q−1∣h(n+1).g_{k,b,q}(n+1)= \begin{cases} g_{k,b,q}(n) & \text{if } 2q-1\nmid h(n+1),\\ g_{k,b,q}(n)+1 & \text{if } 2q-1\mid h(n+1). \end{cases}

Hence, when n<pq(1)n<p^{q}(1), for any x∈[n]x\in[n], q∣h(x)q\mid h(x) if and only if h(x)=0h(x)=0, and so (2q−1)∣h(x)(2q-1)\mid h(x). This implies that fk,b,q(n)=gk,b,q(n)f_{k,b,q}(n)=g_{k,b,q}(n) due to the recurrence relations. On the other hand, when n≥pq(1)n\geq p^{q}(1), the rate of growth of fk,b,q(n)f_{k,b,q}(n) is evidently faster than that of gk,b,q(n)g_{k,b,q}(n), and thus, they cannot be equal. □

Further Research

For future research, it will be interesting to investigate the problem in a multi-dimensional space. For instance, one can start from the following generalisation for the double-free subsets:

Let mm and n1,n2,…,nmn_1,n_2,\ldots,n_m be positive integers. Define T={(x1,x2,…,xm):1≤xi≤ni,∀i=1,m}T=\{(x_1,x_2,\ldots,x_m):1\leq x_i\leq n_i,\forall i=1,m\}. Let g(n1,…,nm)g(n_1,\ldots,n_m) be the maximum number of lattice points one can choose from TT such that if (x1,…,xm)(x_1,\ldots,x_m) is chosen, then (2x1,…,2xm)(2x_1,\ldots,2x_m) is not. Determine g(n1,…,nm)g(n_1,\ldots,n_m).

It can be proven that

g(n1,…,nm)=∏i=1mni−∏i=1m⌊ni2⌋+g(⌊n14⌋,…,⌊nm4⌋).g(n_1,\ldots,n_m)=\prod_{i=1}^{m}n_i-\prod_{i=1}^{m}\left\lfloor\frac{n_i}{2}\right\rfloor+g\left(\left\lfloor\frac{n_1}{4}\right\rfloor,\ldots,\left\lfloor\frac{n_m}{4}\right\rfloor\right).

Hence,

g(n1,…,nm)=∑i≥0(−1)i∏j=1m⌊nj2i⌋.g(n_1,\ldots,n_m)=\sum_{i\geq0}(-1)^i\prod_{j=1}^{m}\left\lfloor\frac{n_j}{2^i}\right\rfloor.

It is unclear whether Lemma 2.5 can be extended in this case, even to the Cartesian plane, which is critical to generalise Theorem 2.6.

References

  1. [1]Bolįan Liu and Zhou Bo, A generalization of maximal k-multiple-free sets of integers. Ars Combinatoria 52(1999), 285-288.
  2. [2]D. Wakeham and D.R. Wood, On multiplicative Sidon sets. Integers: Annual Volume 2013, (Ed. Bruce Landman). Berlin, Boston: De Gruyter, 2014, 392-401. https://doi.org/10.1515/9783110298161.392
  3. [3]Edward T. H. Wang, On double-free sets of integers. Ars Combinatoria, 28(1989), 97-100.
  4. [4]F. Chung, P. Erdős, and R. Graham, On Sparse Sets Hitting Linear Forms. In Number Theory for the Millennium, vol. 1, Proc. 2000 Urbana Conf. (Ed. M. A. Bennett, B. C. Berndt, N. Boston, H. G. Diamond, A. J. Hildebrand, and W. Philipp). A K Peters, Natick, MA, 2002, 257-272.
  5. [5]J. Y-T Leung and W-D Wei, Maximal k-multiple-free sets of integers. Ars Combinatoria, 38(1994), 113-117.
  6. [6]Lihua You, Gexin Yu, Bolian Liu, On maximal (k,b)-linear-free sets of integers and its spectrum. Australasian Journal of Combinatorics, 23(2001), 211-215.
  7. [7]Nguyen Quang Minh, Problems 12252. The American Mathematical Monthly, 128:5(2021), 467.
  8. [8]R. Graham, J. Spencer, and H. Witsenhausen, On Extremal Density Theorems for Linear Forms. In Number Theory and Algebra (Ed. H. Zassenhaus). Academic Press, New York, 1977, 103-109.

Paper details

vlnc:W_8qst2pbk
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents