The rest of a 2 + b 2 a^2+b^2

If a a and b b are integers such a + 5 b a+5b and 5 a b 5a-b are divisible by 2002. Calculate the remainder of a 2 + b 2 a^2+b^2 when divided by 2002.


The answer is 0.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Arjen Vreugdenhil
Nov 24, 2017

Lazy solution

Obviously, ( a , b ) = ( 0 , 0 ) (a,b) = (0,0) is a solution. If this problem has a unique answer, as suggested, then it is 0 2 + 0 2 = 0 0 mod 2002 0^2 + 0^2 = 0 \equiv 0\ \text{mod}\ 2002 .

Oh, you say, I need to prove it's the only correct answer? Ah.


Complete solution

Let a + 5 b = M a + 5b = M and 5 a b = N 5a - b = N . Then a = M + 5 N 26 , b = 5 M N 26 . a = \frac{M + 5N}{26},\ \ \ \ b = \frac{5M - N}{26}. When substituting this into a 2 + b 2 a^2 + b^2 , then cross-terms with M N MN cancel, and we are left with a 2 + b 2 = 26 M 2 + 26 N 2 2 6 2 = M 2 + N 2 26 . a^2 + b^2 = \frac{26M^2 + 26N^2}{26^2} = \frac{M^2 + N^2}{26}. Since M M and N N are multiples of 2002, the numerator is a multiple of 200 2 2 = 2002 77 26 2002^2 = 2002\cdot 77\cdot 26 ; after division by 26, the result is divisible by 2002 77 2002\cdot 77 , so that division by 2002 will give remainder 0 \boxed{0} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...