Take a test Sign in 中文
← Exercise 829 →
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 829
How many ordered pairs $(a,b)$ of positive integers satisfy $ab+30=9\operatorname{lcm}(a,b)+6\gcd(a,b)$?
← Back to Problem 829
Solution
  1. Let $g=\gcd(a,b)$ and $L=\operatorname{lcm}(a,b)$, so $ab=gL$, $g\mid L$, and $a=ga'$, $b=gb'$ with $a'b'=\frac Lg$ and $\gcd(a',b')=1$. The equation becomes $gL+30=9L+6g$, i.e.\ $(g-9)(L-6)=24$ (Theorem 106).
  2. Positive $g-9$: $(g,L)=(10,30),(11,18),(12,14),(13,12),(15,10),(17,9),(21,8),(33,7)$; only $(10,30)$ has $g\mid L$. Negative $g-9\in\{-6,-8\}$ (others make $L\le0$): $(3,2)$ fails, $(1,3)$ works.
  3. $(g,L)=(10,30)$: $a'b'=3$, $2$ pairs; $(1,3)$: $2$ pairs. Total $\boxed{4}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year