Title:Erdős Problem 123
1 result recorded on aiXiv
- solves For pairwise coprime integers , every sufficiently large integer is a sum of distinct numbers of the form (), none dividing another; that is, is d-complete (claimed). — aiXiv:2609.00232, 2026-07 · 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 be three integers which are pairwise coprime. Is every large integer the sum of distinct integers of the form (), none of which divide any other?
Equivalently: is the set d-complete?
Note: For this not to reduce to the two-integer case, we need the integers to be greater than one and distinct.
The prize of $250 is offered by Erdős in [Er97] and [Er97e] for a 'proof or disproof'.
The main problem was resolved in the affirmative by GPT 5.6 (prompted by Snyder).
This was formalized in Lean by Alexeev.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.01045 [math.NT] · NS.01045v1 for this version |
| Declaration: | Erdos123.erdos_123 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | c038ed9ffca1f7e4e876509ff9ed06445a719950dfad9d5d78a2e13a79ebbf64 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/123.lean |
Formal statement
theorem erdos_123 : ∀ a > 1, ∀ b > 1, ∀ c > 1, PairwiseCoprime a b c →
IsDComplete (↑(powers a) * ↑(powers b) * ↑(powers c))Show the full Challenge.lean (126 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 123
*References:*
- [erdosproblems.com/123](https://www.erdosproblems.com/123)
- [ChYu23b] Chen, Yong-Gao and Yu, Wang-Xing, On {$d$}-complete sequences of integers, {II}. Acta
Arith. (2023), 161--181.
- [Er92b] Erdős, Paul, Some of my favourite problems in various branches of combinatorics.
Matematiche (Catania) (1992), 231-240.
- [Er97] Erdős, Paul, Problems in number theory. New Zealand J. Math. (1997), 155-160.
- [Er97e] Erdős, Paul, Some of my favourite unsolved problems. Math. Japon. (1997), 527-537.
- [ErLe96] Erdős, P. and Lewin, Mordechai, $d$-complete sequences of integers. Math. Comp. (1996),
837-840.
- [MaCh16] Ma, Mi-Mi and Chen, Yong-Gao, On {$d$}-complete sequences of integers. J. Number Theory
(2016), 1--12.
-/
@[expose] public section
open Filter
open Submonoid
open scoped Pointwise
namespace Erdos123
/--
A sequence is said to be $d$-complete if every large integer is the sum of distinct integers from the
sequence, none of which divide any other. This particular case of $d$-completeness was conjectured by
Erdős and Lewin [ErLe96], who (among other related results) prove this when $a=3$, $b=5$, and $c=7$.
-/
def IsDComplete (A : Set ℕ) : Prop :=
∀ᶠ n in atTop, ∃ s : Finset ℕ,
-- The summands come from A
(s : Set ℕ) ⊆ A ∧
-- No summand divides another
IsAntichain (· ∣ ·) (s : Set ℕ) ∧
-- They sum to n
s.sum id = n
/--
Characterizes a "snug" finite set of natural numbers:
all elements are within a multiplicative factor $(1 + ε)$ of the minimum.
Specifically, for a finite set $A$ and $ε > 0$, all $a ∈ A$ satisfy $a < (1 + ε) · min(A)$.
-/
def IsSnug (ε : ℝ) (A : Finset ℕ) : Prop :=
∃ hA : A.Nonempty, ∀ a ∈ A, a < (1 + ε) * A.min' hA
/--
Predicate for pairwise coprimality of three integers.
Requires all three input values to be pairwise coprime to each other.
-/
def PairwiseCoprime (a b c : ℕ) : Prop := Pairwise (Nat.Coprime.onFun ![a, b, c])
set_option linter.style.formal_proof_palomar false in
/--
Let $a, b, c$ be three integers which are pairwise coprime. Is every large integer
the sum of distinct integers of the form $a^k b^l c^m$ ($k, l, m ≥ 0$), none of which
divide any other?
Equivalently: is the set $\{a^k b^l c^m : k, l, m \geq 0\}$ d-complete?
Note: For this not to reduce to the two-integer case, we need the integers
to be greater than one and distinct.
The prize of \$250 is offered by Erdős in [Er97] and [Er97e] for a 'proof or disproof'.
The main problem was resolved in the affirmative by GPT 5.6 (prompted by Snyder).
This was formalized in Lean by Alexeev.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/a28a04b6b8ce43d5260a7466677c1f23833bfc38/src/latest/ErdosProblems/Erdos123.lean"]
theorem erdos_123 : ∀ a > 1, ∀ b > 1, ∀ c > 1, PairwiseCoprime a b c →
IsDComplete (↑(powers a) * ↑(powers b) * ↑(powers c)) := by sorry
/--
Erdős and Lewin [ErLe96] proved this conjecture when $a = 3$, $b = 5$, and $c = 7$.
-/
@[category research solved, AMS 11]
theorem erdos_123.variants.erdos_lewin_3_5_7 :
IsDComplete (↑(powers 3) * ↑(powers 5) * ↑(powers 7)) := by sorry
/--
A simpler case: the set of numbers of the form $2^k 3^l$ ($k, l ≥ 0$) is d-complete.
This was initially conjectured by Erdős in 1992, who called it a "nice and difficult"
problem, but it was quickly proven by Jansen and others using a simple inductive argument:
- If $n = 2m$ is even, apply the inductive hypothesis to $m$ and double all summands.
- If $n$ is odd, let $3^k$ be the largest power of $3$ with $3^k ≤ n$, and apply the
inductive hypothesis to $n - 3^k$ (which is even).
-/
@[category research solved, AMS 11]
theorem erdos_123.variants.powers_2_3 : IsDComplete (↑(powers 2) * ↑(powers 3)) := by sorry
/--
In [Er92b] Erdős makes the stronger conjecture (for $a=2$, $b=3$, and $c=5$) that, for any
$\epsilon>0$, all large integers $n$ can be written as the sum of distinct integers
$b_1<\cdots <b_t$ of the form $2^k3^l5^m$ where $b_t<(1+\epsilon)b_1$.
-/
@[category research open, question, AMS 11]
theorem erdos_123.variants.powers_2_3_5_snug :
∀ ε > 0, ∀ᶠ n in atTop,
∃ A : Finset ℕ, (A : Set ℕ) ⊆ ↑(powers 2) * ↑(powers 3) * ↑(powers 5) ∧ IsSnug ε A ∧
∑ x ∈ A, x = n := by sorry
end Erdos123
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos123.erdos_123 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_123 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-123 nosorry submit erdos-123 nosorry/erdos-123/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-123-variants-erdos-lewin-3-5-7 — known result
- erdos-123-variants-powers-2-3 — known result
- erdos-123-variants-powers-2-3-5-snug — open
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.