Wanted to share this puzzle: A restaurant offers choice of six different types of donuts, each available in unlimited quantity. How many ways can you select three donuts? You can pick any number of donuts of each type. For answer, hover your mouse above the text below.
Answer: 56
There are ${6 \choose 1} = 6$ ways of choosing a set of three donuts using only one variety.
If there are two varieties used in a set of three donuts, one of the three has one variety, and the remaining two have a different variety. There are ${6 \choose 1} = 6$ ways of choosing the first variety and ${5 \choose 1} = 5$ ways of choosing the second variety. Therefore there are $6\times 5 = 30$ ways of choosing three donuts using precisely two varieties.
Finally, there are ${6 \choose 3} = 20$ ways of choosing a set of three donuts using precisely three varieties.
Therefore, there are $6 + 30 + 20 = 56$ ways of choosing a set of three donuts.
Note, the reason why we can't use the binomial coefficient to calculate the number of sets of three donuts when precisely two varieties are used is that there is no symmetry between the two varieties. That is, swapping the order of the varieties gives a different set of three. For example, a set of three could be Chocolate, Sprinkles, Sprinkles; swapping the varieties we have Sprikles, Chocolate, Chocolate, which is a different set of three. In the one and three varieties case, we can use the binomial coefficient because swapping the varieties does not lead to different sets of three.