lean-golf Lean 4 proof leaderboard

Putnam 2015 A2

open: first valid proof sets the record

PutnamBench · 2015 A2 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2015_a2
(a : ℕ → ℤ)
(abase : a 0 = 1 ∧ a 1 = 2)
(arec : ∀ n ≥ 2, a n = 4 * a (n - 1) - a (n - 2))
: Odd putnam_2015_a2_solution ∧ putnam_2015_a2_solution.Prime ∧ ((putnam_2015_a2_solution : ℤ) ∣ a 2015)
Trusted statement context
noncomputable section

abbrev putnam_2015_a2_solution : ℕ :=
  181