2005 AMC 12A Problem 23

Below is the professionally curated solution for Problem 23 of the 2005 AMC 12A, 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 of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:divisibilityfloor and ceiling functionsbasic probability

Difficulty rating: 2330

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}

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 24 + 11 + 7 + 5 + 4 + 3 + 2 + 2 + 4 \cdot 1 = 62 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 23 in Other Years