IMO1991 P2
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2025 The Compfiles Authors. All rights reserved. Authors: Benpigchu
Statement
import Mathlib
theorem _root_.LeanGolf.compfiles.imo1991_p2 (n : ℕ) (hn : 6 < n)
(k : ℕ) (a : Fin k → ℕ)
(ha1 : { a i | i } = { m | Nat.Coprime m n ∧ m < n })
(d : ℕ) (hd : 0 < d)
(ha2 : ∀ i : Fin k, (h : i + 1 < k) → a i + d = a ⟨i + 1, h⟩) :
n.Prime ∨ n.isPowerOfTwoTrusted statement context
namespace Imo1991P2