AMC 10 Step by Step

2007 AMC 10B Problem 25

P21-25~8 minPrint

How many pairs of positive integers (a,b)(a,b) are there such that aa and bb have no common factors greater than 11 and:

ab+14b9a\frac{a}{b} + \frac{14b}{9a}

is an integer?

Log in to save your progress.
Show solution without answering

Key insight

Over the common bottom 9ab: since a and b share no factor, b divides 9 and a divides 14, and the 9 forces b to be a multiple of 3.

Solution

Start with one example to see what can happen. With a=1a = 1, b=3b = 3:
13+429=13+143=153=5,\frac13 + \frac{42}{9} = \frac13 + \frac{14}{3} = \frac{15}{3} = 5,
a whole number. So solutions exist. Now find them all.

Step 1: one fraction. Over the common bottom 9ab9ab,
ab+14b9a=9a2+14b29ab.\frac{a}{b} + \frac{14b}{9a} = \frac{9a^2 + 14b^2}{9ab}.
This is a whole number exactly when 9ab9ab divides 9a2+14b29a^2 + 14b^2. In particular each of bb, aa and 99 must divide the top.

Step 2: what can bb be?

  1. bb divides 14b214b^2, so for bb to divide the top it must divide 9a29a^2.
  2. bb shares no factor with aa, so it shares none with a2a^2. So bb must divide 99: bb is 11, 33 or 99.
  3. Also 99 divides 9a29a^2, so 99 must divide 14b214b^2. Since 1414 has no factor 33, b2b^2 must be a multiple of 99, so bb is a multiple of 33.
  4. That leaves b=3b = 3 or b=9b = 9.

Step 3: what can aa be? In the same way, aa divides 9a29a^2, so aa must divide 14b214b^2. It shares no factor with bb, so aa divides 1414: aa is 11, 22, 77 or 1414.

Step 4: test the 2×4=82 \times 4 = 8 pairs.

  • b=9b = 9: the expression is a9+14a\frac{a}{9} + \frac{14}{a}. For a=1,2,7,14a = 1, 2, 7, 14 this is 19+14\frac19 + 14, 29+7\frac29 + 7, 79+2\frac79 + 2, 149+1\frac{14}{9} + 1. The part a9\frac{a}{9} is never whole and the other part is, so none work.
  • b=3b = 3: the expression is a3+143a\frac{a}{3} + \frac{14}{3a}.
aa12714
value13+143=5\frac13 + \frac{14}{3} = 523+73=3\frac23 + \frac{7}{3} = 373+23=3\frac73 + \frac{2}{3} = 3143+13=5\frac{14}{3} + \frac13 = 5

All four work.

So the pairs are (1,3)(1,3), (2,3)(2,3), (7,3)(7,3), (14,3)(14,3): four in all.

The answer is (A) 4\boxed{\textbf{(A)}\ 4}.

Why this works

"This is a whole number" becomes "the bottom divides the top" once the fractions are combined. The key fact is that if a number shares no factor with aa and divides 9a29a^2, it must divide 99. That shrinks an endless search to a few candidates you can check by hand.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Combine the fractions:
ab+14b9a=9a2+14b29ab.\frac{a}{b} + \frac{14b}{9a} = \frac{9a^2 + 14b^2}{9ab}.
This is an integer exactly when 9ab∣9a2+14b29ab \mid 9a^2 + 14b^2. Extract consequences using gcd⁡(a,b)=1\gcd(a,b) = 1.

Bound bb. From b∣9a2+14b2b \mid 9a^2 + 14b^2 we get b∣9a2b \mid 9a^2, and since bb is coprime to aa, b∣9b \mid 9. Also 9∣9a2+14b29 \mid 9a^2 + 14b^2 gives 9∣14b29 \mid 14b^2, so 3∣b3 \mid b. Thus b∈{3,9}b \in \{3, 9\}.

Bound aa. From a∣14b2a \mid 14b^2 and coprimality, a∣14a \mid 14, so a∈{1,2,7,14}a \in \{1, 2, 7, 14\}.

Case b=9b = 9. The condition becomes 81a∣9a2+113481a \mid 9a^2 + 1134, so 9∣a2+1269 \mid a^2 + 126, which needs 3∣a3 \mid a. No divisor of 1414 works.

Case b=3b = 3. The condition becomes 27a∣9a2+12627a \mid 9a^2 + 126, i.e. 3a∣a2+143a \mid a^2 + 14. Each a∈{1,2,7,14}a \in \{1, 2, 7, 14\} is coprime to 33 and divides 1414, and a2+14≡1+2≡0(mod3)a^2 + 14 \equiv 1 + 2 \equiv 0 \pmod 3, so all four work. Directly:
13+429=5,23+4218=3,73+4263=3,143+42126=5.\tfrac13 + \tfrac{42}{9} = 5,\quad \tfrac23 + \tfrac{42}{18} = 3,\quad \tfrac73 + \tfrac{42}{63} = 3,\quad \tfrac{14}{3} + \tfrac{42}{126} = 5.

The pairs are (1,3),(2,3),(7,3),(14,3)(1,3), (2,3), (7,3), (14,3): four in all.

The answer is (A) 4\boxed{\textbf{(A)}\ 4}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.