# Difference between revisions of "2012 AIME I Problems/Problem 3"

## Problem 3

Nine people sit down for dinner where there are three choices of meals. Three people order the beef meal, three order the chicken meal, and three order the fish meal. The waiter serves the nine meals in random order. Find the number of ways in which the waiter could serve the meal types to the nine people so that exactly one person receives the type of meal ordered by that person.

## Solution

Call a beef meal $B,$ a chicken meal $C,$ and a fish meal $F.$ Now say the nine people order meals $BBBCCCFFF$ respectively and say that the person who receives the correct meal is the first person. We will solve for this case and then multiply by $9$ to account for the $9$ different ways in which the person to receive the correct meal could be picked. Note, this implies that the dishes are indistinguishable, though the people are. For example, two people who order chicken are separate, though if they receive fish, there is only 1 way to order them.

The problem we must solve is to distribute meals $BBCCCFFF$ to orders $BBCCCFFF$ with no matches. The two people who ordered $B$'s can either both get $C$'s, both get $F$'s, or get one $C$ and one $F.$ We proceed with casework.

• If the two $B$ people both get $C$'s, then the three $F$ meals left to distribute must all go to the $C$ people. The $F$ people then get $BBC$ in some order, which gives three possibilities.
• If the two $B$ people both get $F$'s, the situation is identical to the above and three possibilities arise.
• If the two $B$ people get $CF$ in some order, then the $C$ people must get $FFB$ and the $F$ people must get $CCB.$ This gives $2 \cdot 3 \cdot 3 = 18$ possibilities.

Summing across the cases we see there are $24$ possibilities, so the answer is $9 \cdot 24 = \boxed{216.}$