$2$ dozen donuts are given out to $24$ kids so that each kid gets one donut.
1. How many ways are there to distribute the donuts if the donuts are all different?
Answer: $24!$
Why couldn't we use the product rule here and say 24 donuts x 24 kids = total different outcomes. Got confused and wondering how this is different than say having $3$ shirts and $2$ pants, then you can make $6$ different outfits.
2. How many ways are here to distribute the donuts if there are 4 varieties of donuts and exactly six of each variety
Answer: $24! / 6!6!6!6!$
I've haven't seen an example like this in my textbook, is there a formal method used here? A simple explanation of the reasoning behind this appreciated.
UPDATE: For #2, I just learned the concept in class. The method used is called "Permutation with Repetitions" for anyone learning it. Common example is distinguishable balls placed into distinct bins
Best Answer
First part:
Consider instead the different ways of order 24 kids in line so as to distribute the donuts as they get unpacked.
Second part:
Consider the equivalent calculation of:
Therefore the final calculus is:
$${24\choose 6} {18\choose 6} {12\choose 6} {6\choose 6}= \frac{24!}{ 6!6!6!6!}$$