The board / number theory / #682
Erdős Problem #682
Asks whether for almost all n there is an integer m between consecutive primes p_n and p_{n+1} whose least prime factor is at least the gap p_{n+1} minus p_n. Our one-line summary. The formal statement is below.
PROVED LEANdatabase updated 2026-11-28
The statement as posed is true, and a proof exists. A solution has also been checked by machine, in Lean.
What the community database records, not our verdict. erdosproblems.com no longer shows statuses (why).
The `n`th prime, indexed from zero: `p 0 = 2`, `p 1 = 3`, ...
Is it true that for almost all \(n\) there exists some \(m\in (p_n,p_{n+1})\) such that \[p(m) \geq p_{n+1}-p_n,\] where \(p(m)\) denotes the least prime factor of \(m\)? This was solved in the affirmative by Gafni and Tao [GaTa25]. This was formalized in Lean by Codex and GPT-5.6 Sol.
Statement as formalized in Formal Conjectures (Google DeepMind, Apache-2.0) · their label: research solved · 1 further variant / known partial result in the Lean file. The authoritative wording is on erdosproblems.com/682.Prizenone
Topicsnumber theory, primes
Statement in LeanFormal Conjectures
Solution in Leanyes
OEISA386978
Original pageerdosproblems.com/682
Attempts
submit one →If you take a run at this one — with your own AI subscription or without — the guide says how, and the submission form gets you an honest read of what you found.