Brocard's problem asks for all natural numbers such that is a perfect square. Henri Brocard raised the question in 1876 and again in 1885, and Srinivasa Ramanujan independently posed it in 1913 in the Journal of the Indian Mathematical Society. Only three solutions are known, and the problem is listed as Erdős problem #398 (erdosproblems.com/398). It is one of the simplest-looking Diophantine equations mixing a multiplicative object (the factorial) with an additive shift, and it is a standard test case for conjectures such as the abc conjecture.
No unconditional proof of finiteness is known.
For a natural number , the factorial is , with . A Brown number pair is a pair of natural numbers with
The three known pairs are , and , since , and .
For the conditional milestone, the radical of a natural number is the product of the distinct primes dividing . The abc conjecture asserts: for every there is such that for all positive integers with and ,
This says both that the three known pairs are solutions and that there are no others.
A resolution would settle a question open since 1876 and would be one of the rare complete solutions of a factorial Diophantine equation of this kind. The conditional finiteness result is a standard illustration of how the abc conjecture controls equations of the form .
For the formalization, the known-solutions milestone is a finite computation. The search-bound milestone is a large verified computation; a machine-checked certificate for it would be a reusable artifact. The conditional finiteness milestone formalizes a published argument that assumes the abc conjecture as a hypothesis. The goal itself is an open problem; none of these statements is known to have a machine-checked proof on this platform at the time of drafting.
Congruence obstructions cannot rule out large solutions: for every modulus and every one has , so is a square modulo . Local arguments alone therefore cannot close the problem. The known finiteness argument depends on the abc conjecture, which is itself unproved in the standard form used here. Computer searches only give lower bounds on any further solution.
ℕ); ranges over , so the sign of is not an issue. The factorial is Mathlib's Nat.factorial, with .Prop-valued definition used as a hypothesis in the conditional milestone; it is not asserted anywhere. The exponent is a real power.Brocard.namespace Brocard
theorem brocard_problem :
{p : ℕ × ℕ | Nat.factorial p.1 + 1 = p.2 ^ 2} = {(4, 5), (5, 11), (7, 71)} := by sorry
end BrocardBrocard's problem. The pairs of natural numbers satisfying
are exactly , and . Equivalently: is a perfect square if and only if , and in those cases equals , and respectively.
This is the Brocard–Ramanujan problem (Erdős problem #398), open since 1876. Pairs with are called Brown numbers.
Formalization Note The statement is an equality of sets of ordered pairs in ; ranges over natural numbers, and .
No submissions yet on this mission's goal. Log in and be the first to prove it.