betaFeedback

WorksMathematics

On the diameter and distribution of Sidon sets

Abstract

A Sidon set is a set A\mathcal{A} of integers with the property that if 0≠a−b=c−d0\neq a-b=c-d and a,b,c,d∈Aa,b,c,d\in\mathcal{A}, then (a,b)=(c,d)(a,b)=(c,d). Our main result is an improved and explicit bound on the diameter of a Sidon set: if A\mathcal{A} is a Sidon set with k≥1k\ge 1 elements, then diam⁡(A)≥k2(11+0.945/k−0.945k)−1;\operatorname{diam}(\mathcal{A}) \ge k^2 \left(\frac{1}{1 + 0.945/\sqrt{k}}-\frac{0.945}{\sqrt k}\right) -1; in particular, diam⁡(A)≥k2−1.89k3/2\operatorname{diam}(\mathcal{A})\ge k^2-1.89 k^{3/2}. This implies that if A⊆[1,N]\mathcal{A}\subseteq[1,N] is a Sidon set, then ∣A∣≤N1/2+0.945 N1/4+0.447|\mathcal{A}| \le N^{1/2}+0.945 \, N^{1/4}+0.447. Our technique also gives an improved bound for the case of large kk, namely diam⁡(A)≥k2−1.88607k3/2\operatorname{diam}(\mathcal{A}) \ge k^2-1.88607 k^{3/2} for k≥483k\ge 483. A γγ-Golomb ruler is a set A\mathcal{A} of integers with the property that there are not γ+1γ+1 distinct pairs (ai,bi)∈A2(a_i,b_i)\in\mathcal{A}^2 with 0≠a1−b1=⋯=aγ+1−bγ+10\neq a_1-b_1=\cdots=a_{γ+1}-b_{γ+1}. Our diameter bounds extend in a natural way to the case of Golomb rulers. Our techniques can also be adapted to address a number of questions on the distribution of Golomb rulers: we provide upper bounds on the two quantities ∣aℓ−a1−ℓ−1k−1(ak−a1)∣\left|a_\ell-a_1 -\frac{\ell-1}{k-1}(a_k-a_1)\right| and max⁡1≤i<k(ai+1−ai)\max_{1\le i<k} (a_{i+1}-a_i), where A={a1<⋯<ak}\mathcal{A}=\{a_1<\dots<a_k\} is a γγ-Golomb ruler with diam⁡(A)≤(k2−bk3/2)/γ\operatorname{diam}(\mathcal{A})\le (k^2-bk^{3/2})/γ (where b∈Rb\in \mathbb{R} is a free parameter).

Introduction

Sidon sets

A Sidon set is a set A\mathcal{A} of integers with the property that if a,b,c,d∈Aa,b,c,d\in\mathcal{A} and a+b=c+da+b=c+d, then {a,b}={c,d}\{a,b\}=\{c,d\}. An equivalent condition is that if a,b,c,d∈Aa,b,c,d\in\mathcal{A} and a−b=c−da-b=c-d, then either a−b=c−d=0a-b=c-d=0 or (a,b)=(c,d)(a,b)=(c,d). Sidon sets (also known as Golomb rulers, 1-Golomb rulers, B2B_2-sets, and Babcock sets) have a vast literature: the annotated bibliography [23] has almost 200 works, and a new version will appear shortly with over 400.

The fundamental problem is to bound the diameter in terms of the cardinality of finite Sidon sets. Our headline result is the following explicit bound:

Corollary 1.1 (The minimum diameter of a Sidon set). If A\mathcal{A} is a Sidon set with k≥2k\geq2 elements, then

diam⁡(A)≥k2(11+0.945/k−0.945k)−1≥k2−1.89k3/2.\operatorname{diam}(\mathcal{A})\geq k^2\left(\frac{1}{1+0.945/\sqrt{k}}-\frac{0.945}{\sqrt{k}}\right)-1\geq k^2-1.89k^{3/2}.

If A⊆[1,N]\mathcal{A}\subseteq[1,N] is a Sidon set, then

∣A∣≤N1/2+0.945N1/4+0.447.|\mathcal{A}|\leq N^{1/2}+0.945N^{1/4}+0.447.

In the case where kk is sufficiently large, we improve our numbers slightly:

Corollary 1.2. If A⊆[1,N]\mathcal{A}\subseteq[1,N] is a Sidon set with k≥483k\geq483 elements, then diam⁡(A)≥k2−1.88607k3/2\operatorname{diam}(\mathcal{A})\geq k^2-1.88607k^{3/2} and k≤N1/2+0.94304N1/4+0.44466k\leq N^{1/2}+0.94304N^{1/4}+0.44466.

The previous asymptotically best lower bound on the diameter was the non-explicit

diam⁡(A)≥k2−1.98183 k3/2−O(k)\operatorname{diam}(\mathcal{A}) \ge k^2 - 1.98183\,k^{3/2} - O(k)

found in [7]. While this paper was in preparation, Hou and Zhao [19] announced an improvement to

∣A∣≤N1/2+0.9435 N1/4+O(1).|\mathcal{A}| \le N^{1/2} + 0.9435\,N^{1/4} + O(1).

Define bkb_k to be the largest number such that there is a Sidon set A\mathcal{A} with kk elements and diam⁡(A)=k2−bkk3/2\operatorname{diam}(\mathcal{A}) = k^2 - b_k k^{3/2}, and let

b∞‾=lim sup⁡k→∞bk.\overline{b_\infty} = \limsup_{k \to\infty} b_k.

An inequality in the work of Erdős and Turán [15] in 1941 establishes that bk≤2b_k \le2 for all k≥1k \ge1, and Singer [28] proved in 1938 that b∞‾≥0\overline{b_\infty} \ge0. The aforementioned asymptotic results imply b∞‾≤1.98183\overline{b_\infty} \le1.98183 and b∞‾≤1.887\overline{b_\infty} \le1.887, respectively, and our work improves this slightly to b∞‾≤1.88607\overline{b_\infty} \le1.88607, while also providing explicit bounds on bkb_k for finite kk.

The value of bkb_k has been computed exactly for 1≤k≤281 \le k \le28, with b28=199567≈1.343b_{28} = \frac{199}{56\sqrt{7}} \approx1.343 alone taking tens of thousands of machines more than 8 years to complete [11]. Figure 1 shows the exact values, the upper bounds proved in this work, and the lower bounds computed by Shearer [26].

Known bounds on $b_k$ for $k \le 100$

Figure 1. The known bounds on bkb_k for k≤100k \le100. Restricting to k≤100k \le100 may give a false impression: the lower bound depends on the distribution of prime powers, and it is possible that lim inf⁡kbk=−∞\liminf_{k} b_k = -\infty and lim sup⁡kbk=0\limsup_{k} b_k = 0.

We note that Shearer’s technique (recently extended to k≤40 200k \le40\,200 by Dogon and Rokicki [12]) happened to find the actual bkb_k value for 17≤k≤2817 \le k \le28, suggesting that the lower bounds for k≥29k \ge29 may be the truth. Eberhard and Manners [13] give a plausible argument that the lower bound is the truth. On the other hand, Shearer’s search relies on having a prime power near kk, and as prime powers become scarcer perhaps other as-yet-unknown opportunities for dense Sidon sets arise.

In addition to providing explicit bounds, our approach is also flexible enough to address a number of variations, as we discuss in the rest of the introduction. In particular, it naturally handles the generalization from Sidon sets to γ\gamma-Golomb rulers. Also, we are able to give quantitative results on the distribution of nearly densest-possible γ\gamma-Golomb rulers (including Sidon sets), as well an explicit upper bound on the largest gap between elements that can occur in a dense Golomb ruler.

γ\gamma-Golomb rulers

Definition 1.3 (γ\gamma-Golomb ruler). For γ≥1\gamma\ge1, a γ\gamma-Golomb ruler is a set A\mathcal{A} of integers with the property that for each nonzero nn, the equation n=a−bn = a - b has at most γ\gamma solutions (a,b)∈A×A(a,b) \in\mathcal{A} \times\mathcal{A}.

Trivially, 1-Golomb rulers are Sidon sets. The interval {1,2,…,k}\{1,2,\ldots,k\} is a minimum-diameter γ\gamma-Golomb ruler if k≤γ+1k \le\gamma+ 1. Some work, e.g. [7, 5], refer to γ\gamma-Golomb rulers as γ\gamma-thin Sidon sets.

Despite the naturalness of the definition, analysis of the γ>1\gamma> 1 case has been relatively sparse. Atkinson and Hassenklover [4] introduced γ\gamma-Golomb rulers in 1984, with more computational work presented in 1986 [3]. Interest was dormant until the 2015 work [6] of Caicedo–Martos–Trujillo, who proved

diam⁡(G)≥1γk2+o(k2)\operatorname{diam}(\mathcal{G}) \ge\frac{1}{\gamma}k^2 + o(k^2)

for a γ\gamma-Golomb ruler G\mathcal{G} (we give essentially the same result and proof, but in our language, as Theorem 2.6 below). They also proved that there are γ\gamma-Golomb rulers G\mathcal{G} with kk arbitrarily large and

diam⁡(G)=1γk2+O(1).\operatorname{diam}(\mathcal{G}) = \frac{1}{\gamma}k^2 + O(1).

More constructions of dense rulers were given in [24] in 2021 and by Gupta–O’Bryant in [18] in 2026. Balogh–Füredi–Roy [5] note that their technique gives diam⁡(A)≥1γ(k2−(2−ϵ)k3/2)+O(1)\operatorname{diam}(A) \ge\frac{1}{\gamma}(k^2-(2-\epsilon)k^{3/2})+O(1), for some ϵ=ϵ(γ)>0\epsilon=\epsilon(\gamma)>0 depending on γ\gamma. In [7], the explicit value ϵ(γ)≥150γ2\epsilon(\gamma) \ge\frac{1}{50\gamma^2} is given. In this work, we give ϵ>0.11\epsilon> 0.11, the first value independent of γ\gamma.

Corollary 1.4 (The minimum diameter of a γ\gamma-Golomb ruler). Suppose that k≥max⁡{483,γ+1}k \ge\max\{483,\gamma+1\}, and that AA is a γ\gamma-Golomb ruler with kk elements. Then

diam⁡(A)≥k2γ(11+0.94304(k−γ)k−3/2−0.94304k)−1≥1γ(k2−1.88607k3/2).\operatorname{diam}(A) \ge\frac{k^2}{\gamma}\left(\frac{1}{1+0.94304(k-\gamma)k^{-3/2}}-\frac{0.94304}{\sqrt{k}}\right)-1 \ge\frac{1}{\gamma}\left(k^2-1.88607k^{3/2}\right).

If A⊆[1,N]A \subseteq[1,N], then

k≤γN+0.94304γN4+0.44466.k \le\sqrt{\gamma N}+0.94304\sqrt[4]{\gamma N}+0.44466.

On the distribution of γ\gamma-Golomb rulers

The method that gives Corollary 1.4 can be modified to reveal some distribution information on γ\gamma-Golomb rulers that are within O(k3/2)O(k^{3/2}) of optimal. One should expect that Golomb rulers are uniformly distributed, i.e., if {a1<⋯<ak}\{a_1 < \cdots< a_k\} is a γ\gamma-Golomb ruler with a1=0a_1=0, then one expects that aℓ≈ℓkaka_\ell\approx\frac{\ell}{k}a_k. Erdős and Freud [14] proved that roughly optimal Sidon sets are indeed uniformly distributed in this sense, and S. W. Graham [17] gave a more quantitative, though still not explicit, version. In 2000, Cilleruelo [8] gave the following fully explicit theorem:

Theorem (Cilleruelo). Let A⊆[N]A \subseteq[N] be a Sidon set with N1/2−LN^{1/2}-L elements. Then any interval II of length δN\delta N contains δ∣A∣+EI\delta|A|+E_I elements of AA, with

∣EI∣≤52N1/4(1+δ1/2N1/8)(1+L+1/2N−1/8),L+=max⁡{0,L}.|E_I| \le52N^{1/4}(1+\delta^{1/2}N^{1/8})(1+L_+^{1/2}N^{-1/8}), \qquad L_+ = \max\{0,L\}.

Note that as the Sidon set becomes more sparse, i.e., as LL increases, the control weakens. Also, as the length of the interval shrinks, i.e., as δ\delta shrinks, the control strengthens.

We give a result along these lines in Corollary 1.5. Our result is not fully explicit, in that we have a O(∣A∣3/2)O(|A|^{3/2}) term, but there is no theoretical barrier to making our bound explicit. In that regime, however, our asymptotic constant is much sharper that Cilleruelo’s. Further, we express the property as a bound on

∣aℓ−ℓkak∣\left|a_\ell-\frac{\ell}{k}a_k\right|

(assuming a1=0a_1=0), rather than as bounds on ∣∣A∩I∣−λ(I)diam⁡(A)∣A∣∣\left||A\cap I|-\frac{\lambda(I)}{\operatorname{diam}(A)}|A|\right|, where λ(I)\lambda(I) is the length of the interval II. And finally, our result applies to γ\gamma-Golomb rulers, not only Sidon sets.

References

  1. [1]H. L. Abbott. “Sidon sets”. In: Canadian Mathematical Bulletin 33.4 (Nov. 2018), pp. 335–341. DOI: 10.4153/CMB–1990–056–6.
  2. [2]A. Agrawal, R. Versch ueren, S. Diamond, and S. Boyd. “A rewriting system for convex optimization problems”. In: Journal of Control and Decision 5.1 (2018), pp. 42–60. DOI: 10.1080/23307706.2017.1397554.DOI
  3. [3]M. Atkinson, N. Santoro, and J. Urrutia. “Integer Sets with Distinct Sums and Differences and Carrier Frequency Assignments for Nonlinear Repeaters”. In: IEEE Transactions on Communications 34.6 (July 1986), pp. 614–617. DOI: 10.1109/TCOM.1986.1096587.DOI
  4. [4]M. D. Atkinson and A. Hassenklover. “Sets of integers with distinct differences”. In: Carleton University, Technical Report Series TR-63 (1984). URL: https://carleton.ca/scs/?p=12574.
  5. [5]J. Balogh, Z. Füredi, and S. Roy. “An Upper Bound on the Size of Sidon Sets”. In: American Mathematical Monthly 130.5 (2023), pp. 437–445. DOI: 10.1080/00029890.2023.2176667.DOI
  6. [6]Y. Caicedo, C. A. Martos, and C. A. Trujillo. “g-Golomb rulers”. In: Revista Integración 33.2 (2015), pp. 161–172. DOI: 10.18273/revint.v33n2–2015006.DOI
  7. [7]D. Carter, Z. Hunter, and K. O’Bryant. “On the diameter of finite Sidon sets”. In: Acta Mathematica Hungarica 175.1 (2025), pp. 108–126. DOI: 10.1007/s10474–024–01499–8.arxiv.org/abs/2310.20032
  8. [8]J. Cilleruelo. “Gaps in dense Sidon sets”. In: Integers 0, A11 (2000). DOI: 10.5281/zenodo.7554449. eprint: http://www.integers-ejcnt.org/vol0.html.DOI
  9. [9]J. Cilleruelo. “Sidon sets in N^d”. In: Journal of Combinatorial Theory, Series A 117.7 (2010), pp. 857–871.
  10. [10]S. Diamond and S. Boyd. “CVXPY: A Python-embedded modeling language for convex optimization”. In: Journal of Machine Learning Research 17.83 (2016), pp. 1–5.
  11. [11]Distributed.net contributors. Completion of OGR-28 project. 2022. URL: https://blogs.distributed.net/2022/11/23/03/28/bovine/ (visited on 03/22/2026).
  12. [12]G. Dogon and T. Rokicki. “Larger Golomb Rulers”. In: Gathering4Gardner 12 Exchange Book. Vol. 1. Associated website with data: https://cube20.org/golomb/. 2016, pp. 155–166.
  13. [13]S. Eberhard and F. Manners. “The apparent structure of dense Sidon sets”. In: Electronic Journal of Combinatorics 30.1, P1.33 (2023). DOI: 10.37236/11191.DOI
  14. [14]P. Erdős and R. Freud. “On Sums of a Sidon-Sequence”. In: Journal of Number Theory 38.2 (1991), pp. 196–205. DOI: 10.1016/0022–314X(91)90083–N.DOI
  15. [15]P. Erdős and P. Turán. “On a problem of Sidon in additive number theory, and on some related problems”. In: Journal of the London Mathematical Society 16 (1941), pp. 212–215. DOI: 10.1112/jlms/s1–16.4.212.
  16. [16]P. J. Goulart and Y. Chen. Clarabel: An interior-point solver for conic programs with quadratic objectives. 2024. arXiv: 2405.12762.arxiv.org/abs/2405.12762
  17. [17]S. W. Graham. “B_h sequences”. In: Analytic number theory. Vol. 1. Boston, MA: Birkhäuser Boston, 1996, pp. 431–449. DOI: 10.1007/978–1–4612–4086–0_23.
  18. [18]A. Gupta and K. O’Bryant. Optimal Diameters of High Multiplicity g-Golomb Rulers. 2026. arXiv: 2605.14229.arxiv.org/abs/2605.14229
  19. [19]J. Hou and H. Zhao. An Improved Upper Bound for Finite Sidon Sets via Vector-Valued Smoothing. 2026. arXiv: 2607.01169.arxiv.org/abs/2607.01169
  20. [20]MOSEK ApS. MOSEK Modeling Cookbook. Release 3.4.0. 2025. URL: https://docs.mosek.com/MOSEKModelingCookbook-a4paper.pdf.
  21. [21]M. Nakata. “A numerical evaluation of highly accurate multiple-precision arithmetic version of semidefinite programming solver: SDPPA-GMP, -QD and -DD.” In: 2010 IEEE International Symposium on Computer-Aided Control System Design. 2010, pp. 29–34. DOI: 10.1109/CACSD.2010.5612693.DOI
  22. [22]A. Novikov, N. Vũ, M. Eisenberger, E. Dupont, P.-S. Huang, A. Z. Wagner, S. Shirobokov, B. Kozlovskii, F. J. R. Ruiz, A. Mehrabian, M. P. Kumar, A. See, S. Chaudhuri, G. Holland, A. Davies, S. Nowozin, P. Kohli, and M. Balog. AlphaEvolve: A coding agent for scientific and algorithmic discovery. 2025. arXiv: 2506.13131.arxiv.org/abs/2506.13131
  23. [23]K. O’Bryant. “A Complete Annotated Bibliography of Work Related to Sidon Sequences”. In: Electronic Journal of Combinatorics, DS11 (2004). DOI: https://doi.org/10.37236/32.
  24. [24]C. A. M. Ojeda, D. F. D. Urbano, and C. A. T. Solarte. “Near-Optimal g-Golomb Rulers”. In: IEEE Access 9 (2021), pp. 65482–65489. DOI: 10.1109/ACCESS.2021.3075877.
  25. [25]R. Riblet. “Sidon sets in a union of intervals”. In: Acta Mathematica Hungarica 167.2 (2022), pp. 533–547. DOI: 10.1007/s10474-022-01246-x.
  26. [26]J. B. Shearer. Table of Golomb rulers. Archived at Internet Archive Wayback Machine. URL: https://web.archive.org/web/20070114173336/http://www.research.ibm.com/people/s/shearer/grtab.html (visited on 03/22/2026).
  27. [27]X. Shen, S. Diamond, Y. Gu, and S. Boyd. “Disciplined Convex-Concave Programming”. In: 2016 IEEE 55th Conference on Decision and Control (2016), pp. 1009–1014. DOI: 10.1109/CDC.2016.779840.arxiv.org/abs/1604.02639
  28. [28]J. Singer. “A theorem in finite projective geometry and some applications to number theory”. In: Transactions of the American Mathematical Society 43.3 (1938), pp. 377–385. DOI: 10.2307/1990067.DOI
  29. [29]P. Virtanen, R. Gommers, T. E. Oliphant, M. Haberland, T. Reddy, D. Cournapeau, E. Burovski, P. Peterson, W. Weckesser, J. Bright, S. J. van der Walt, M. Brett, J. Wilson, K. J. Millman, N. Mayorov, A. R. J. Nelson, E. Jones, R. Kern, E. Larson, C. J. Carey, İ. Polat, Y. Feng, E. W. Moore, J. VanderPlas, D. Laxalde, J. Perktold, R. Cimrman, I. Henriksen, E. A. Quintero, C. R. Harris, A. M. Archibald, A. H. Ribeiro, F. Pedregosa, P. van Mulbregt, and SciPy 1.0 Contributors. “SciPy 1.0: fundamental algorithms for scientific computing in Python”. In: Nature Methods 17 (2020), pp. 261–272. DOI: 10.1038/s41592-019-0686-2.DOI
  30. [30]A. Wächter and L. T. Biegler. “On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming”. In: Mathematical Programming 106 (2006), pp. 25–57. DOI: 10.1007/s10107-004-0559-y.DOI
  31. [31]Wikipedia contributors. Golomb ruler. 2006. URL: https://en.wikipedia.org/w/index.php?title=Golomb_ruler&oldid=1338324738 (visited on 03/22/2026).

Paper details

vlnc:W_kep8w8w7
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 5

downloads · 2

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