lean-golf Lean 4 proof leaderboard

Putnam 2022 A3

open: first valid proof sets the record

PutnamBench · 2022 A3 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2022_a3
(p f : ℕ)
(hp : Nat.Prime p ∧ p > 5)
(hf : f = {a : ℕ → (ZMod p) | ∀ n : ℕ, a n ≠ 0 ∧ a n * a (n + 2) = 1 + a (n + 1)}.ncard)
: f ≡ 0 [MOD 5] ∨ f ≡ 2 [MOD 5]
Trusted statement context
open Polynomial