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 979

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

Let k≥2k ≥ 2, and let fk(n)f_k(n) count the number of solutions to n=p1k+⋯+pkkn = p_1^k + \dots + p_k^k, where the pip_i are prime numbers. Is it true that lim sup⁡fk(n)=∞\limsup f_k(n) = \infty?

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

Formal statement

theorem erdos_979 :
    ∀ k ≥ 2, Filter.limsup (fun n => (solutionSet n k).encard) Filter.atTop = ⊤
Show the full Challenge.lean (64 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 979

*Reference:* [erdosproblems.com/979](https://www.erdosproblems.com/979)
-/

@[expose] public section

namespace Erdos979

def solutionSet (n k : ℕ) : Set (Multiset ℕ) :=
  {P | P.card = k ∧ (∀ p ∈ P, Nat.Prime p) ∧ n = (P.map (. ^ k)).sum}

/--
Let $k ≥ 2$, and let $f_k(n)$ count the number of solutions to $n = p_1^k + \dots + p_k^k$,
where the $p_i$ are prime numbers. Is it true that $\limsup f_k(n) = \infty$?
-/
@[category research open, question, AMS 11]
theorem erdos_979 :
    ∀ k ≥ 2, Filter.limsup (fun n => (solutionSet n k).encard) Filter.atTop = ⊤ := by
  sorry

/--
Erdős [Er37b] proved that if $f_2(n)$ counts the number of solutions to $n = p_1^2 + p_2^2$, where $p_1$ and $p_2$ are prime numbers, then $\limsup f_2(n) = \infty$.

[Er37b] Erdős, Paul, On the Sum and Difference of Squares of Primes. J. London Math. Soc. (1937), 133--136.
-/
@[category research solved, AMS 11]
theorem erdos_979.variants.k2 :
    Filter.limsup (fun n => (solutionSet n 2).encard) Filter.atTop = ⊤ := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Erdős (unpublished)
-/
@[category research solved, AMS 11,
  formal_proof using lean4 at
    "https://github.com/KitaKen1/erdos-979-k3/blob/930fcc877fa4a2b4fc7c59614cbbab04a6d834ca/lean/K3Lean/Erdos979K3Final.lean#L46-L47"]
theorem erdos_979.variants.k3 :
    Filter.limsup (fun n => (solutionSet n 3).encard) Filter.atTop = ⊤ := by
  sorry

end Erdos979

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

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