第 890 题:(2007 AMC 10b, 25; 2007 AMC 12b, 24)
How many pairs of positive integers $(a,b)$ are there such that $a$ and $b$ have no common factors greater than $1$ and \[ \frac{a}{b} + \frac{14b}{9a} \] is an integer?
$\textbf{(A)}\ 4 \qquad\textbf{(B)}\ 6 \qquad\textbf{(C)}\ 9 \qquad\textbf{(D)}\ 12 \qquad\textbf{(E)}\ \text{infinitely many}$
- $\frac ab+\frac{14b}{9a}=\frac{9a^2+14b^2}{9ab}$. Since $a\mid9a^2+14b^2$ and $\gcd(a,b)=1$, $a\mid14$. Since $b\mid9a^2$, $b\mid9$; and $3\mid14b^2$ forces $3\mid b$, so $b\in\{3,9\}$.
- $9\mid 9a^2+14b^2$ forces $3\mid b$, so $b\in\{3,9\}$. If $b=9$, then $81a\mid9a^2+14\cdot81$ forces $9\mid a^2$, contradicting $\gcd(a,9)=1$. If $b=3$, we need $27a\mid9(a^2+14)$, i.e.\ $3a\mid a^2+14$: true for $a\in\{1,2,7,14\}$ (as $a\mid14$ and $3\nmid a$).
- So $4$ pairs. The answer is (A).
How many pairs of relatively prime positive integers $(a,b)$ are there such that $\dfrac ab+\dfrac{5b}{4a}$ is an integer?