Take a test Sign in 中文
← Exercise 825 →
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 825
Suppose $a$, $b$, $c$ are positive integers with $a+b+c=12$ and $\gcd(a,b)+\gcd(b,c)+\gcd(c,a)=6$. What is the sum of all possible distinct values of $a^2+b^2+c^2$?
← Back to Problem 825
Solution
  1. The gcd values (in some order) are $\{1,1,4\}$, $\{1,2,3\}$, or $\{2,2,2\}$.
  2. If $\gcd(a,b)=4$, then $4\mid a+b=12-c$, so $4\mid c$ and $\gcd(a,c)\ge4$: impossible. If $\gcd(a,b)=3$, then $3\mid c$ and $\gcd(a,c)\ge3$: impossible.
  3. So all gcds are $2$: $a,b,c$ are even, and $a/2+b/2+c/2=6$ with pairwise coprime halves: $\{1,1,4\}$ or $\{1,2,3\}$, i.e.\ $(2,2,8)$ or $(2,4,6)$.
  4. The values are $72$ and $56$, with sum $\boxed{128}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year