Erdős Problem a Daythe open tracker

Erdős Problem #405

Asks whether, for an odd prime p, the equation (p minus 1) factorial plus a to the p minus 1 equals p to the k has only finitely many solutions. Our one-line summary. The formal statement is below.

PROVED LEANdatabase updated 2026-08-24

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).

Let \(p\) be an odd prime. Is it true that the equation \((p-1)!+a^{p-1}=p^k\) has only finitely many solutions? Originally proposed by Erdős and Graham [ErGr80]. Brindza and Erdős [BrEr91] proved that there are finitely many such solutions.
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/405.
Prizenone
Topicsnumber theory, factorials
Statement in LeanFormal Conjectures
Solution in Leanyes
Original pageerdosproblems.com/405
NOBODY HAS SENT US AN ATTEMPT YET

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.