2022 AIME I Problem 9
Problem 9 of 15IntermediateNumber TheoryCombinatoricsProbability & Statistics
Ellina has twelve blocks, two each of red (), blue (), yellow (), green (), orange (), and purple (). Call an arrangement of blocks even if there is an even number of blocks between each pair of blocks of the same color. For example, the arrangement is even. Ellina arranges her blocks in a row in random order. The probability that her arrangement is even is where and are relatively prime positive integers. Find
Your answer
Integer from 0 to 999
Show solution
Solution
If a color occupies positions the number of blocks between them is which is even exactly when and have opposite parity. So an arrangement is even precisely when every color occupies one odd position and one even position — that is, the six odd slots contain each color exactly once, and so do the six even slots.
Counting arrangements of the twelve blocks (blocks of the same color identical), there are in total, and even ones (a permutation of the six colors in the odd slots and another in the even slots). The probability is
Since the answer is
Tagged: basic probability · multiset permutations · parity