Find sum of all the positive integral values of and such that is a perfect square.
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.
Let 2 x + 3 y = k 2 for some positive integer k . Now if x were odd, then 2 x leaves a remainder of 2 when divided by 3 , but k 2 can never leave a remainder of 2 when divided by 3 .
Therefore x is even , i.e., x = 2 m for some positive integer m . Thus
3 y = k 2 − 2 2 m = ( k − 2 m ) ( k + 2 m ) , so k − 2 m = 3 a and k + 2 m = 3 b for some non-negative integers a < b with a + b = y . However, 3 b − 3 a = 2 m + 1 , and 3 does not divide 2 m + 1 . Hence a must be 0 , and so b = y . So
k − 2 m = 1 , or k = 2 m + 1 . Also, k + 2 m = 3 y , so 2 m + 1 + 1 = 3 y . Now 2 m + 1 must leave a remainder 2 when divided by 3 , so m must be even ; say m = 2 p for some positive integer p . Thus
2 2 p + 1 + 1 = 3 y , and taking modulo 4 , we get 2 + 1 ≡ ( − 1 ) y ( m o d 4 ) , so y must be even, say y = 2 q , for some positive integer q . So 2 2 p + 1 = 3 2 q − 1 = ( 3 q − 1 ) ( 3 q + 1 ) , and so
3 q − 1 = 2 r and 3 q + 1 = 2 s , where r and s are non-negative and r < s . So now
2 s − 2 r = 2 , or 2 r ( 2 s − r − 1 ) = 2 . Comparing the power of 2 on both sides, we get r = 1 , and so q = 1 and thus p = 1 . Therefore x = 4 and y = 2 , and their sum is 6 .