Is Erdős Problem #340 solved?
Open. erdosproblems.com lists it as open (their entry updated 31 Aug 2025).
The problem
erdosproblems.com/340 ↗Thomas Bloom's erdosproblems.com has the statement, its history and references. In the words of Formal Conjectures:
Let \(A = \{1, 2, 4, 8, 13, 21, 31, 45, 66, 81, 97, \ldots\}\) be the greedy Sidon sequence: we begin with \(1\) and iteratively include the next smallest integer that preserves the Sidon property (i.e. there are no non-trivial solutions to \(a + b = c + d\)). What is the order of growth of \(A\)? Is it true that \(|A \cap \{1, \ldots, N\}| \gg N^{1/2 - \varepsilon}\) for all \(\varepsilon > 0\) and large \(N\)?
In Lean:
theorem erdos_340 (ε : ℝ) (hε : ε > 0) :
(fun n : ℕ ↦ √n / n ^ ε) =O[atTop]
fun n : ℕ ↦ ((Set.range greedySidon ∩ Set.Icc 1 n).ncard : ℝ)Stated in Lean
in the atlas →7 statements (the problem, its parts and variants) from Formal Conjectures. A proof submitted here is built and checked by Lean's kernel on our node.
Erdos340.erdos_340opentheorem erdos_340 (ε : ℝ) (hε : ε > 0) : (fun n : ℕ ↦ √n / n ^ ε) =O[atTop] fun n : ℕ ↦ ((Set.range greedySidon ∩ Set.Icc 1 n).ncard : ℝ)Prove it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F340%23Erdos340.erdos_340Erdos340.erdos_340.variants.isThetaopentheorem erdos_340.variants.isTheta (ε : ℝ) (hε : ε > 0) : (fun n : ℕ ↦ ((Set.range greedySidon ∩ Set.Icc 1 n).ncard : ℝ)) =Θ[atTop] erdos_340.variants.isTheta.answerProve it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F340%23Erdos340.erdos_340.variants.isThetatheorem erdos_340.variants._22_mem_sub : 22 ∈ Set.range greedySidon - Set.range greedySidonErdos340.erdos_340.variants._33_mem_subopentheorem erdos_340.variants._33_mem_sub : 33 ∈ Set.range greedySidon - Set.range greedySidonProve it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F340%23Erdos340.erdos_340.variants._33_mem_subErdos340.erdos_340.variants.cofinite_subopentheorem erdos_340.variants.cofinite_sub : ∀ᶠ n in cofinite, n ∈ Set.range greedySidon - Set.range greedySidonProve it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F340%23Erdos340.erdos_340.variants.cofinite_subErdos340.erdos_340.variants.sub_hasPosDensityopentheorem erdos_340.variants.sub_hasPosDensity : Set.HasPosDensity (Set.range greedySidon - Set.range greedySidon)Prove it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F340%23Erdos340.erdos_340.variants.sub_hasPosDensityErdos340.erdos_340.variants.co_density_zero_subopentheorem erdos_340.variants.co_density_zero_sub : ∃ S : Set ℕ, S.HasDensity 0 ∧ ∀ n ∈ Sᶜ, n ∈ Set.range greedySidon - Set.range greedySidonProve it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F340%23Erdos340.erdos_340.variants.co_density_zero_sub