Skip to main content

2014 AIME II Problem 13

Problem 13 of 15HarderCombinatoricsProbability & Statistics

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.

Your answer

Integer from 0 to 999
Show solution

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.
AoPS wiki

Tagged: permutations · basic probability

More practice