lean_workbook_plus_45068
ProvedLet the o's represent the cookies, and the l's are the symbols that divide the cookies into the three different flavors. There are six o's and the two l's. This is a total of eight items. An example of one arrangement is oolooloo, and this means that there are two of each type of cookies. We find the number of arrangements by calculating and then dividing by and , and this gives us . The answer is D.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_45068 : Nat.factorial 8 / (Nat.factorial 6 * Nat.factorial 2) = 28 := by sorry
Source