Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 124

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:on aiXiv: partial progress — Not resolved on aiXiv. Latest progress: partial in aiXiv:2609.02580 (2025-11-29). · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
2 results recorded on aiXiv
  1. Lean formalization A Lean formalization of the affirmative answer for P(di,0)P(d_i,0): if ∑1/(di−1)≥1\sum 1/(d_i-1)\ge1, then every sufficiently large integer is a sum of at most one element from each P(di,0)P(d_i,0). — aiXiv:2609.02580, 2025-11-29 · claimed by its authors; no independent check recorded on aiXiv
  2. partial Let 3≤d1<⋯<dr3\le d_1<\dots<d_r be integers with ∑i1/(di−1)≥1\sum_i 1/(d_i-1)\ge1. Then every sufficiently large integer is a sum ∑iciai\sum_i c_ia_i with ci∈{0,1}c_i\in\{0,1\} and ai∈P(di,0)a_i\in P(d_i,0), where P(d,0)P(d,0) is the set of sums of distinct powers of dd. This settles the first question of the problem affirmatively, with a Lean formalization. The P(di,k)P(d_i,k) version with gcd⁡=1\gcd=1 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 3≤d1<d2<⋯<dr3 \le d_1 < d_2 < \dots < d_r be integers such that ∑1≤i≤r1di−1≥1.\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 ∑iciai\sum_i c_ia_i where ci∈{0,1}c_i \in \{0, 1\} and aia_i has only the digits 0,10, 1 when written in base did_i?

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 0
Show 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.

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.