Skip to main content

2005 AIME II Problem 5

Problem 5 of 15EasierAlgebraCombinatorics

Determine the number of ordered pairs (a,b)(a, b) of integers such that log⁡ab+6log⁡ba=5,\log_a b + 6\log_b a = 5, 2≤a≤2005,2 \le a \le 2005, and 2≤b≤2005.2 \le b \le 2005.

Your answer

Integer from 0 to 999
Show solution

Solution

Let x=log⁡ab.x = \log_a b. Since log⁡ba=1x,\log_b a = \frac{1}{x}, the equation becomes x+6x=5,x + \frac{6}{x} = 5, i.e. x2−5x+6=0,x^2 - 5x + 6 = 0, so x=2x = 2 or x=3.x = 3. That means b=a2b = a^2 or b=a3.b = a^3. For b=a2≤2005b = a^2 \le 2005 we need 2≤a≤442 \le a \le 44 (since 442=193644^2 = 1936 and 452=202545^2 = 2025), giving 4343 pairs. For b=a3≤2005b = a^3 \le 2005 we need 2≤a≤122 \le a \le 12 (since 123=172812^3 = 1728 and 133=219713^3 = 2197), giving 1111 pairs. In total there are 43+11=5443 + 11 = 54 ordered pairs.
AoPS wiki

Tagged: logarithm · quadratic · counting integers in a range

More practice