No solutions of with
ProvedBrocard.berndt_galway_block_5number-theory
Let and be natural numbers with
Then ; that is, Brocard's equation has no solution with in this range.
This is block number 5 of the ten blocks of length into which the Berndt–Galway search range is divided.
Preamble
import Mathlib.Data.Nat.Factorial.Basic
Formal statement
namespace Brocard
theorem berndt_galway_block_5 (n m : ℕ) (h1 : 5 * 10 ^ 8 ≤ n) (h2 : n < 6 * 10 ^ 8)
(h : Nat.factorial n + 1 = m ^ 2) : False := by sorry
end BrocardSource
B. C. Berndt and W. F. Galway, On the Brocard–Ramanujan Diophantine equation n! + 1 = m^2, Ramanujan J. 4 (2000), 41–42 (computer search for n < 10^9); one of ten blocks of the milestone Brocard.berndt_galway_search.