Counting Candies, and One of Math's Classic Theorems