Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Problem 399
claims/: The 4 claim pages of Problem 399, one per claimant's result; the problem's standing derives from them.
Statement. Is it true that there are no solutions to
with , with and ?
Status. DISPROVED (LEAN). The site labels the problem DISPROVED (LEAN)
(page last edited 30 September 2025) and credits Jonas Barfield with the
solution , recorded on
its claim page;
the Lean qualifier refers to the formal-conjectures file, which checks the
witness by decide and which this corpus has not built. There is no refereed
write-up. The standing in the frontmatter derives from the claim pages.
Source. erdosproblems.com/399, accessed 2026-09-04 and, with its empty discussion thread and proof-claims list, the community database and the formal-conjectures file, 2026-10-07. The site cites the problem from p. 77 of Erdős and Graham's 1980 problem book. Cite as: T. F. Bloom, Erdős Problem #399, https://www.erdosproblems.com/399.
References.
- [Br32] Breusch, Robert, Zur Verallgemeinerung des Bertrandschen Postulates, daß zwischen und 2 stets Primzahlen liegen. Math. Z. (1932), 505-526.
- [ErGr80] Erdős, P. and Graham, R. L., Old and new problems and results in combinatorial number theory. Monographies de L'Enseignement Mathématique 28, Université de Genève (1980), p. 77. Library home: erdos_1980_old_new_problems_results_combinatorial_number_theory.
- [ErOb37] Erdős, P. and Obláth, R., Über diophantische Gleichungen der Form und . Acta Litt. ac Sci. Reg. Univ. Hung. Fr.-Jos., Sect. Sci. Math. 8 (1937), 241-255. Library home: erdos_1937_uber_diophantische_gleichungen_der_form_und.
- [Gu04] Guy, Richard K., Unsolved problems in number theory. Third edition, Problem Books in Mathematics, Springer, New York (2004), xviii+437 pp. Section D25 "Equations involving factorial ", printed p. 301: "Erdős & Obláth dealt with the equation with and ". Library home: guy_2004_unsolved_problems_number_theory.
- [PoSh73] Pollack, Richard M. and Shapiro, Harold N., The next to last case of a factorial diophantine equation. Comm. Pure Appl. Math. 26 (1973), 313-325.
Formalization. The
formal-conjectures
file, linked at the commit of 18 September 2026,
states the problem as erdos_399 : answer(False) ↔ … and proves it from the
witness by decide. At that commit it also states, with
sorry, the coprime theorem of Erdős and Obláth, the Pollack–Shapiro theorem
on and the two-squares classification, and proves Cambie's
observation for , a proof added on that date and linked from
Cambie's claim page; at the commit of 12
January 2026 that the claim page pins for the main proof, that variant was
still stated with sorry. The proof of the main statement is linked at both
commits from
the claim page.
This corpus has not built it.
Current assessment
The question, as the site states it (page last edited 30 September 2025): is a factorial never a sum or difference of two th powers with , apart from the trivial cases with ? The answer is no.
The resolution. , found by Jonas Barfield; the witness is checked by hand on the claim page, which also records the acceptance: the site's curator credits the solution, the community database records the problem as disproved with a Lean proof, and the formal-conjectures file checks the witness. There is no refereed write-up and no Lean file is built here. The bases and share the factor ; the solution lies exactly in the case the earlier results do not reach.
What was known for coprime bases. Erdős and Obláth [ErOb37] proved that
has no solution with coprime beyond the trivial one when
is not a power of , and handled differences with and so with
every , ; for they excluded coprime differences
only for sufficiently large (Satz 3, p. 254), with the prime number theorem
for the progressions modulo , and sums of even powers fall to their
two-squares argument. The site records their theorem as the coprime case with
;
their claim page
states what the paper proves. Pollack and Shapiro [PoSh73] are credited with the
remaining case, in two accounts that differ. The site, followed by the
formal-conjectures variant pollack_shapiro, says they showed that
has no solution. Erdős and Graham [ErGr80], the problem's source (p. 77), write
that Erdős and Obláth settled with and for
and that Pollack and Shapiro showed that it also has no solutions for
, which would close the coprime case for every ; the paper's title,
the next to last case of a factorial Diophantine equation, does not decide
between the two readings. [PoSh73] is not held in the library, so which
statement it proves is unconfirmed; the wider statement is recorded as the
monograph's report and the narrower one as the site's, on
their claim page.
The site adds two observations. Erdős and Obláth noted that, by the theorem of
Breusch [Br32] that consecutive primes congruent to modulo
satisfy beyond , together with Fermat's two-squares
theorem, is the only solution of with (the
condition excludes the trivial ). Stijn Cambie observed that the sum
of two coprime fourth powers, not both equal to , is or
modulo while is divisible by for , so has no
coprime solution with . Apart from sums of even powers, which the
two-squares classification excludes coprime or not, none of these results
constrains the non-coprime case with , which is where the solution lives.
The Erdős–Obláth and Pollack–Shapiro theorems are refereed partial results and
Cambie's observation a pending one, each on its claim page; the two-squares
classification concerns , outside the problem, and has no page. Guy [Gu04]
records the Erdős–Obláth theorem in section D25 and the two-squares remark under
D2.
Search scope, 2026-10-07: the site's problem page, its discussion thread (no comments) and proof-claims list (none), the community database and the formal-conjectures file; the library's card for [ErOb37] for the coprime results, and the monograph [ErGr80] at p. 77 for the source's account of them. The exact date on which Barfield's solution was found or first posted is not recorded; the site's page carried it by 7 April 2025, the date of the earliest archived copy that does.
Linked library material
These entries are derived from explicit links on library pages. They are navigation only and do not by themselves record mathematical progress.
- erdos_1937_uber_diophantische_gleichungen_der_form_und
- erdos_1937_uber_diophantische_gleichungen_der_form_und / equation_ia
- erdos_1937_uber_diophantische_gleichungen_der_form_und / satz_1
- erdos_1937_uber_diophantische_gleichungen_der_form_und / satz_2
- erdos_1937_uber_diophantische_gleichungen_der_form_und / satz_3
- guy_2004_unsolved_problems_number_theory