lean_workbook_plus_1021
OpenNotice that we can do casework on all equations from . By stars and bars, the number of solutions to each equation is , respectively. Adding up all these cases and using the hockey stick identity, we get a final answer of solutions.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_1021 ∑ k in Finset.Icc 0 23, (k+2).choose 2 = (26).choose 3 := by sorry
Source