by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
We proceed by showing that the LHS=RHS. ∑k=0n(kn)2=∑k=0n(kn)(kn) We use the identity (kn)=(n−kn)=∑k=0n(kn)(n−kn)
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_13691 (n : ℕ) : ∑ k in Finset.range (n+1), (Nat.choose n k)^2 = ∑ k in Finset.range (n+1), Nat.choose n k * Nat.choose n (n - k) := by sorry