Popular differences and generalized Sidon sets
Max Wenqiang Xu

TL;DR
This paper investigates the minimal maximum difference representation in subsets of integers, providing asymptotic formulas and connecting the problem to generalized Sidon sets, advancing understanding of additive combinatorics.
Contribution
It offers explicit asymptotic expressions for the minimal maximum difference representation and links this problem to generalized Sidon sets, extending prior combinatorial results.
Findings
Derived asymptotic formulas with explicit constants for the problem
Connected the problem to the theory of generalized Sidon sets
Provided bounds and explicit asymptotics for a large range of D
Abstract
For a subset , we define the representation function and define for . We study the smallest possible value of as ranges over all possible subsets of with a given size. We give explicit asymptotic expressions with constant coefficients determined for a large range of . We shall also see how this problem connects to a well-known problem about generalized Sidon sets.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
popular differences and generalized Sidon sets
Max Wenqiang Xu
Department of Mathematics, University College London, Gower Street, London, WC1E 6BT, United Kingdom
Abstract.
For a subset , we define the representation function and define for . We study the smallest possible value of as ranges over all possible subsets of with a given size. We give explicit asymptotic expressions with constant coefficients determined for a large range of . We shall also see how this problem connects to a well-known problem about generalized Sidon sets.
M.W.Xu is supported by a London Mathematics Society Undergraduate Research Bursary and the Mathematical Institute at University of Oxford.
1. Introduction
For a positive integer , denote by the discrete interval . For a subset , we study the difference set
[TABLE]
We introduce the representation function , defined by
[TABLE]
The representation function has been investigated a lot in the literature. See, for example, [2], [3]. In this paper, we are interested in the maximum size of , as ranges over all positive integers smaller than for different thresholds . More precisely, let
[TABLE]
and be the smallest possible value of , as ranges over all subsets with , i.e.,
[TABLE]
Theorem 1.1**.**
Let be positive integers and let . Write for some , then we have the following:
- (1)
If , then . 2. (2)
If for some positive number , and is sufficiently large in terms of , then . 3. (3)
If , and as , then .
Here . They are all regarded as functions of .
Remark 1.2*.*
When , the above conclusions can be easily checked. So we focus on from now on.
A more precise statement of Theorem 1.1 is Theorem 2.1.
We ask the following question related to (2) of Theorem 1.1.
Question:
Suppose that there is a set such that
[TABLE]
i.e., it takes the extremal value. Then, what can you say about the structure of ?
This is a vague inverse problem and one purpose is to investigate if the construction we give later in the Proposition 2.3 is essentially unique or not. We believe the set we constructed is unique up to some permutations.
1.1. Connections with Sidon sets
We shall see that there are some connections between problems about Sidon sets and the problem we are investigating in the case .
Definition 1.1**.**
(Sidon sets and -Sidon sets) A set of natural numbers is called a Sidon set if the equation has only the trivial solution , where are elements of the set . A set is called -Sidon set if for any integer we have:
[TABLE]
Cilleruelo, Ruzsa and Vinuesa (2010) [1] proved the following result.
Theorem 1.3**.**
Define where and is a -Sidon set. Then,
[TABLE]
Moreover,
[TABLE]
We can translate our result in Theorem 1.1 into their language.
Corollary 1.4**.**
Define where , for all non-zero . Then,
[TABLE]
Moreover,
[TABLE]
1.2. Plan for the paper
We first prove Theorem 1.1 in Section by constructing an explicit example. Theorem 1.1 is proved in Section by using the principle of inclusion and exclusion to prove a lower bound for and constructing an explicit example to attain the upper bound. To prove the lower bound in Theorem 1.1 in Section , we use a deterministic method by first proving results in the case of cyclic groups and then applying the results to the case of integers.
Acknowledgement
The author would like to express his sincere gratitude to Andrew Granville and Fernando Xuancheng Shao, for carefully reading early drafts of the paper and providing many useful comments, and also to Oleksiy Klurman who inspired the author to study this problem. Thanks to the anonymous referee for many helpful comments.
2. Proof of Theorem 1.1 and : the case is small
We first prove Theorem 1.1 : when .
Proof of Theorem 2.1 .
We prove this fact by constructing a set with and . Let and is chosen to satisfy .
[TABLE]
The density of is,
[TABLE]
Since , also holds. Since all non-zero positive differences here are at least , we get . This gives us . ∎
Now we prove the following theorem, which gives the result for the case when is relatively small.
Theorem 2.1**.**
Suppose that are positive integers and Let satisfy the following relations.
- (1)
, for some positive such that . 2. (2)
**
Then
[TABLE]
Notice that this is just a more accurate statement of Theorem 1.1 .
2.1. Lower bound for
In this section we are going to use the basic technique, the principle of inclusion and exclusion, to find the lower bound.
Proposition 2.2**.**
For any and any , we have
[TABLE]
Proof.
Let be any subset with . We need to show that
[TABLE]
For any , define the translate to be the set
[TABLE]
By the principle of inclusion and exclusion, we estimate the size of the union of as ranges over as following:
[TABLE]
Since for , the left hand side above is at most . On the other hand, the first sum on the right hand side is . Thus we obtain
[TABLE]
There are a total of summands, and thus for some we have
[TABLE]
The conclusion follows by noting that is precisely , and . ∎
2.2. Upper bound for
Proposition 2.3**.**
Let and be parameters satisfying
[TABLE]
and
[TABLE]
Then
[TABLE]
Remark 2.4*.*
For example, if then these assumptions hold when for any absolute constant such that and is much larger than .
Proof.
We construct one subset with particular structure such that it has density at least and attains the upper bound in (2.4).
We define a set as following:
[TABLE]
so that . Let and let so that
[TABLE]
By the lower bound on , we have
[TABLE]
Thus we may define by
[TABLE]
and then take . Hence
[TABLE]
where the last inequality follows by our choice of .
We only need to show that holds for any to complete our proof. For any , if for some , then we must have since any two distinct elements must have difference at least if at least one of them is in . Writing and with and , we first observe that the possible values of can only be [math] or .
If , then by triangle inequality we have
[TABLE]
If , by considering the structure of we have if , then
[TABLE]
So one must have and if . As for , if , then one must have and . So . As for , we showed that and must satisfy which gives . And the number of possible choices for in is not larger than in this case. So for all . In conclusion, the result holds for all . ∎
At the end of this subsection, we give an explanation for why the principle of inclusion and exclusion works. Since for any , where , there exists , such that are all in , i.e., they lie in an interval with length . But this is impossible in our constructed example, where any interval with length has at most elements instead of .
There is no point in the intersection of the sets, so it is even impossible for or more sets. Hence the values of all the moments with order greater than two must be zero.
2.3. Conclusion for with
In this part, we combine the two propositions before to prove Theorem 2.1.
Proof of Theorem 2.1.
The lower bound in Proposition 2.2 and the upper bound in Proposition 2.3 together give us the result in Theorem 2.1. We only need to check that the assumptions (2.2) and (2.3) are satisfied.
Since there exists such that , the assumption in Theorem 2.1 holds by the fact that
[TABLE]
Now we check that assumption (2.3) holds. Notice that
[TABLE]
From assumption in Theorem 2.1, we know (2.3) holds. ∎
Remark 2.5*.*
From the whole pattern, we shall see that is a crucial case in the problem. We state this result separately here, which has been covered in Theorem 2.1. To make the form nicer, we state the result in a special case that is an integer.
[TABLE]
This result can also compare to [4, Lemma 2.3]. We state their result here.
Lemma 2.6**.**
Suppose and . Here is an integer interval. Then there exists a positive integer , such that and
[TABLE]
In Theorem 1.1, there is one interesting phenomenon when is relatively small. Precisely, if then we have , e.g., the case in remark 2.5.
3. Proof of the lower bound in Theorem 1.1
In this section, we use Fourier analytic tools to prove Theorem 3.1 which gives the lower bound of for a wide range of . The argument is similar to the proof of [3, Theorem 1.1].
Theorem 3.1**.**
Let , then
[TABLE]
In particular, if , we have
[TABLE]
Proof.
Let be any subset of with density at least . We regard as a subset of in the natural way. To fix our notation, we define the convolution of where are two functions on the abelian group .
[TABLE]
And we use our traditional notation to get that
[TABLE]
where .
We use to denote the quantity the same as in the case of integers before. It is not true that for general , in modular version. However, for any with , in the modular version we still have
[TABLE]
Let be the characteristic function of the set . Then we estimate the following quantity.
[TABLE]
We first notice that each summand is zero when . Combining this and what we discussed above, we have
[TABLE]
The right hand side can be further upper bounded by
[TABLE]
On the other hand, we use Plancherel’s identity to get
[TABLE]
The above two inequalities give us the bound for for any subset with . For any such that can make , we must have . By substituting this into our expression, we get the lower bound. Notice that if , the lower bound in (3.1) has main term . This main term is a decreasing function of . Therefore, under the assumption that , it is better to use the lower bound in (3.1) with and it gives (3.2). Since function is an increasing function of , with the assumption that , (3.2) holds no matter holds or not. ∎
4. Proof of the upper bound in Theorem 1.1
In this section we study the upper bound of with given density and . We consider the case , i.e., we can regard it as restriction free on the range of differences of any two distinct elements in .
Let simplify the notation we defined before in the case .
Theorem 4.1**.**
Let . If as , then
[TABLE]
In the above condition, we need to prove the result for for any positive smaller than one. Aiming for a simple expression and without loss of generality, we will only prove the case for the upper bound.
The upper bound here can be proved by the deterministic method. It also can be proved by the probabilistic method, however, a shortcoming of probabilistic method here is we can not always avoid the non-essential needed restriction on the range of density that it be much larger than ; at least the author does not know how to avoid this. So in this paper, we use the deterministic approach to prove asymptotic formulas for the function with loose restriction on . Before we prove the upper bound in the case of integers, we first prove the following theorem which gives us the results in cyclic groups and would imply the results in .
Theorem 4.2**.**
Let for some positive integer and prime number . Let be a cyclic group and . We define
[TABLE]
If , then
[TABLE]
On the other side, there is a similar result proved in generalized Sidon sets. See [1, Theorem 1.6]. We state it by using our notation.
Theorem 4.3**.**
Let be a cyclic group and . We define
[TABLE]
Then as tends to infinity,
[TABLE]
Here
[TABLE]
Similarly, we have the following in the case of difference sets.
[TABLE]
Proof of (4.1).
The lower bound of can be regarded as a corollary of Theorem 3.1. We prove it by a simple counting argument here. We still use to denote the maximum value of for all possible non-zero in the cyclic group context. There are number of pairs but of them satisfy . So we have the following
[TABLE]
By noting the fact that , and letting tend to infinity, we have the following when is sufficiently large.
[TABLE]
This gives the lower bound of . Combining this with Theorem 4.2, we complete the proof. ∎
To prove Theorem 4.2, we first do the construction in where is a prime and then move on to with a special type of . The argument here is similar to [1, Section 3, 4]. Finally, the results in the cyclic group will give us the results in that we are aiming for.
4.1. Construction in
We prove that there is a set such that has a relatively small upper bound and is reasonably large in .
Proposition 4.4**.**
Given a positive integer , for any odd prime number and any , there is a set with such that .
In the context , we do our construction by pasting several disjoint sets together. The main techniques will be used are properties of quadratic equations.
First we define the set which plays an important role in this section. For , define
[TABLE]
For any , we use the following notation to denote the representation function. For , define
[TABLE]
This is exactly the number of solutions to the equations
[TABLE]
In the next lemma we study the possible values of , where .
Lemma 4.5**.**
Suppose is defined as above, is an odd prime and .
- (1)
If , then . 2. (2)
If and , then for all .
The symbol we use in is Legendre symbol.
Proof.
-
In the case , it is clear that if then there is no solution since we required that . Otherwise we have which leads to a unique solution with the fact that .
-
In the case that and , we have and . It means that we are studying proper quadratic equations in this case. Substituting into , we have the quadratic equation
[TABLE]
and the discriminant is
[TABLE]
The number of solutions can be written as
[TABLE]
This can be simplified as
[TABLE]
To calculate the sum of and , we need to calculate the corresponding sum . Notice that the product of these two is
[TABLE]
In the last step we used the fact that and . Now there are two possibilities. If , then both and equal to zero. If , then the product of and equals to . These two cases give us the same result
[TABLE]
which means that . ∎
In the next lemma, the main technique we use is Weil’s Theorem.
Lemma 4.6**.**
Suppose , , and is an odd prime number. Let define the sum
[TABLE]
Then we have the following upper bound for the sum of
[TABLE]
To estimate the sum, we first use the Cauchy inequality to rewrite the sum which roughly gives us a function with power in the numerator of Legendre symbol, and then apply the Weil’s Theorem.
Proof.
First we use Cauchy inequality to get the following estimation.
[TABLE]
The right hand side above can be written as
[TABLE]
Let . We estimate the quantity above by using Weil’s Theorem.
- If is a constant multiple of a square, then we bound the value \Big{(}\frac{f(n)}{p}\Big{)} trivially by . The number of quadruples that can make a constant multiple of a square is bounded by . The reasons are the following. First notice that if the restriction on the quadruple is , then we have two possible cases, either and , or and . These two cases both give choices but there is an overlap that all of them are equal, i.e., we need to subtract choices. In total, we have the following bound
[TABLE]
- If is not a constant multiple of a square, we can use Weil’s Theorem. For each quadruple , we have the following,
[TABLE]
The total number of quadruples under the restriction is bounded by . We also use this bound as our bound for the number of quadruples which make satisfy Weil’s Theorem. Then we have the following
[TABLE]
Combining case and case , we have
[TABLE]
∎
Now we will use the above two lemmas to prove Proposition 4.4.
Proof of Proposition 4.4.
First we point out how the set looks. Let be the same as what we defined in (4.2), and be defined as follows:
[TABLE]
The crucial point is to find a suitable which makes be the set we are searching for.
First notice that the size of is independent of . And the size of is since and only intersect at point for any . Next we study the representation function . From the definition of , we can have a trivial upper bound. For any non-zero, we have
[TABLE]
To study the right hand side above, we first parametrize the variables above. Write , , then . Let , we have the following,
[TABLE]
Fixing the value of , we have pairs of , i.e., pairs of . Now we are going to use Lemma 4.5.
- If , from the first part of the lemma, we have the bound
[TABLE]
- If , we consider the value of \Big{(}\frac{uv}{p}\Big{)} for each pair, . Let \alpha(l):=\#\{(u,v):u-v=l,\Big{(}\frac{uv}{p}\Big{)}=1\}, \beta(l):=\#\{(u,v):u-v=l,\Big{(}\frac{uv}{p}\Big{)}=-1\}. Then we have the following fact
[TABLE]
Our strategy is to match pairs into pairs according to their values under Legendre symbol. Precisely, if two pairs have different signs, we can match them and then use the second part in Lemma 4.5 to estimate the sum. Since the values of and are not necessarily equal, for the rest of the pairs which have not been matched with other pairs, we trivially bound their function values by . Hence, we have
[TABLE]
The above actually gives us the result , i.e., , which can be further written as
[TABLE]
Summing the above expression over where and considering the obvious bound that we have showed for in case , we have the following
[TABLE]
Notice that the second part on the right hand side above is exactly what we defined in Lemma 4.6, i.e., the upper bound now is
[TABLE]
Since , we have the following upper bound for ,
[TABLE]
We define to be the smallest integer index among such that
[TABLE]
Then we can see that is uniquely defined. By using Lemma 4.6, we have
[TABLE]
This bound is smaller than
[TABLE]
Write , where , then the above expression is a decreasing function with respect to . So we can further get a bound
[TABLE]
By substituting (4.4) into (4.3), we get the upper bound
[TABLE]
Hence, we have found a set with elements and is upper bounded by . The set can be represented as following
[TABLE]
∎
4.2. Construction in with
We construct a large set in a certain cyclic group. The strategy is to project the set constructed in onto .
Lemma 4.7**.**
Suppose that is a subset of with size , such that is upper bounded by . Then there exists a subset in with size such that is upper bounded by .
Proof.
Notice that any element in has two coordinates and we choose the natural way to write them as integers in . Now we use set to define set as following
[TABLE]
From the definition, we have . We show that is bounded by . In other words, we need to study the representation function for non-zero . Given , then are fixed. Write as the difference of two elements in ,
[TABLE]
From the above we can get
[TABLE]
There are two possible values of the difference . Either or . For convenience, we write where . This also tells us that is fixed once are given.
Now we substitute this expression into (4.5). We can derive that
[TABLE]
Again, we have the following from (4.6)
[TABLE]
Thus we have or . We write this as:
[TABLE]
We substitute this into (4.6) and we get
[TABLE]
Now we have the expression of the element in ,
[TABLE]
We also have the following form
[TABLE]
We have that is upper bounded by . Once we have fixed , the number of choices for is no more than , and is also determined.
So now we only need to consider the number of choices for once are fixed. We come back to Equation (4.8) and discuss the possible cases in terms of the values of .
-
If , we have , which leads to at most possibilities.
-
If , we have , which leads to at most possibilities.
In total, the above will give us at most possibilities. ∎
4.3. Conclusion for cyclic group
First we combine Proposition 4.4 and Lemma 4.7 to get the following.
Proposition 4.8**.**
For any positive integers , and any positive odd prime integer , there is a set with size such that is upper bounded by .
Now we can prove Theorem 4.2.
Proof of Theorem 4.2.
The lower bound is proved in the proof of (4.1). Now we prove the upper bound. For any positive , choose to be the integer such that . Since tends to infinity,
[TABLE]
From Proposition 4.8, we know there exists a subset with size such that the representation function is upper bounded by . First we consider the density of ,
[TABLE]
Then we consider the expression of the upper bound for ,
[TABLE]
The expression is valid since we let and tend to infinity and Equation (4.9) holds. So the above has showed that for a special type of integers, , is upper bounded by . This completes the proof.
∎
Now, we can easily prove Theorem 4.1
Proof of Theorem 4.1.
For any in the form for some suitable prime and integer , let set be the set in Theorem 4.2. We can also view it as a subset of in the natural way. To distinguish, we use to denote the representation function in . Then a natural inequality is
[TABLE]
For not in the form , we choose to be a prime number in the interval for some integer . This is valid once is sufficiently large. Also, we require that tends to infinity. This is valid by our assumption that tends to infinity as tends to infinity. Choose and notice that , then both and tend to infinity as tends to infinity. We have from the choice of . From the conclusion for in Theorem 4.2, we know for any , there exists a set such that and . Regarding as a subset of in the natural way, we have and . Write , then the result can be restated as
[TABLE]
The right hand side can be written as once we let tend to infinity. The above fact gives us the upper bound in Theorem 4.1. Hence, we complete the proof.
∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. Cilleruelo, I. Ruzsa, and C. Vinuesa. Generalized Sidon sets. Adv. Math. , 225(5):2786–2807, 2010.
- 2[2] P. Erdös and P. Turán. On a problem of Sidon in additive number theory, and on some related problems. J. London Math. Soc. , 16:212–215, 1941.
- 3[3] B. Green. The number of squares and B h [ g ] subscript 𝐵 ℎ delimited-[] 𝑔 B_{h}[g] sets. Acta Arith. , 100(4):365–390, 2001.
- 4[4] Oleksiy Klurman and Marc Munsch. Distribution of factorials modulo p 𝑝 p . J. Théor. Nombres Bordeaux , 29(1):169–177, 2017.
