Take a test Sign in 中文
← Exercise 832 →
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 832
Let $n$ be the least positive integer greater than $500$ for which $\gcd(45,n+30)=15$ and $\gcd(n+45,30)=30$. What is $n$?
← Back to Problem 832
Solution
  1. $\gcd(n+45,30)=30$ means $30\mid n+45$, i.e.\ $n\equiv15\pmod{30}$; then $15\mid n+30$ automatically.
  2. $\gcd(45,n+30)=15$ also requires $9\nmid n+30$.
  3. The first candidate above $500$ is $525$: $525+30=555=3\cdot5\cdot37$, so $\gcd(45,555)=15$. So $n=\boxed{525}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year