Maths Olympiad Prep

Track / Stage 4 / 4 of 340 #264 of 1964

Problem 264

AMC 12 late, AIME early
Combinatorics Difficulty 4.0 Find the answer

Dave arrives at an airport which has twelve gates arranged in a straight line with exactly 100100 feet between adjacent gates. His departure gate is assigned at random. After waiting at that gate, Dave is told the departure gate has been changed to a different gate, again at random. Let the probability that Dave walks 400400 feet or less to the new gate be a fraction 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.

Official solution

Solution 1
There are 1211=13212 \cdot 11 = 132 possible situations (1212 choices for the initially assigned gate, and 1111 choices for which gate Dave's flight was changed to). We are to count the situations in which the two gates are at most 400400 feet apart.
If we number the gates 11 through 1212, then gates 11 and 1212 have four other gates within 400400 feet, gates 22 and 1111 have five, gates 33 and 1010 have six, gates 44 and 99 have have seven, and gates 55, 66, 77, 88 have eight. Therefore, the number of valid gate assignments is 2(4+5+6+7)+48=222+48=762\cdot(4+5+6+7)+4\cdot8 = 2 \cdot 22 + 4 \cdot 8 = 76 so the probability is 76132=1933\frac{76}{132} = \frac{19}{33}. The answer is 19+33=05219 + 33 = \boxed{052}.

Solution 2
As before, derive that there are 132132 possibilities for Dave's original and replacement gates.
Now suppose that Dave has to walk 100k100k feet to get to his new gate. This means that Dave's old and new gates must be kk gates apart. (For example, a 100100 foot walk would consist of the two gates being adjacent to each other.) There are 12k12-k ways to pick two gates which are kk gates apart, and 22 possibilities for gate assignments, for a total of 2(12k)2(12-k) possible assignments for each kk.
As a result, the total number of valid gate arrangements is 211+210+29+28=762\cdot 11 + 2\cdot 10 + 2\cdot 9 + 2\cdot 8 = 76 and so the requested probability is 1933\tfrac{19}{33} for a final answer of 052\boxed{052}.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.