2014 AIME II Problems/Problem 13


Ten adults enter a room, remove their shoes, and toss their shoes into a pile. Later, a child randomly pairs each left shoe with a right shoe without regard to which shoes belong together. The probability that for every positive integer $k<5$, no collection of $k$ pairs made by the child contains the shoes from exactly $k$ of the adults is $\frac{m}{n}$, where m and n are relatively prime positive integers. Find $m+n.$


Label the left shoes be $L_1,\dots, L_{10}$ and the right shoes $R_1,\dots, R_{10}$. Notice that there are $10!$ possible pairings.

Let a pairing be "bad" if it violates the stated condition. We would like a better condition to determine if a given pairing is bad.

Note that, in order to have a bad pairing, there must exist a collection of $k<5$ pairs that includes both the left and the right shoes of $k$ adults; in other words, it is bad if it is possible to pick $k$ pairs and properly redistribute all of its shoes to exactly $k$ people.

Thus, if a left shoe is a part of a bad collection, its corresponding right shoe must also be in the bad collection (and vice versa). To search for bad collections, we can start at an arbitrary right shoe (say $R_1$), check the left shoe it is paired with (say $L_i$), and from the previous observation, we know that $R_i$ must also be in the bad collection. Then we may check the left shoe paired with $R_i$, find its counterpart, check its left pair, find its counterpart, etc. until we have found $L_1$. We can imagine each right shoe "sending" us to another right shoe (via its paired left shoe) until we reach the starting right shoe, at which point we know that we have found a bad collection if we have done this less than $5$ times.

Effectively we have just traversed a cycle. (Note: This is the cycle notation of permutations.) The only condition for a bad pairing is that there is a cycle with length less than $5$; thus, we need to count pairings where every cycle has length at least $5$. This is only possible if there is a single cycle of length $10$ or two cycles of length $5$.

The first case yields $9!$ working pairings. The second case yields $\frac{{10\choose 5}}{2}\cdot{4!}^2=\frac{10!}{2 \cdot {5!}^2} \cdot {4!}^2$ pairings. Therefore, taking these cases out of a total of $10!$, the probability is $\frac{1}{10}+\frac{1}{50} = \frac{3}{25}$, for an answer of $\boxed{028}$.

Video Solution



Article/Blog post solution


See also

2014 AIME II (ProblemsAnswer KeyResources)
Preceded by
Problem 12
Followed by
Problem 14
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. AMC logo.png