Product of four consecutive primes plus $1$ equals square
Statement
Some days ago, I noticed that .
I am almost sure that if we denote four consecutive primes by then the equation
has finitely many solutions and here is the reason:
This equation is equivalent to which shows that .
Now let . We get
which shows that which means that .
This should be a contradiction, because we expect that are not "too big" since they represent the gaps between primes who are consecutive and "almost" consecutive.
The problem is that we do not even have a proof for which probably would be enough to finally solve the problem.
So, the fact that is a nice observation but does not lead anywhere.
Is there any way to show that equation (1) has finitely many solutions?
Posed by Konstantinos Gaitanas · nt.number-theory, prime-numbers, diophantine-equations
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-295632.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-295632.lean
import Mathlib /-! # Product of four consecutive primes plus $1$ equals square Source: https://mathoverflow.net/questions/295632 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_295632 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_295632