Let $d = \gcd(a,b)$. Then we can write $a = dx$, $b = dy$, where $\gcd(x,y) = 1$. Since $a + b = 1000$, we have:

Wed, 29 Apr 2026 23:20:49 +0000

Content under review