2014 AIME II Problem 13

Attempt Problem 13 of the 2014 AIME II below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2014 AIME II solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

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,k \lt 5, no collection of kk pairs made by the child contains the shoes from exactly kk of the adults is mn,\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m+n.m + n.
Answer: 28
Concepts:permutationsbasic probability
Small hint:
Pairing left shoe jj with right shoe π(j)\pi(j) defines a random permutation; a collection of kk pairs using exactly kk adults’ shoes is a union of cycles
Big hint:
The condition says every cycle of π\pi has length at least 5:5: count 1010-cycles and products of two 55-cycles
Solution:
The child’s pairing matches left shoe jj with right shoe π(j)\pi(j) for a uniformly random permutation π\pi of {1,…,10}.\{1, \ldots, 10\}. A collection of kk pairs uses kk left and kk right shoes, so it involves exactly kk adults precisely when those adults’ indices are closed under π\pi — that is, when the collection is a union of cycles of π.\pi. The condition therefore says π\pi has no cycle of length less than 5.5.
The cycle lengths must partition 1010 into parts of size at least 5:5: either one 1010-cycle or two 55-cycles. There are 9!9! ten-cycles, and 12(105)(4!)2=9!5\frac{1}{2}\binom{10}{5}(4!)^2 = \frac{9!}{5} permutations that are products of two 55-cycles.
The probability is 9!+15⋅9!10!=1+1510=325,\frac{9! + \frac{1}{5} \cdot 9!}{10!} = \frac{1 + \frac{1}{5}}{10} = \frac{3}{25}, so m+n=3+25=28.m + n = 3 + 25 = 28.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.