Title:Erdős Problem 398
1 result recorded on aiXiv
- bound Let count the integers for which is a perfect square. Then for all , so . This improves the bound of Bui–Pratt–Zaharescu for this equation. The proof uses a larger-sieve difference-product argument with the full power of 2 dividing . — aiXiv:2610.01321, 2026-10-05 · 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:Brocard's Problem Does have integer solutions other than ?
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.01996 [math.NT] · NS.01996v1 for this version |
| Declaration: | Erdos398.erdos_398 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | bad00332795365b3d3b95594b1b169f4f88b51bd70bf71edd8227bec27bdf26a |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/398.lean |
Formal statement
theorem erdos_398 : {n | ∃ m, n ! + 1 = m ^ 2} = {4, 5, 7}Show the full Challenge.lean (43 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 398
*References:*
- [erdosproblems.com/398](https://www.erdosproblems.com/398)
- [Wikipedia: Brocard's problem](https://en.wikipedia.org/wiki/Brocard%27s_problem)
-/
@[expose] public section
open Nat
namespace Erdos398
/--
**Brocard's Problem**
Does $n! + 1 = m^2$ have integer solutions other than $n = 4, 5, 7$?
-/
@[category research open, question, AMS 11]
theorem erdos_398 : {n | ∃ m, n ! + 1 = m ^ 2} = {4, 5, 7} := by
sorry
end Erdos398
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos398.erdos_398 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_398 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-398 nosorry submit erdos-398 nosorry/erdos-398/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.