fermat_prime_conjecture
Openconjecturediophantinenumber-theoryprime-numbers
Fermat prime conjecture: Are there only finitely many Fermat primes (primes of the form 2^{2ⁿ}+1)? Known Fermat primes: F₀=3, F₁=5, F₂=17, F₃=257, F₄=65537. F₅ through F₃₂ are known composite. Heuristically only finitely many, but not proved.
Preamble
import Mathlib
Formal statement
import Mathlib
theorem fermat_prime_conjecture :
{n : ℕ | Nat.Prime (2 ^ (2 ^ n) + 1)}.Finite := by
sorrySource