How many pairs of non-negative integers with satisfy the equation ?
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.
Starting from the given equation, we obtain the equivalent equation
( 2 x − y ) 2 + ( x + 1 ) 2 = 6 2 5
Note that 6 2 5 = 2 5 2 . Since x and y are both integers, then the left side of the given equation is the sum of two perfect squares. Since any perfect square is non-negative, then each of these perfect squares is at most 6 2 5 = 2 5 2 . The perfect squares from 0 2 to 2 5 2 are:
0 , 1 , 4 , 9 , 1 6 , 2 5 , 3 6 , 4 9 , 6 4 , 8 1 , 1 0 0 , 1 2 1 , 1 4 4 , 1 6 9 , 1 9 6 , 2 2 5 , 2 5 6 , 2 8 9 , 3 2 4 , 3 6 1 , 4 0 0 , 4 4 1 , 4 8 4 , 5 2 9 , 5 7 6 , 6 2 5
The pairs of perfect squares from this list that have a sum of 6 2 5 are 6 2 5 = 6 2 5 + 0 = 5 7 6 + 4 9 = 4 0 0 + 2 2 5
Therefore, ( 2 x − y ) 2 and ( x + 1 ) 2 equal 2 5 2 and 0 2 in some order, or 2 4 2 and 7 2 in some order, or 2 0 2 and 1 5 2 in some order. Thus, 2 x − y and x + 1 equal ± 2 5 and 0 in some order, or ± 2 4 and ± 7 in some order, or ± 2 0 and ± 1 5 in some order.
Since x ≥ 0 , then x + 1 ≥ 1 , so we need to consider the possibilities that x + 1 = 2 5 , 2 4 , 7 , 2 0 , 1 5 :
If x + 1 = 2 5 , then x = 2 4 . If 2 x − y = 0 and x = 2 4 , then y = 4 8 .
If x + 1 = 2 4 , then x = 2 3 . If 2 x − y = 7 and x = 2 3 , then y = 3 9 ; if 2 x − y = − 7 and x = 2 3 , then y = 5 3 .
If x + 1 = 7 , then x = 6 . If 2 x − y = 2 4 and x = 6 , then y = − 1 2 ; if 2 x − y = − 2 4 and x = 6 , then y = 3 6 .
If x + 1 = 2 0 , then x = 1 9 . If 2 x − y = 1 5 and x = 1 9 , then y = 2 3 ; if 2 x − y = − 1 5 and x = 1 9 , then y = 5 3 .
If x + 1 = 1 5 , then x = 1 4 . If 2 x − y = 2 0 and x = 1 4 , then y = 8 ; if 2 x − y = − 2 0 and x = 1 4 , t h e n y = 4 8 .
From this list, the pairs of non-negative integers ( x , y ) that satisfy the condition 0 ≤ x ≤ y are ( x , y ) = ( 2 4 , 4 8 ) , ( 2 3 , 3 9 ) , ( 2 3 , 5 3 ) , ( 6 , 3 6 ) , ( 1 9 , 2 3 ) , ( 1 9 , 5 3 ) , ( 1 4 , 4 8 ) . There are 7 such pairs.