Skip to main content

2020 AIME I Problem 9

Problem 9 of 15IntermediateNumber TheoryCombinatoricsProbability & Statistics

Let SS be the set of positive integer divisors of 209.20^9. Three numbers are chosen independently and at random from the set SS and labeled a1,a_1, a2,a_2, and a3a_3 in the order they are chosen. The probability that both a1a_1 divides a2a_2 and a2a_2 divides a3a_3 is mn,\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m.m.

Your answer

Integer from 0 to 999
Show solution

Solution

Write 209=218⋅59,20^9 = 2^{18} \cdot 5^9, so each ai=2xi5yia_i = 2^{x_i} 5^{y_i} with 0≤xi≤180 \le x_i \le 18 and 0≤yi≤9;0 \le y_i \le 9; there are 19⋅10=19019 \cdot 10 = 190 divisors, and the exponents of the two primes are chosen independently and uniformly. The conditions that a1a_1 divides a2a_2 and a2a_2 divides a3a_3 hold exactly when x1≤x2≤x3x_1 \le x_2 \le x_3 and y1≤y2≤y3.y_1 \le y_2 \le y_3. Non-decreasing triples from a set of kk values correspond to multisets of size 3,3, counted by (k+23).\binom{k+2}{3}. So the probability is (213)193⋅(123)103=13306859⋅2201000=70361⋅1150=771805. \begin{aligned} \frac{\binom{21}{3}}{19^3} \cdot \frac{\binom{12}{3}}{10^3} &= \frac{1330}{6859} \cdot \frac{220}{1000} \\ &= \frac{70}{361} \cdot \frac{11}{50} \\ &= \frac{77}{1805}. \end{aligned} Since 1805=5⋅1921805 = 5 \cdot 19^2 shares no factor with 77=7⋅11,77 = 7 \cdot 11, the fraction is in lowest terms and m=77.m = 77.
AoPS wiki

Tagged: prime factorization · basic probability · stars and bars

More practice