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 940

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Let r≥3r \ge 3. Is it true that the set of integers which are the sum of at most rr rr-powerful numbers has density 00?

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.03703 [math.NT] · NS.03703v1 for this version
Declaration:Erdos940.erdos_940
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:9dc1c7a0345d0c192d0d1f70c28fd468306f484ade36d033b1ac452dfb79f5cb
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/940.lean

Formal statement

theorem erdos_940 :
    ∀ r ≥ 3,
      {n : ℕ | ∃ (S : Multiset ℕ), S.card ≤ r ∧ (∀ s ∈ S, r.Full s) ∧ n = S.sum}.HasDensity 0
Show the full Challenge.lean (93 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 940

*References:*
- [erdosproblems.com/940](https://www.erdosproblems.com/940)
- [BaBr94] Baker, R. C. and Brüdern, J., _On sums of two squarefull numbers_. Math. Proc.
  Cambridge Philos. Soc. (1994), 1-5.
- [He88] Heath-Brown, D. R., _Ternary quadratic forms and sums of three square-full numbers_.
  (1988), 137-163.
-/

@[expose] public section

open Filter

namespace Erdos940

/--
Let $r \ge 3$. Is it true that the set of integers which are the sum of at most $r$ $r$-powerful numbers
has density $0$?
-/
@[category research open, question, AMS 11]
theorem erdos_940 :
    ∀ r ≥ 3,
      {n : ℕ | ∃ (S : Multiset ℕ), S.card ≤ r ∧ (∀ s ∈ S, r.Full s) ∧ n = S.sum}.HasDensity 0 := by
  sorry

/--
The set of integers which are the sum of at most two $2$-powerful numbers has density $0$.

Erdős called this 'easy'. Baker and Brüdern [BaBr94] gave the first proof in the literature.
-/
@[category research solved, AMS 11]
theorem erdos_940.variants.two :
    {n : ℕ | ∃ (S : Multiset ℕ),
      S.card ≤ 2 ∧ (∀ s ∈ S, (2).Full s) ∧ n = S.sum}.HasDensity 0 := by
  sorry

/--
Is it true that the set of integers which are the sum of at most three cubes has density $0$?

The cubes are those of non-negative integers, which is what `Multiset ℕ` gives. This choice
decides the question: over `ℤ` a sum of three cubes is conjectured to represent every integer
that is not $\pm 4 \bmod 9$, which is density $7/9$.
-/
@[category research open, question, AMS 11]
theorem erdos_940.variants.three_cubes :
    {n : ℕ | ∃ (S : Multiset ℕ), S.card ≤ 3 ∧ n = (Multiset.map (· ^ 3) S).sum}.HasDensity 0 := by
  sorry


/--
Let $r \ge 3$. Are there infinitely many integers which are not the sum of at most $r$-many
$r$-powerful numbers?
-/
@[category research open, question, AMS 11]
theorem erdos_940.variants.large_integers :
    ∀ r ≥ 3, ¬ (∀ᶠ x in atTop, ∃ (S : Multiset ℕ), S.card ≤ r ∧ (∀ s ∈ S, r.Full s) ∧ x = S.sum) := by
  sorry

/--
Heath-Brown [He88] has proved that all large numbers are the sum of at most three
$2$-powerful numbers.

This is the case $r = 2$ of `Erdos1107.erdos_1107`, which asks the same question with $r + 1$
summands, and it is stated there as `Erdos1107.erdos_1107.variants.two`.
-/
@[category research solved, AMS 11]
theorem erdos_940.variants.three_powerful :
    ∀ᶠ x in atTop, ∃ (S : Multiset ℕ), S.card ≤ 3 ∧ (∀ s ∈ S, (2).Full s) ∧ x = S.sum := by
  sorry

end Erdos940

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos940.erdos_940 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_940 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-940
nosorry submit erdos-940 nosorry/erdos-940/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.