How many ways are there for three medals to be awarded if ties are possible?
Let $n$ be the number of gold medals awarded.
$\textbf{1)}\;\;$If $n=2$, then there are $\binom{6}{2}=15$ ways to choose the gold medalists and
$\hspace{.3 in}2^4-1=15$ ways to choose the bronze medalists, so there are $15\cdot15=225$ possibilities.
$\textbf{2)}\;\;$ If $n=1$, there are $\binom{6}{1}$ ways to award the gold medal, and then
there are $\binom{5}{1}=5$ ways to award one silver medal and $2^4-1=15$ ways to award bronze medals, and
there are $\binom{5}{2}+\cdots+\binom{5}{5}=2^5-\binom{5}{0}-\binom{5}{1}=26$ ways to award more than one silver medal;
so in this case there are $6[5\cdot15+26]=606$ possibilities.
$\textbf{3)}\;\;$ If $n\ge3$, there are $\binom{6}{3}+\cdots+\binom{6}{6}=2^6-\binom{6}{2}-\binom{6}{1}-\binom{6}{0}=42$ ways to award the gold.
Therefore there are a total of $225+606+42=873$ ways to award the medals.
Maybe the best way to break it down is by cases likes this:
- 6 win gold (1 possibility)
- 5 win gold (6 possibilities)
- 4 win gold (${6 \choose 2}=15$ possibilities)
- 3 win gold (${6 \choose 3}=20$ possibilities)
- 2 win gold, four win bronze (15 possibilities)
- 2 win gold, three win bronze (60 poss.)
- 2 win gold, two win bronze (90 poss.)
- 2 win gold, one wins bronze (60 poss.)
- 1 wins gold, 5 win silver (6 poss.)
- 1 wins gold, 4 win silver (30 poss.)
- 1 wins gold, 3 win silver (60 poss.)
- 1 wins gold, 2 win silver (60 poss.)
- 1 wins gold, 1 win silver, 4 win bronze (30 poss.)
- 1 wins gold, 1 win silver, 3 win bronze (120 poss.)
- 1 wins gold, 1 win silver, 2 win bronze (180 poss.)
- 1 wins gold, 1 win silver, 1 win bronze (120 poss.)
Then we have
$$1 + 6 + 15 + 20 + 15 +60+90+60+6+30+60+60+30+120+180+120= 873$$
Bingo!