Putnam 2013 B5
open: first valid proof sets the record
PutnamBench · 2013 B5 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_2013_b5
(n : ℕ) (hn : n ≥ 1)
(k : Set.Icc 1 n)
(fiter : (Set.Icc 1 n → Set.Icc 1 n) → Prop)
(hfiter : ∀ f, fiter f ↔ ∀ x : Set.Icc 1 n, ∃ j : ℕ, f^[j] x ≤ k) :
{f | fiter f}.encard = k * n ^ (n - 1)Trusted statement context
open Function Set