That's a big number

x n y n = 2 2016 \large x^n - y^n = 2^{2016}

x x , y y and n n are positive integers, with n > 1 n>1 such that the above is true. How many solutions in ( x , y , n ) (x, y, n) are there?


The answer is 1007.

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

Sharky Kesa
Dec 31, 2016

My solution to this question was using a case bash.

Case 1: n > 1 n > 1 is odd

We will show this has no solutions for the general case x n y n = 2 k x^n - y^n = 2^k , where k k is a non-negative integer. Assume such a solution exists, such that k k is minimal.

By parity, x x and y y are either both odd or both even. If they are both odd, we have

( x y ) ( x n 1 + x n 2 y + + y n 1 ) = 2 k (x-y)(x^{n-1} + x^{n-2} y + \ldots + y^{n-1}) = 2^k

There are an odd number of odd terms in the second bracket so this is impossible. Therefore, x x and y y are both even. Let x = 2 a x=2a and y = 2 b y=2b . We have

2 n a n 2 n b n = 2 k a n b n = 2 k n \begin{aligned} 2^n a^n - 2^n b^n &= 2^k\\ a^n - b^n &= 2^{k-n} \end{aligned}

If k n > 0 k-n>0 , then this contradicts the minimality argument. If k n = 0 k-n=0 , we have a n b n = 1 a^n - b^n = 1 , which is impossible for odd n > 1 n>1 . Therefore, there are no solutions.

Case 2: n = 2 n=2

x 2 y 2 = 2 2016 ( x + y ) ( x y ) = 2 2016 x + y = 2 a x y = 2 b x = 2 a 1 + 2 b 1 y = 2 a 1 2 b 1 ( a , b ) = ( 2015 , 1 ) , ( 2014 , 2 ) , , ( 1009 , 1007 ) \begin{aligned} x^2 - y^2 &= 2^{2016}\\ \implies (x+y)(x-y) &= 2^{2016}\\ \implies x+y &= 2^a\\ x-y &= 2^b\\ \implies x &= 2^{a-1} + 2^{b-1}\\ y &= 2^{a-1} - 2^{b-1}\\ \implies (a, b) &= (2015, 1), (2014, 2), \ldots, (1009, 1007) \end{aligned}

Therefore, there are 1007 solutions in this case.

Case 3: n = 4 n=4

x 4 y 4 = 2 2016 y 4 + ( 2 504 ) 4 = x 4 \begin{aligned} x^4 - y^4 &= 2^{2016}\\ y^4 + (2^{504})^4 &= x^4\\ \end{aligned}

This has no solutions by Fermat's Last Theorem .

Case 4: n > 4 n>4 , n n is even

We will show this has no solutions for the general case x n y n = 2 k x^n - y^n = 2^k , where k k is a non-negative integer. Assume such a solution exists, such that n n is minimal. Let n = 2 m n=2m . We then have

x 2 m y 2 m = 2 k ( x m y m ) ( x m + y m ) = 2 k \begin{aligned} x^{2m} - y^{2m} &= 2^k\\ (x^m - y^m)(x^m + y^m) &= 2^k\\ \end{aligned}

From this, we must have x m y m = 2 a x^m - y^m = 2^a , for a non-negative integer a k a\leq k . Either m m is even and strictly greater than 4, m = 4 m=4 (case 3) or m m is odd (case 1). Since there are no solutions in case 1 or 3, hence m m is even and strictly greater than 4. This creates a contradiction since we assumed k k to be minimal. Therefore, no solutions exist for n n even and n > 4 n>4 .


Overall these cases, there is a total of 1007 solutions.

[Solution has been edited, so this comment might not make sense.]

I'm not sure what the argument in case 3 is. Why couldn't we have n = 6 , m = 3 n = 6, m = 3 ? It might make more sense if case 4 was done before case 3.

Calvin Lin Staff - 4 years, 5 months ago

Log in to reply

Sorry, there was a small typo in the concluding statement. It was meant to refer to the minimality of k k , as opposed to n n .

Sharky Kesa - 4 years, 5 months ago

Log in to reply

Then, for case 3, can you update "Assume such a solution exists, such that n n is minimal" into k k ?

But still, what is the contradiction? Why can't we have x 6 y 6 = 2 k x^6 - y^6 = 2^k and x 3 y 3 = 2 l x^3 - y^3 = 2 ^ l for some l < k l < k ? We have not shown that x 3 y 3 = 2 l x^3 - y^3 = 2^l cannot be attained, nor is it a "smaller" solution set of this case.

This is why I think it would make more sense if case 4 was done before case 3.

Calvin Lin Staff - 4 years, 5 months ago

Log in to reply

@Calvin Lin I see what you mean. Yeah, I'll fix that.

Sharky Kesa - 4 years, 5 months ago

Log in to reply

@Sharky Kesa Looks much better now. Thanks!

I edited the case 4 argument slightly, to better express why we have the contradiction.

Calvin Lin Staff - 4 years, 5 months ago

Since there are no solutions for n 3 n \ge 3 , there are no solutions when n 3 n \ge 3 has an odd prime factor, and hence we only need consider the cases where n n is a power of 2 2 . If x 2 m y 2 m = 2 2016 x^{2^m} - y^{2^m} \; = \; 2^{2016} then x 2 m 1 = 2 1007 + a + 2 1007 a , y 2 m 1 = 2 1007 + a 2 1007 a 1 a 1007 x^{2^{m-1}} \; = \; 2^{1007+a} + 2^{1007-a}\;,\; y^{2^{m-1}} \; = \; 2^{1007+a} - 2^{1007-a} \hspace{2cm} 1 \le a \le 1007 If m 2 m \ge 2 then y 2 m 1 = 2 1007 a ( 2 2 a 1 ) y^{2^{m-1}} \; = \; 2^{1007-a}(2^{2a}-1) is a perfect square, and hence a a is odd and 2 2 a 1 2^{2a}-1 is a perfect square, which is impossible. Thus the only possibility is m = 1 m=1 , so that n = 2 n=2 , and we have our 1007 1007 solutions.

Mark Hennings - 4 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...