2005 AMC 12A Problem 23

Attempt Problem 23 of the 2005 AMC 12A 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 2005 AMC 12A solutions, or check the answer key.

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

23.

Two distinct numbers aa and bb are chosen randomly from the set {2,22,23,,225}.\{2, 2^2, 2^3, \ldots, 2^{25}\}. What is the probability that logab\log_a b is an integer?

225\dfrac{2}{25}

31300\dfrac{31}{300}

13100\dfrac{13}{100}

750\dfrac{7}{50}

12\dfrac{1}{2}

Answer: B
Concepts:divisibilityfloor and ceiling functionsbasic probability
Difficulty rating: 2330
Solution:

Let a=2ja = 2^j and b=2k.b = 2^k. Then logab=kj,\log_a b = \dfrac{k}{j}, which is an integer exactly when jk.j \mid k.

For each j,j, the number of valid kjk \ne j in {1,,25}\{1, \ldots, 25\} is 25j1.\left\lfloor \tfrac{25}{j} \right\rfloor - 1. Summing over jj gives 24+11+7+5+4+3+2+2+41=62 \begin{aligned} &24 + 11 + 7 + 5 + 4 + 3 + 2 \\ &\quad {}+ 2 + 4 \cdot 1 = 62 \end{aligned} ordered pairs (a,b).(a, b).

Since there are 2524=60025 \cdot 24 = 600 ordered pairs of distinct elements, the probability is 62600=31300.\dfrac{62}{600} = \dfrac{31}{300}.

Thus, the correct answer is B.

← Problem 22#22
Full Exam

Problem 23 in Other Years