Erdős Problem 30: Sidon sets in {1,…,N} have size √N + O(N^ε)Open Problem
Motivation
A set of integers is a Sidon set if all of its pairwise sums () are different. Sidon, in connection with Fourier analysis, asked how dense such sets can be, and the question became one of the standard problems of additive combinatorics. Let
A counting argument shows , and the true order was settled early: . What remains open is the size of the error term . Erdős and Turán asked whether it is smaller than every power of ; Erdős offered $1000 for this problem (Erdős Problem #30), and it is also Problem 31 on Green's list of open problems and problem C9 in Guy's Unsolved Problems in Number Theory.
Timeline.
- 1938 — Singer constructs, for every prime power , a set of residues modulo with all differences distinct. Combined with the density of primes this gives (Singer 1938).
- 1941 — Erdős and Turán prove (Erdős–Turán 1941).
- 1969 — Lindström gives an alternative proof with the explicit bound (Lindström 1969).
- 2021 — Balogh, Füredi and Roy lower the constant: for large (arXiv:2103.15850).
- 2022 — O'Bryant: for large (arXiv:2207.07800).
- 2023 — Carter, Hunter and O'Bryant: , with substantial computer assistance (arXiv:2310.20032).
No upper bound with an error exponent below is known, and no lower bound of the form for every is known either.
Setting
A set in an additive commutative monoid is Sidon if for all ,
For a finite set , is the largest size of a Sidon subset of (the empty set is Sidon, so this is well defined), and
The first values are (OEIS A143824).
Formalization targets
Goal (Erdős Problem #30)
This is a two-sided statement: it asks both for an upper bound and for a matching lower bound for large . Erdős asked it as a yes/no question; the goal fixes the conjectured answer yes, so a disproof on the platform settles the question negatively.
Milestones (known results, weakest to strongest)
- Singer's construction: for every prime power .
- Singer's lower bound: for every and all large .
- Erdős–Turán / Lindström: for all .
- Balogh–Füredi–Roy: for all large .
- O'Bryant: for all large .
- Carter–Hunter–O'Bryant: for an absolute constant .
Significance
The result itself. An affirmative answer would pin down to up to a sub-polynomial error, in both directions; Erdős even speculated that might hold, while remarking that this is perhaps too optimistic. A negative answer would show that the Singer-type constructions or the counting upper bounds are off by a power of . Either answer would be the first change in the exponent of the error term since 1941.
Formalizing it. The goal is open. All milestones are published theorems. The platform already contains weaker related results in other formalizations (for example the order-of-magnitude bounds for Sidon subsets of an initial segment, and the Erdős–Turán construction); the sharp bounds listed as milestones are not stated there for this . The upper bounds of Balogh–Füredi–Roy and O'Bryant are elementary but delicate optimizations, and the Carter–Hunter–O'Bryant bound relies on a large computation, so formalizing it is a substantial verification task in its own right.
Difficulty
For the upper bound, every known argument counts differences in short windows and loses at the scale ; improvements since 1941 only change the constant in front of . For the lower bound, the constructions (Singer, Bose, Ruzsa) produce Sidon sets of size about in a modulus of size about , and the loss comes from the gap between and the nearest admissible modulus; bringing it below requires either new constructions or information about primes in very short intervals that is far beyond current knowledge.
Formalization scope
Sidon sets are formalized for sets in an arbitrary additive commutative monoid, with the definition, the decidability instance and transcribed from the formal-conjectures library (definitions IsSidon, Finset.maxSidonSubsetCard, and Erdos30.h in FormalConjectures/ErdosProblems/30.lean), placed in the namespace Erdos30. The value is a natural number cast to ; is the real square root and , are real powers of . The goal's is Mathlib's Asymptotics.IsBigO along atTop on . The goal is not trivialized by any junk value: is a genuine finite maximum, and the statement concerns all large .
Useful infrastructure: basic lemmas on Sidon sets (hereditary under subsets, translation invariance, distinct differences), finite projective geometry or Bose's construction for the lower bounds, and prime gaps (Bertrand's postulate suffices for with ; a prime number theorem in short intervals is needed for ). Contributions of reusable Sidon-set lemmas are welcome.
Selected references
- J. Singer, A theorem in finite projective geometry and some applications to number theory, Trans. Amer. Math. Soc. 43 (1938), 377–385. https://doi.org/10.1090/S0002-9947-1938-1501951-4
- 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 (1941), 212–215. https://doi.org/10.1112/jlms/s1-16.4.212
- B. Lindström, An inequality for -sequences, J. Combin. Theory 6 (1969), 211–212. https://doi.org/10.1016/S0021-9800(69)80124-9
- J. Balogh, Z. Füredi and S. Roy, An upper bound on the size of Sidon sets, Amer. Math. Monthly (2023). https://arxiv.org/abs/2103.15850
- K. O'Bryant, On the size of finite Sidon sets (2022). https://arxiv.org/abs/2207.07800
- D. Carter, Z. Hunter and K. O'Bryant, On the diameter of finite Sidon sets (2023). https://arxiv.org/abs/2310.20032
- K. O'Bryant, A complete annotated bibliography of work related to Sidon sequences, Electron. J. Combin. DS11 (2004). https://arxiv.org/abs/math/0407117
- T. F. Bloom, Erdős Problem #30, https://www.erdosproblems.com/30
- Google DeepMind, formal-conjectures,
FormalConjectures/ErdosProblems/30.lean. https://github.com/google-deepmind/formal-conjectures