2020 AIME II Problems/Problem 9
Problem
While watching a show, Ayako, Billy, Carlos, Dahlia, Ehuang, and Frank sat in that order in a row of six chairs. During the break, they went to the kitchen for a snack. When they came back, they sat on those six chairs in such a way that if two of them sat next to each other before the break, then they did not sit next to each other after the break. Find the number of possible seating orders they could have chosen after the break.
Solution (Bash)
There are intersections that we must consider if we are to perform a PIE bash on this problem. Since we don't really want to think that hard, and bashing does not take that long for this problem, we can write down half of all permutations that satisfy the conditions presented in the problem in "lexicographically next" order to keep track easily. We do this for all cases such that the first "person" is , and multiply by two, since the number of working permutations with as the first person is the same as if it were , hence, after doing such a bash, we get permutations that result in no consecutive letters being adjacent to each other. ~afatperson
Solution 2 (Official MAA)
Ayako (), Billy , Carlos , Dahlia , Ehuang , and Frank originally sat in the order . Let denote the set of seatings where and sit next to each other after the break. Then the required number of seating orders is given by the Inclusion-Exclusion Principle as Each term can be calculated separately.
(a) Because there are terms, the sum is .
(b) For , if , then must sit consecutively, so . There are terms that satisfy , so the sum is . If and are pairwise disjoint, then . There are terms, so the sum is .
(c) If there are at least three pairs that sit next to each other, consider these three subcases: If the three pairs are consecutive, the sum is . If exactly two of the pairs are consecutive, the sum is . If none of the three pairs is consecutive, the sum is
(d) If there are at least four pairs that sit next to each other, then if the pairs are consecutive, the sum is . If the pairs are not consecutive, then the sum is .
(e) If all five pairs sit next to each other, the number is .
Therefore the required number of seating orders isNote: See A002464 of the On-Line Encyclopedia of Integer Sequences for equivalent formulations[1].
Solution 3
We proceed with casework based on the person who sits first after the break.
A is first. Then the first three people in the row can be ACE, ACF, ADB, ADF, AEB, AEC, AFB, AFC, or AFD, which yield 2, 1, 2, 2, 1, 2, 0, 1, and 1 possible configurations, respectively, implying 2 + 1 + 2 + 2 + 1 + 2 + 0 + 1 + 1 = 12 possible configurations in this case.
B is first. Then the first three people in the row can be BDA, BDF, BEA, BEC, BFA, BFC, or BFD, which yield 2, 4, 2, 4, 0, 1, and 2 possible configurations, respectively, implying 2 + 4 + 2 + 4 + 0 + 1 + 2 = 15 possible configurations in this case.
C is first. Then the first three people in the row can be CAD, CAE, CAF, CEA, CEB, CFA, CFB, or CFD, which yield 1, 2, 1, 4, 4, 2, 2, and 2 possible configurations, respectively, implying 1 + 2 + 1 + 4 + 4 + 2 + 2 + 2 = 18 possible configurations in this case.
Finally, the number of valid configurations for A and F, B and E, and C and D are equal by symmetry, so our final answer is 2(12 + 15 + 18), which computes to be ~peace09
See Also
2020 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 8 |
Followed by Problem 10 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.