mathd_numbertheory_618
open: first valid proof sets the record
miniF2F · mathd · MIT
Harmonic miniF2F contributors. Re-split by Justin Asher.
Statement
import Mathlib
theorem LeanGolf.minif2f.mathd_numbertheory_618
(p : ℤ → ℤ)
(h₀ : ∀ n, p n = n^2 - n + 41) :
IsLeast {n | 0 < n ∧ 1 < Int.gcd (p n) (p (n + 1))} 41Trusted statement context
open BigOperators Real Nat Topology Rat Finset Set