Maths Olympiad Prep

Library / /6 of 12

, 2025

Combinatorics Difficulty 5.8 AIME, harder Find the answer United States

The twelve letters A, B, C, D, E, F, G, H, I, J, K, and L are randomly grouped into six pairs of letters. The two letters in each pair are placed next to each other in alphabetical order to form six two-letter words, and then those six words are listed alphabetically. For example, a possible result is AB, CJ, DG, EK, FL, HI. The probability that the last word listed contains G is mn\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m+nm+n.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

There are 119753111 \cdot 9 \cdot 7 \cdot 5 \cdot 3 \cdot 1 equally likely ways for the letters to be paired. This can be seen by considering the successive choices of a partner for the unpaired letter that comes first alphabetically. The letter GG is the first letter in its pair, and its pair is listed last if GG is paired with HH, II, JJ, KK, or LL (5 choices), two of AA, BB, CC, DD, EE, and FF are paired with each other ((62)=15\binom{6}{2} = 15 choices), and the 4 remaining early letters are paired with the 4 remaining late letters (4!=244! = 24 choices). The letter GG is the second letter in its pair, and its pair is listed last if GG is paired with FF and each of AA through EE is paired with one of HH through LL. This can happen in 5!=1205! = 120 ways. Therefore
mn=51524+1201197531=158+81197=128693. \frac{m}{n} = \frac{5 \cdot 15 \cdot 24 + 120}{11 \cdot 9 \cdot 7 \cdot 5 \cdot 3 \cdot 1} = \frac{15 \cdot 8 + 8}{11 \cdot 9 \cdot 7} = \frac{128}{693}.
The requested sum is 128+693=821128 + 693 = 821.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.