2019 AIME II Problem 5
Problem 5 of 15EasierCombinatoricsProblem-Solving Techniques
Four ambassadors and one advisor for each of them are to be seated at a round table with chairs numbered in order to Each ambassador must sit in an even-numbered chair. Each advisor must sit in a chair adjacent to his or her ambassador. There are ways for the people to be seated at the table under these conditions. Find the remainder when is divided by
Your answer
Integer from 0 to 999
Show solution
Solution
The six even chairs form a cycle (chair is adjacent to chair ), and each odd chair lies between two consecutive even chairs. The ambassadors occupy of the even chairs, and each advisor must take one of the two odd chairs flanking their ambassador, with all choices distinct. For a maximal block of consecutive occupied even chairs, the occupants choose among the odd chairs touching the block; recording each choice as left or right, a conflict occurs exactly when someone picks right and their neighbor picks left, so the valid patterns are the strings of s followed by s: of them.
Now case on the two empty even chairs among the six positions. If they are adjacent ( ways), the occupied chairs form one block of giving patterns. If they are separated by one chair ( ways), the blocks have sizes and giving patterns. If they are opposite ( ways), the blocks have sizes and giving patterns. The number of seat configurations is
Finally, the four ambassador-advisor pairs can be assigned to the four chosen even chairs in ways, so and the remainder modulo is
Tagged: circular arrangements · arrangements with restrictions · casework