Solve the following equation in positive integers.
x 2 + y 2 = 1 9 9 7 ( x − y )
If there are n integer-pair solutions ( x 1 , y 1 ) , ( x 2 , y 2 ) , ( x 3 , y 3 ) , ⋯ ( x n , y n ) , give your answer as k = 1 ∑ n ( x k + y k ) .
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.
Problem Loading...
Note Loading...
Set Loading...
The equation can be written as ( 2 x − 1 9 9 7 ) 2 + ( 2 y + 1 9 9 7 ) 2 = 2 × 1 9 9 7 2 Since 1 9 9 7 is a prime number that is congruent to 1 modulo 4 , we see that we can factorize this identity into a product of irreducibles in the Gaussian integers Z [ i ] ∣ ∣ ( 2 x − 1 9 9 7 ) + ( 2 y + 1 9 9 7 ) i ∣ ∣ 2 = ( 1 + i ) ( 1 − i ) ( 3 4 + 2 9 i ) 2 ( 3 4 − 2 9 i ) 2 and hence we deduce that ( 2 x − 1 9 9 7 ) + ( 2 y − 1 9 9 7 ) i must be equal to one of u ( 1 + i ) ( 3 4 + 2 9 i ) 2 u ( 1 + i ) ( 3 4 + 2 9 i ) ( 3 4 − 2 9 i ) u ( 1 + i ) ( 3 4 − 2 9 i ) 2 = u ( − 1 6 5 7 + 2 2 8 7 i ) = u ( 1 9 9 7 + 1 9 9 7 i ) = u ( 2 2 8 7 − 1 6 5 7 i ) where u ∈ { 1 , − 1 , i , − i } is a unit. Since x , y > 0 we deduce that ( 2 x − 1 9 9 7 ) + ( 2 y + 1 9 9 7 ) i = ± 1 6 5 7 + 2 2 8 7 i so that possible solutions in positive integers are ( x , y ) = ( 1 8 2 7 , 1 4 5 ) and ( 1 7 0 , 1 4 5 ) . This makes the answer 1 8 2 7 + 1 7 0 + 2 × 1 4 5 = 2 2 8 7 .