Skip to main content

2012 AIME I Problem 3

Problem 3 of 15EasierCombinatoricsProblem-Solving Techniques

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.

Your answer

Integer from 0 to 999
Show solution

Solution

Choose the one person served correctly (99 ways); by symmetry say they ordered beef. The remaining meals — 22 beef, 33 chicken, and 33 fish — must go to the other 88 people (22 beef, 33 chicken, and 33 fish orderers) with nobody matched. Track where the 22 leftover beef meals go: to chicken or fish orderers. If both go to the same group, say to two of the three chicken orderers (3+3=63 + 3 = 6 ways counting both groups), then the third chicken orderer must receive fish, the three fish orderers must take the three chicken meals, and the two beef orderers take the remaining fish: everything is forced. If one goes to a chicken orderer and one to a fish orderer (3⋅3=93 \cdot 3 = 9 ways), the other two chicken orderers must take fish and the other two fish orderers must take chicken, leaving one chicken and one fish meal to split between the two beef orderers (22 ways). The total is 9 (6+9⋅2)=216.9\,(6 + 9 \cdot 2) = 216.
AoPS wiki

Tagged: derangements · casework

More practice