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

Nguyen Quang Minh1
1University of Cambridge, Trinity College, Cambridge CB2 1TQ, England

Abstract

Fix integers k,b,q with k2, b0, q2. Define the function p to be: p(x)=kx+b. We call a set S of integers \emph{(k,b,q)-linear-free} if xS implies pi(x)S for all i=1,2,,q1, where pi(x)=p(pi1(x)) and p0(x)=x. Such a set S is maximal in [n]:={1,2,,n} if S{t},t[n]S is not (k,b,q)-linear-free. Let Mk,b,q(n) be the set of all maximal (k,b,q)-linear-free subsets of [n], and define gk,b,q(n)=minSMk,b,q(n)|S| and fk,b,q(n)=maxSMk,b,q(n)|S|. In this paper, formulae for gk,b,q(n) and fk,b,q(n) are proposed. Also, it is proven that there is at least one maximal (k,b,q)-linear-free subset of [n] with exactly x elements for any integer x between gk,b,q(n) and fk,b,q(n), inclusively.

Keywords: Integer, Maximal

1. Introduction

A set of integers S is said to be k-multiple-free if xky for all x,yS. Let gk(n)=max{|A|:A[n]:={1,2,,n} is k-multiple-free}. E.T.H Wang [1], when working on double-free sets, showed that g2(n)=n2+g2(n4), with g2(0)=0, and an asymptotic formula for g2(n) is given by g2(n)=23n+O(logn). In a similar vein, Leung and Wei [2] proved that for every integer r>1, gr(n)=rr+1n+O(logn).

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

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

This paper extends the aforementioned results by combining those two concepts. Henceforth, k,b, and q will denote integers with k2,b0, and q2. Define the function p to be: p(x)=kx+b. A set S of integers is said to be (k,b,q)-linear-free if xS implies pi(x)S,i=1,2,,q1, where pi(x)=p(pi1(x)) and p0(x)=x. Such a set S is maximal in [n] if S{t} is not (k,b,q)-linear-free for any t[n]S. Let Mk,b,q(n) be the set of all maximal (k,b,q)-linear-free subsets of [n], and define gk,b,q(n)=minSMk,b,q(n)|S| and fk,b,q(n)=maxSMk,b,q(n)|S|. In this paper, formulae for gk,b,q(n) and fk,b,q(n) are derived. Also, it is proven that there is at least one maximal (k,b,q)-linear-free subset of [n] of cardinality x for any integer x between gk,b,q(n) and fk,b,q(n), inclusively.

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

There is yet another classical way to look at the topic. For a fixed r×s integer matrix A, let us call a subset SA(n)[n] A-missing if for every vector x=(x1x2xs) with xiSA for all i, the column vector Ax has none of its entries being equal to 0. With this definition, take A=(k1) and B=(210301), then A-missing subsets and B-missing subsets are, respectively, k-multiple-free subsets and strongly triple-free subsets. Naturally, we can further fix a r×1 matrix b and look at the entries of Ax+b. We specify the (q1)×q matrix A and the (q1)×1 matrix b to be A=(k100k2010kq1001)andb=(p1(0)p2(0)pq1(0)). Interpreted in terms of matrices, a (k,b,q)-linear-free subset SA,b(n)[n] is equivalently a subset which satisfies: for every vector x=(x1x2xq) with xiSA,b for all i, the column vector Ax+b has none of its entries being equal to 0. For instance, the case of (k,b)-linear-free subsets corresponds to A=(k1) and b=(b), and none of the vectors x=(x1x2) with x1,x2SA,b is a solution to the equation Ax+b=0.

2. Main Results

To simplify expressions, we denote ki=(ki1)/(k1).

Theorem 1. The recurrence relation for fk,b,q(n) is given by fk,b,q(n)=n(k1)+bk+fk,b,q(nbkqkq),n>b with fk,b,q(n)=0,n<0 and fk,b,q(n)=n,n[0,b]. Similarly, gk,b,q(n)=n(k1)+bk+gk,b,q(nbk2q1k2q1),n>b with gk,b,q(n)=0,n<0 and gk,b,q(n)=n,n[0,b].

Proof. Assume that F is a maximal (k,b,q)-linear-free subset of [n] with fk,b,q(n) elements. Fix k and q, and partition [n] into X={1,2,3,,nbkqkq}and Y={nbkqkq+1,nbkqkq+2,,n}. We will prove that, from the set Y,F cannot have more than n(k1)+bk elements. Indeed, for each i=nbk+1,nbk+2,,n, let h(i) be the greatest non-negative integer such that ph(i)(i)[n], where pi(x) is the inverse function of pi(x). Define Yi={pt(i),0tmin{h(i),q1}}. The union of Yi, i=nbk+1,nbk+2,,n (there are nnbk=n(k1)+bk such sets) covers Y. This is because, for every cY, there exists j[1,q] satisfying nbkjkj+1cnbkj1kj1. As nbk+1pj1(c)n, this guarantees cYpj1(c).

Because F cannot include more than one element in each Yi, and can have at most fk,b,q(nbkqkq) elements in X, so fk,b,q(n)n(k1)+bk+fk,b,q(nbkqkq). On the other hand, let A1 be a maximal (k,b,q)-linear-free subset of X and A2={nbk+1,nbk+2,,n}. Then A=A1A2 is a maximal (k,b,q)-linear-free subset of [n], hence fk,b,q(n)n(k1)+bk+fk,b,q(nbkqkq). The upper and lower bounds complete the proof for the first part of Theorem 1.

The second recurrence relation regarding gk,b,q(n) can be proven in the same fashion. ◻

Based on the proof of Theorem 1, a straightforward algorithm to construct a maximal (k,b,q)-linear-free subset F of [n] with fk,b,q(n) elements is proposed: first, check the largest number in [n], which is n. As pi(n)F,i=1,2,,q1, we add n to F (initially, F is empty). Next, assume that we have checked until x>1. We then proceed to check x1. If pi(x1)F,i=1,2,,q1, then x1 is added to F. Otherwise, we proceed to check x2. This algorithm terminates after number 1 is checked.

The next theorem provides formulae to determine fk,b,q(n) and gk,b,q(n).

Theorem 2. For every positive integer n,nb1: fk,b,q(n)=fk,b,q(nbkq(m+1)kq(m+1))+i=0mk1knbkqikqi+bk, where m=logk((n(k1)+b)/bk)q. Similarly, gk,b,q(n)=gk,b,q(nbk(2q1)(m+1)k(2q1)(m+1))+i=0mk1knbk(2q1)ik(2q1)i+bk, where m=logk((n(k1)+b)/bk)2q1.

It should be remarked that, by Theorem 1, fk,b,q(nbkq(m+1)kq(m+1)) is either 0 or nbkq(m+1)kq(m+1), depending on whether nbkq(m+1)kq(m+1) is negative or not, and gk,b,q(nbk(2q1)(m+1)k(2q1)(m+1)) is determined correspondingly.

Proof. For fk,b,q(n), this is obtained by repeatedly applying Theorem 1 until nbkqikqib, i.e., ilogk((n(k1)+b)/bk)q. Also, notice that nbkqikqibkqkq=nbkq(i+1)kq(i+1). The same argument can be applied to deduce the formula for gk,b,q(n)◻

In Theorem 2, when q=2, formulae for fk,b(n) and gk,b(n) are obtained, which are, however, different from those of You, Yu, and Liu [5]. Particularly, You, Yu, and Liu suggested that fk,b(n)=i=1n(1)|Ni|i+12andgk,b(n)=i=1n(1)|Ni|i+13, where n(1)=logkn+b/(k1)1+b/(k1) and |Ni|={nbkiki2nbki+1ki+1+nbki+2ki+2for i<n(1),nbkikifor i=n(1). These are essentially different from Theorem 2 as the two have different strategies: our approach utilises recurrence relations while You, Yu, and Liu partition [n] from the beginning. Furthermore, it seems that their approach can be suitably modified to accommodate for the more general cases when q3.

These somewhat complicated formulae are illustrated in the following example:

Example 1. To determine f2,1,3(2021) and g2,1,3(2021), Theorem 2 gives: f2,1,3(2021)=f2,1,3(20218484184)+i=031220218i8i18i+12=1155 and g2,1,3(2021)=g2,1,3(20213223221322)+i=0112202132i32i132i+12=1043.

Corollary 1. fk,0,q(n)=kq1(k1)kq1n+O(logn).

This is based on fk,0,q(n)=i0k1knkqi, which is a direct corollary of Theorem 2. In fact, Corollary 1 can be extended by generalising the method of Wakeham and Wood [7]. Particularly, for positive integers a,b whose greatest common divisor is g and a<b, one has fb/a,0,q(n)=bq1(bg)bqgqn+O(logn).

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

Theorem 3. fk,0,q(kn)=kq1(kn1)(k1)kq1+1.

Proof. We will induct on n. First, let 0n<q. The theorem is true for n=0 as f(1)=1. If 1n<q, Theorem 1 suggests fk,0,q(kn)=k1kkn+fk,0,q(0)=kn1(k1). We can then prove that, for 0n<q: fk,0,q(kn)=kq1(kn1)(k1)kq1+1. Lastly, the inductive step from n to n+q can be done as follows kq1(kn1)(k1)kq1+1=kq1(knq1)(k1)kq1+1+(k1)kn1. This completes the proof. ◻

There is an alternative to determine fk,0,q(n). Partition [n] into geometric progressions of the form {t,kt,k2t,,kjt}, where t is not divisible by k and 1tn. Each such subset’s cardinality is logk(n/t)+1. Within each subset, if its cardinality is M, then at most M/q elements can belong to the same maximal (k,0,q)-linear-free subset of [n]. Therefore, fk,0,q(n)=1tnktlogk(n/t)+1q. Replacing n with kn1, we obtain a result in The American Mathematical Monthly [8]:

Let k,q and n be positive integers with k2, and let P be the set of all positive integers less than kn that are not divisible by k. Prove pPnlogkpq=kq1(kn11)(k1)kq1+1.

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

Lemma 1. A set S is said to be q-distanced if for all x,yS,xy, then |xy|q. Let the set Hq(n) include every subset S of [n] such that: S is q-distanced but S{t},t[n]S is not. Then, there exists a set AHq(n) whose cardinality is x if and only if nqxn2q1.

Proof. Let a be an integer in [0,n]. From a numbers from 1 to a, pick all the numbers which are congruent to 1 modulo q to be elements of S (initially, S is empty). For the other na numbers, pick all the numbers which are congruent to a+q modulo 2q1 to be in S. Then SHq(n) and its cardinality is aq+na2q1. It suffices to prove that there exists an integer a[0,n] such that aq+na2q1=x if and only if nqxn2q1.

Indeed, consider a to be of the form (2q1)k, where k is a non-negative integer. Let the function s:[0,n2q1]N be s(k)=(2q1)kq+n(2q1)k2q1=k+kq+n2q1. Then s(k+1)s(k)=(1+k1qkq){0,1}. Hence, s is a non-decreasing function and each of its jump is exactly 1 unit. Furthermore, s(0)=n2q1,nq+nn2q1=nq and s(n2q1)=n2q1+n2q1q+n2q1. Hence, s(n2q1)n2q11n(2q1)q+n2q1=nq1 s(n2q1)nq1. This shows that aq+na2q1 can take any integral values between nq and n2q1, inclusively, completing the proof. ◻

This leads to

Theorem 4. For any integer x in [gk,b,q(n),fk,b,q(n)], there is at least one maximal (k,b,q)-linear-free subset of [n] containing exactly x elements.

Proof. Equipped with Lemma 1, one can proceed by making obvious modifications to the proof in [5]. ◻

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

Theorem 5. gk,b,q(n)=fk,b,q(n) if and only if n<pq(1).

Proof. One can show that fk,b,q(n+1)={fk,b,q(n)if qh(n+1),fk,b,q(n)+1if qh(n+1). Similarly, gk,b,q(n+1)={gk,b,q(n)if 2q1h(n+1),gk,b,q(n)+1if 2q1h(n+1). Hence, when n<pq(1), for any x[n],qh(x) if and only if h(x)=0, and so (2q1)h(x). This implies that fk,b,q(n)=gk,b,q(n) due to the recurrence relations. On the other hand, when npq(1), the rate of growth of fk,b,q(n) is evidently faster than that of gk,b,q(n), and thus, they cannot be equal. ◻

3. 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 m and n1,n2,,nm be positive integers. Define T={(x1,x2,,xm):1xini,i=1,m¯}. Let g(n1,,nm) be the maximum number of lattice points one can choose from T such that if (x1,,xm) is chosen, then (2x1,,2xm) is not. Determine g(n1,,nm).

It can be proven that g(n1,,nm)=i=1mnii=1mni2+g(n14,,nm4). Hence, g(n1,,nm)=i0(1)ij=1mnj2i.

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

References:

  1. Wang, E.T., 1989. On double-free sets of integers. Ars Combinatoria, 28, pp.97-100.

  2. Leung, J.Y. and Wei, W.D., 1994. Maximal k-multiple-free sets of integers. Ars Combinatoria, 38, pp.113-117.

  3. Chung, F., Erdos, P. and Graham, R., 2002. On sparse sets hitting linear forms. J. Number Theory. to appear, 2.

  4. Spencer, J., Graham, R.L. and Witsenhausen, H.S., 1977. On extremal density theorems for linear forms. In Number Theory and Algebra (pp. 103-107). Academic Press.

  5. You, L., Yu, G. and Liu, B., 2001. On maximal (k, b)-linear-free sets of integers and its spectrum. Australasian Journal of Combinatorics, 23, pp.211-216.

  6. Liu, B.L. and Bo, Z., 1999. A generalization of maximal k-multiple-free sets of integers. Ars Combinatoria, 52, pp.285-288. Wakeham, D. and Wood, D.R., 2013. On multiplicative Sidon sets. Annual Volume 2013, 13, p.392-401.

  7. Minh, N. Q., 2021. Problems 12252. The American Mathematical Monthly, 128(5), p.467.