Difference between revisions of "2020 AIME II Problems/Problem 9"
Afatperson (talk | contribs) (→Problem) |
Afatperson (talk | contribs) (→See Also) |
||
Line 2: | Line 2: | ||
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. | 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 <math>2^{5}-1</math> intersections that we must consider if we are to perform a PIE 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 the lexicographically next permutation that satisfies the conditions presented in the problem, for all cases such that the first "person" is <math>A-C</math>, and multiply by two, since the number of working permutations with <math>D-F</math> as the first letter is the same as if it were <math>A-C</math>, hence, after doing such a bash, we get <math>45\times2=90</math> permutations that result in no consecutive letters being adjacent to each other. | ||
+ | ~afatperson | ||
==See Also== | ==See Also== | ||
{{AIME box|year=2020|n=II|num-b=8|num-a=10}} | {{AIME box|year=2020|n=II|num-b=8|num-a=10}} | ||
{{MAA Notice}} | {{MAA Notice}} |
Revision as of 02:49, 8 June 2020
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 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 the lexicographically next permutation that satisfies the conditions presented in the problem, for all cases such that the first "person" is , and multiply by two, since the number of working permutations with as the first letter 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
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.