Some perfect squares

Find sum of all the positive integral values of x x and y y such that 2 x + 3 y { 2 }^{ x }+{ 3 }^{ y } is a perfect square.


The answer is 6.

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

Shourya Pandey
Jun 8, 2017

Let 2 x + 3 y = k 2 2^x + 3^y = k^2 for some positive integer k k . Now if x x were odd, then 2 x 2^x leaves a remainder of 2 2 when divided by 3 3 , but k 2 k^2 can never leave a remainder of 2 2 when divided by 3 3 .

Therefore x x is even , i.e., x = 2 m x = 2m for some positive integer m m . Thus

3 y = k 2 2 2 m = ( k 2 m ) ( k + 2 m ) 3^y = k^2 - 2^{2m} = (k-2^m)(k+2^m) , so k 2 m = 3 a k-2^m = 3^a and k + 2 m = 3 b k+2^m = 3^b for some non-negative integers a < b a<b with a + b = y a+b = y . However, 3 b 3 a = 2 m + 1 3^b - 3^a = 2^{m+1} , and 3 3 does not divide 2 m + 1 2^{m+1} . Hence a a must be 0 , and so b = y b = y . So

k 2 m = 1 k-2^{m} = 1 , or k = 2 m + 1 k = 2^m + 1 . Also, k + 2 m = 3 y k+ 2^m = 3^y , so 2 m + 1 + 1 = 3 y 2^{m+1} + 1 = 3^{y} . Now 2 m + 1 2^{m+1} must leave a remainder 2 2 when divided by 3 3 , so m m must be even ; say m = 2 p m = 2p for some positive integer p p . Thus

2 2 p + 1 + 1 = 3 y 2^{2p+1} + 1 = 3^y , and taking modulo 4 4 , we get 2 + 1 ( 1 ) y ( m o d 4 ) 2 + 1 \equiv (-1)^y {\pmod 4} , so y y must be even, say y = 2 q y = 2q , for some positive integer q q . So 2 2 p + 1 = 3 2 q 1 = ( 3 q 1 ) ( 3 q + 1 ) 2^{2p+1} = 3^{2q} - 1 = (3^q-1)(3^q+1) , and so

3 q 1 = 2 r 3^q - 1 = 2^r and 3 q + 1 = 2 s 3^q + 1 = 2^s , where r r and s s are non-negative and r < s r<s . So now

2 s 2 r = 2 2^s - 2^r = 2 , or 2 r ( 2 s r 1 ) = 2 2^r(2^{s-r} - 1) = 2 . Comparing the power of 2 2 on both sides, we get r = 1 r= 1 , and so q = 1 q = 1 and thus p = 1 p = 1 . Therefore x = 4 \boxed{x = 4} and y = 2 \boxed{y=2} , and their sum is 6 \boxed{6} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...