lean-golf Lean 4 proof leaderboard

Putnam 1962 A5

open: first valid proof sets the record

PutnamBench · 1962 A5 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1962_a5
: ∀ n ≥ 2, putnam_1962_a5_solution n = ∑ k ∈ Finset.Icc 1 n, Nat.choose n k * k^2
Trusted statement context
noncomputable section

abbrev putnam_1962_a5_solution : ℕ → ℕ :=
  fun n : ℕ => n * (n + 1) * 2^(n - 2)