Putnam 1989 A1
open: first valid proof sets the record
PutnamBench · 1989 A1 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_1989_a1
(pdigalt : List ℕ → Prop)
(hpdigalt : ∀ l, pdigalt l ↔ Odd l.length ∧ (∀ i, l.get i = if Even (i : ℕ) then 1 else 0)) :
{p : ℕ | p.Prime ∧ pdigalt (Nat.digits 10 p)}.encard = putnam_1989_a1_solutionTrusted statement context
noncomputable section
abbrev putnam_1989_a1_solution : ℕ∞ :=
1