Difference between revisions of "2007 AMC 12B Problems/Problem 24"

(New page: ==Problem 24== How many pairs of positive integers <math>(a,b)</math> are there such that <math>gcd(a,b)=1</math> and <cmath>\frac{a}{b}+\frac{14b}{9a}</cmath> is an integer? <math>\mathr...)
 
(Problem 24)
Line 3: Line 3:
  
 
<math>\mathrm {(A)} 4</math>  <math>\mathrm {(B)} 6</math>  <math>\mathrm {(C)} 9</math>  <math>\mathrm {(D)} 12</math>  <math>\mathrm {(E)} \text{infinitely many}</math>
 
<math>\mathrm {(A)} 4</math>  <math>\mathrm {(B)} 6</math>  <math>\mathrm {(C)} 9</math>  <math>\mathrm {(D)} 12</math>  <math>\mathrm {(E)} \text{infinitely many}</math>
 
[[2007 AMC 12B Problems/Problem 24]]
 
  
 
==Solution==
 
==Solution==

Revision as of 13:55, 20 February 2008

Problem 24

How many pairs of positive integers $(a,b)$ are there such that $gcd(a,b)=1$ and \[\frac{a}{b}+\frac{14b}{9a}\] is an integer?

$\mathrm {(A)} 4$ $\mathrm {(B)} 6$ $\mathrm {(C)} 9$ $\mathrm {(D)} 12$ $\mathrm {(E)} \text{infinitely many}$

Solution

Combining the fraction, $\frac{9a^2 + 14b^2}{9ab}$ must be an integer.

Since the denominator contains a factor of $9$,

$9 | 9a^2 + 14b^2$

$9 | b^2$

$3 | b$

Rewriting $b$ as $b = 3n$ for some positive integer $n$, we can rewrite the fraction $\frac{a^2 + 14n^2}{3an}$

Since the denominator now contains a factor of $n$,

$n | a^2 + 14n^2$

$n | a^2$

$n | a$

Rewriting $a$ as $a = mn$ for some positive integer $m$, we can rewrite the fraction again as $\frac{m^2 + 14}{3m}$

Since the denominator contains $m$,

$m | m^2 + 14$

$m | 14$

$m \in (1,2,7,14)$

Now, returning to $a$ and $b$

$a \in (n,2n,7n,14n)$ and $b = 3n$

Since $gcd(a,b) = 1$, $n$ must be $1$. This yields four possible pairs $(1,3)$, $(2,3)$, $(7,3)$, $(14,3)$

$4 \Rightarrow \mathrm {(A)}$