Problem 2
Let and be integers with , and consider all subsets of elements of the set . Each such subset has a smallest element. Let denote the arithmetic mean of these smallest elements. Prove that
Step 3 of 5: Match the two counts
Detailed analysis
Summing the string count from Step 2 over all positions of the second counts every length- string with ones exactly once, so the total is ; but term by term this sum is exactly from Step 1, since .