Title:Erdős Problem 124
2 results recorded on aiXiv
- Lean formalization A Lean formalization of the affirmative answer for : if , then every sufficiently large integer is a sum of at most one element from each . — aiXiv:2609.02580, 2025-11-29 · claimed by its authors; no independent check recorded on aiXiv
- partial Let be integers with . Then every sufficiently large integer is a sum with and , where is the set of sums of distinct powers of . This settles the first question of the problem affirmatively, with a Lean formalization. The version with remains open. — aiXiv:2609.02580, 2025-11-29 · 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 integers such that Can all sufficiently large integers be written as a sum of the shape where and has only the digits when written in base ?
Conjectured by Erdős [Er97], solved by Boris Alexeev using Aristotle.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.01049 [math.NT] · NS.01049v1 for this version |
| Declaration: | Erdos124.erdos124.zero |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 08391b66c3e42d50d10795aa04beb241ececca9e5eff40fdfecf4125fb563a26 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/124.lean |
Formal statement
lemma erdos124.zero :
∀ D : Finset ℕ, (∀ d ∈ D, 3 ≤ d) → 1 ≤ ∑ d ∈ D, (d - 1 : ℚ)⁻¹ →
∀ᶠ n in atTop, n ∈ ∑ d ∈ D, sumsOfDistinctPowers d 0Show the full Challenge.lean (116 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 124
*References:*
- [erdosproblems.com/124](https://www.erdosproblems.com/124)
- [BEGL96] Burr, S. A. and Erdős, P. and Graham, R. L. and Li, W. Wen-Ching, Complete sequences of sets of integer powers. Acta Arith. (1996), 133-138.
-/
@[expose] public section
open Filter
open scoped Pointwise
namespace Erdos124
/-- The set of integers which are the sum of distinct powers `d ^ i` with `i ≥ k`. -/
def sumsOfDistinctPowers (d k : ℕ) : Set ℕ :=
{x | ∃ s : Finset ℕ, (∀ i ∈ s, k ≤ i) ∧ ∑ i ∈ s, d ^ i = x}
/--
Let $3 \le d_1 < d_2 < \dots < d_r$ be integers such that
$$\sum_{1 \le i \le r}\frac 1{d_i - 1} \ge 1.$$
Can all sufficiently large integers be written as a sum of the shape $\sum_i c_ia_i$
where $c_i \in \{0, 1\}$ and $a_i$ has only the digits $0, 1$ when written in base $d_i$?
Conjectured by Erdős [Er97], solved by Boris Alexeev using Aristotle.
-/
@[category research solved, question, AMS 11]
lemma erdos124.zero :
∀ D : Finset ℕ, (∀ d ∈ D, 3 ≤ d) → 1 ≤ ∑ d ∈ D, (d - 1 : ℚ)⁻¹ →
∀ᶠ n in atTop, n ∈ ∑ d ∈ D, sumsOfDistinctPowers d 0 := sorry
/--
Let $k \ne 0$ and $3\leq d_1 < d_2 < \cdots < d_r$ be integers of gcd equal to $1$ such that
$$\sum_{1 \le i \le r}\frac 1{d_i - 1} \ge 1.$$
Can all sufficiently large integers be written as a sum of the shape $\sum_i c_ia_i$
where $c_i \in \{0, 1\}$ and $a_i$ is divisible by $d_i ^ k$ and has only the digits $0, 1$ when
written in base $d_i$?
Conjectured by Burr, Erdős, Graham, and Li [BEGL96]
-/
@[category research open, question, AMS 11]
lemma erdos124.ne_zero :
∀ k ≠ 0, ∀ D : Finset ℕ, (∀ d ∈ D, 3 ≤ d) → 1 ≤ ∑ d ∈ D, (d - 1 : ℚ)⁻¹ → D.gcd id = 1 →
∀ᶠ n in atTop, n ∈ ∑ d ∈ D, sumsOfDistinctPowers d k := by
sorry
/--
All sufficiently large integers can be written as $a + b + c$, where $a$, $b$, and $c$ are
divisible by $3$, $4$, and $7$ respectively, and after division by that base have only the
digits $0, 1$ in that base.
Proved by Burr, Erdős, Graham, and Li [BEGL96]
-/
@[category research solved, AMS 11]
lemma erdos124.ne_zero_three_four_seven :
∀ᶠ n in atTop,
n ∈ sumsOfDistinctPowers 3 1 + sumsOfDistinctPowers 4 1 + sumsOfDistinctPowers 7 1 :=
sorry
set_option linter.style.formal_proof_palomar false in
/--
Let $3\leq d_1 < d_2 < \cdots < d_r$ be integers such that all sufficiently large integers can be
written as a sum of the shape $\sum_i c_ia_i$ where $c_i \in \{0, 1\}$ and $a_i$ has only the digits
$0, 1$ when written in base $d_i$. Then
$$\sum_{1 \le i \le r}\frac 1{d_i - 1} \ge 1.$$
Reported by Burr, Erdős, Graham, and Li [BEGL96] as an observation of Pomerance
-/
@[category research solved, AMS 11,
formal_proof using lean4 at "https://github.com/arex1337/formal-conjectures-proofs/blob/3b7d581c75fd00e482deabfb20675cf3ccfaf49f/Erdos124/Converse.lean"]
lemma erdos124.converse {D : Finset ℕ} (hD₃ : ∀ d ∈ D, 3 ≤ d)
(h : ∀ᶠ n in atTop, n ∈ ∑ d ∈ D, sumsOfDistinctPowers d 0) : 1 ≤ ∑ d ∈ D, (d - 1 : ℚ)⁻¹ :=
sorry
/--
For any $\varepsilon > 0$, there exists an infinite sequence $2 \le d_0 < d_1 < \dots$ such
that the series $\sum_{i=0}^{\infty} \frac{1}{d_i - 1}$ converges to a value at most
$\varepsilon$, and yet for every $k \ne 0$ all sufficiently large integers can be written as
$\sum_{i \in I} a_i$ for some finite set $I$, where each $a_i$ is divisible by $d_i^k$ and has
only the digits $0, 1$ when written in base $d_i$.
The restriction $k \ne 0$ excludes the degenerate representation of $n$ as a sum of $n$ copies
of $1 = d_i^0$ taken from $n$ distinct bases.
Proved by Melfi [Me04, Proposition 1]
-/
@[category research solved, AMS 11]
lemma erdos124.melfi_construction {ε : ℝ} (hε : 0 < ε) :
∃ d : ℕ → ℕ, StrictMono d ∧ 2 ≤ d 0 ∧
Summable (fun i ↦ (d i - 1 : ℝ)⁻¹) ∧ ∑' i, (d i - 1 : ℝ)⁻¹ ≤ ε ∧ ∀ k ≠ 0, ∀ᶠ n in atTop,
∃ (I : Finset ℕ) (a : ℕ → ℕ), (∀ i ∈ I, a i ∈ sumsOfDistinctPowers (d i) k) ∧
∑ i ∈ I, a i = n := by
sorry
end Erdos124
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos124.erdos124.zero with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_zero : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-124 nosorry submit erdos-124 nosorry/erdos-124/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos124-ne-zero — open
- erdos124-ne-zero-three-four-seven — known result
- erdos124-converse — known result
- erdos124-melfi-construction — known result
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.