Title:Erdős Problem 676
2 results recorded on aiXiv
- disproves Infinitely many positive integers have no representation with prime, , . — aiXiv:2611.02250, 2026-11-20 · claimed by its authors; no independent check recorded on aiXiv
- bound The number of integers in with no representation ( prime, , ) satisfies . This improves Erdős's upper bound . — aiXiv:2611.02250, 2026-11-20 · 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:Is every sufficiently large integer of the form for some prime and integers and ?
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.02825 [math.NT] · NS.02825v1 for this version |
| Declaration: | Erdos676.erdos_676 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 084b2b68dddb2d47b15f4e80c342d4ad26c9c6032d195701c93136e8dc740bc4 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/676.lean |
Formal statement
theorem erdos_676 : ∀ᶠ n in atTop,
∃ a p b : ℕ, p.Prime ∧ 1 ≤ a ∧ b < p ∧ n = a * p ^ 2 + bShow the full Challenge.lean (92 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 676
*References:*
- [erdosproblems.com/676](https://www.erdosproblems.com/676)
- [Er79] Erdős, Paul, *Some unconventional problems in number theory*.
Math. Mag. (1979), 67–70.
- [Er79d] Erdős, P., *Some unconventional problems in number theory*.
Acta Math. Acad. Sci. Hungar. (1979), 71–80.
- [Er80] Erdős, Paul, *A survey of problems in combinatorial number theory*.
Ann. Discrete Math. (1980), 89–115.
-/
@[expose] public section
namespace Erdos676
open Filter
/-- An integer has a representation $ap^2+b$ with $p$ prime, $a \geq 1$, and $b < p$
if and only if $p^2 \leq n$ and $n \bmod p^2 < p$ for some prime $p$. -/
@[category test, AMS 11]
theorem representation_iff_mod (n : ℕ) :
(∃ a p b : ℕ, p.Prime ∧ 1 ≤ a ∧ b < p ∧ n = a * p ^ 2 + b) ↔
∃ p : ℕ, p.Prime ∧ p ^ 2 ≤ n ∧ n % p ^ 2 < p := by
constructor
· rintro ⟨a, p, b, hp, ha, hb, rfl⟩
refine ⟨p, hp, ?_, ?_⟩
· nlinarith
· have hb' : b < p ^ 2 := by
have := hp.two_le
nlinarith
simpa [Nat.add_mod, Nat.mul_mod, Nat.mod_eq_of_lt hb'] using hb
· rintro ⟨p, hp, hn, hr⟩
refine ⟨n / p ^ 2, p, n % p ^ 2, hp, ?_, hr, ?_⟩
· exact Nat.div_pos hn (pow_pos hp.pos _)
· simpa [Nat.mul_comm, Nat.add_comm] using (Nat.mod_add_div n (p ^ 2)).symm
/-- The integer $35$ has no representation $ap^2+b$ of the required form. -/
@[category test, AMS 11]
theorem not_representable_35 :
¬ ∃ a p b : ℕ, p.Prime ∧ 1 ≤ a ∧ b < p ∧ 35 = a * p ^ 2 + b := by
rw [representation_iff_mod]
rintro ⟨p, hp, hn, hr⟩
have hp6 : p < 6 := by nlinarith
have hc : ∀ q : Fin 6, ¬ (q.val.Prime ∧ q.val ^ 2 ≤ 35 ∧ 35 % q.val ^ 2 < q.val) :=
by decide
exact hc ⟨p, hp6⟩ ⟨hp, hn, hr⟩
/-- The integer $899$ has no representation $ap^2+b$ of the required form. -/
@[category test, AMS 11]
theorem not_representable_899 :
¬ ∃ a p b : ℕ, p.Prime ∧ 1 ≤ a ∧ b < p ∧ 899 = a * p ^ 2 + b := by
rw [representation_iff_mod]
rintro ⟨p, hp, hn, hr⟩
have hp30 : p < 30 := by nlinarith
have hc : ∀ q : Fin 30, ¬ (q.val.Prime ∧ q.val ^ 2 ≤ 899 ∧ 899 % q.val ^ 2 < q.val) :=
by decide
exact hc ⟨p, hp30⟩ ⟨hp, hn, hr⟩
/-- Is every sufficiently large integer of the form $ap^2+b$ for some prime $p$ and integers
$a \geq 1$ and $0 \leq b < p$? -/
@[category research open, question, AMS 11]
theorem erdos_676 : ∀ᶠ n in atTop,
∃ a p b : ℕ, p.Prime ∧ 1 ≤ a ∧ b < p ∧ n = a * p ^ 2 + b := by
sorry
/- TODO: Formalize the source's additional variants: the quantitative almost-all result, the
version without primality, the general pair $(A,f)$, and the questions about the minimal $c_n$. -/
end Erdos676
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos676.erdos_676 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_676 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-676 nosorry submit erdos-676 nosorry/erdos-676/Solution.lean --wait
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.