Title:Erdős Problem 424: Sequence generated by
2 results recorded on aiXiv
- solves Let be the smallest set of positive integers containing 2 and 3 and closed under for distinct . Then has positive lower density: there is with for all sufficiently large . — aiXiv:2609.00560, 2026-08-08 · claimed by its authors; no independent check recorded on aiXiv
- solves Start from , and repeatedly append every value with . The authors claim that the resulting set of integers has positive lower density. — aiXiv:2609.00190, 2026-07-20 · claimed by its authors; no independent check recorded on aiXiv
From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.
Statement:Let and and continue the sequence by appending to all possible values of with . Is it true that the set of integers which eventually appear has positive density?
As explained on erdosproblems.com/424, "positive density" here means positive lower density: is there such that for all large at least of the integers in appear? See
erdos_424.variants.exact_densityfor the literal reading.The answer is yes: Korsky [Ko26] (with ChatGPT 5.6 Pro) proved that the set has positive lower density. The linked formal proof (Alexeev and Codex) shows that there is
c > 0withc * x ≤ #{n ∈ [1, x] | n ∈ generatedSet}for all largex, which givesc / 2 ≤ generatedSet.lowerDensity.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.02107 [math.NT] · NS.02107v1 for this version |
| Declaration: | Erdos424.erdos_424 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | c50ef1a3bf6bf1299e253f64bdc98bc8012b53a71a9de33ce19d777e3790027f |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/424.lean |
Formal statement
theorem erdos_424 : 0 < generatedSet.lowerDensityShow the full Challenge.lean (87 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 424: Sequence generated by $a_i a_j - 1$
*References:*
- [erdosproblems.com/424](https://www.erdosproblems.com/424)
- [A5244](https://oeis.org/A5244)
- [Ben Green's Open Problem 63](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#section.8 Problem 63)
- [Ko26] Korsky, S., *A problem of Erdős on the sequence $a_ia_j - 1$*,
[arXiv:2608.07910](https://arxiv.org/abs/2608.07910)
-/
@[expose] public section
namespace Erdos424
open Set
/--
Defines the set of new numbers generated from a set A by the operation
$x y - 1$ for $x \neq y$.
-/
def nextGeneration (A : Set ℕ) : Set ℕ :=
{ z : ℕ | ∃ x y, x ∈ A ∧ y ∈ A ∧ x ≠ y ∧ z = x * y - 1 }
/--
The sequence of sets $A_n$ where $A_0 = \{2, 3\}$ and $A_{n+1}$ is $A_n$ union all newly
generated elements.
-/
def sequenceSet : ℕ → Set ℕ
| 0 => {2, 3}
| n + 1 => (sequenceSet n) ∪ (nextGeneration (sequenceSet n))
/-- The set of integers which eventually appear in the sequence, which is the union of all $A_n$. -/
def generatedSet : Set ℕ := ⋃ n : ℕ, sequenceSet n
set_option linter.style.formal_proof_palomar false in
/--
Let $a_1 = 2$ and $a_2 = 3$ and continue the sequence by appending to $a_1, \ldots, a_n$ all possible
values of $a_i a_j - 1$ with $i \neq j$.
Is it true that the set of integers which eventually appear has positive density?
As explained on [erdosproblems.com/424](https://www.erdosproblems.com/424), "positive density"
here means positive *lower* density: is there $c > 0$ such that for all large $x$ at least
$cx$ of the integers in $[1, x]$ appear? See `erdos_424.variants.exact_density` for the
literal reading.
The answer is yes: Korsky [Ko26] (with ChatGPT 5.6 Pro) proved that the set has positive lower
density. The linked formal proof (Alexeev and Codex) shows that there is `c > 0` with
`c * x ≤ #{n ∈ [1, x] | n ∈ generatedSet}` for all large `x`, which gives
`c / 2 ≤ generatedSet.lowerDensity`.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos424.lean#L6409"]
theorem erdos_424 : 0 < generatedSet.lowerDensity := by
sorry
/--
A literal interpretation of "positive density": the natural density of `generatedSet` exists
(i.e. the lower and upper density agree) and is positive.
-/
@[category research open, question, AMS 11]
theorem erdos_424.variants.exact_density : generatedSet.HasPosDensity := by
sorry
-- TODO(firsching): formalize the statements from the additional material
end Erdos424
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos424.erdos_424 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_424 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-424 nosorry submit erdos-424 nosorry/erdos-424/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.