Seven more than a power of two

2 x + 7 y = k 2 \large 2^x + 7^y = k^2

The above equation has 2 triplets of positive integer solutions, namely ( x , y , k ) = ( 1 , 1 , 3 ) , ( x 0 , y 0 , k 0 ) (x,y,k) = (1,1,3) , (x_0, y_0, k_0) .

Find x 0 + y 0 + k 0 x_0 + y_0 + k_0 .


The answer is 16.

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.

3 solutions

Fidel Simanjuntak
Mar 10, 2017

Let k 2 = w k^{2} = w . By the given information, we can assume that w w is a multiple of 3 3 and also a perfect square. The possible value of w = { 9 , 81 , 729 , etc } w = \{ 9, 81, 729, \text{etc} \} . First, let w = 81 w= 81 , then k = 9 k=9 . Now, we are going to do some trial and error.

If y = 1 y = 1 , then there's no positive integer solution for x x .

If y = 2 y= 2 , then x = 5 x= 5 .

By the given information, there's only two triplets of positive integer that satisfy the equation above. Then, we have ( x , y , k ) = { ( 1 , 1 , 3 ) , ( 5 , 2 , 9 ) } (x,y,k) = \{ (1,1,3) , (5,2,9) \} are the only solutions. The rest, you know what to do.

Viki Zeta
Mar 10, 2017

Solutions generator:

for x in range(10):
    for y in range(10):
        for k in range(10):
            a = 2 ** x
            b = 7 ** y
            c = k ** 2

            if a+b == c:
                print (x, y, k)
Hana Wehbi
Apr 1, 2017

2 5 + 7 2 = 9 2 2 + 5 + 7 = 16 2^5+7^2=9^2 \implies 2+5+7=16

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...