Putnam 2006 B4
open: first valid proof sets the record
PutnamBench · 2006 B4 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_2006_b4
(n k : ℕ)
(npos : n > 0)
(hk : k ≤ n)
(Z : Set (Fin n → ℝ))
(hZ : Z = {P : Fin n → ℝ | ∀ j : Fin n, P j = 0 ∨ P j = 1}) :
IsGreatest
{y | ∃ V : Subspace ℝ (Fin n → ℝ), Module.rank ℝ V = k ∧ (Z ∩ V).ncard = y}
(putnam_2006_b4_solution k)Trusted statement context
noncomputable section
noncomputable abbrev putnam_2006_b4_solution : ℕ → ℕ :=
fun k ↦ 2 ^ k