imo_1987_p6
open: first valid proof sets the record
miniF2F · imo · MIT
Copyright (c) Meta Platforms, Inc. and affiliates.
Statement
import Mathlib
theorem LeanGolf.minif2f.imo_1987_p6 (p : ℕ) (f : ℕ → ℕ) (h₀ : ∀ x, f x = x ^ 2 + x + p)
(h₀ : ∀ k : ℕ, k ≤ Nat.floor (Real.sqrt (p / 3)) → Nat.Prime (f k)) :
∀ i ≤ p - 2, Nat.Prime (f i)Trusted statement context
open BigOperators Real Nat Topology Rat