https://www.collectedny.org/mathmemos/ice-cream-combinations-problem/
The Ice Cream Combinations Problem