Take a test Sign in 中文
← Exercise 890 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 890
How many pairs of relatively prime positive integers $(a,b)$ are there such that $\dfrac ab+\dfrac{5b}{4a}$ is an integer?
← Back to Problem 890
Solution
  1. $\frac{4a^2+5b^2}{4ab}$. $a\mid5b^2$ with $\gcd(a,b)=1$ gives $a\mid5$; $b\mid4a^2$ gives $b\mid4$.
  2. Check $a\in\{1,5\}$, $b\in\{1,2,4\}$: $(1,2)$ gives $\frac{24}8=3$ and $(5,2)$ gives $\frac{120}{40}=3$; the others fail.
  3. So there are $\boxed{2}$ pairs.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year