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 ) .
Find x 0 + y 0 + k 0 .
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.
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)
2 5 + 7 2 = 9 2 ⟹ 2 + 5 + 7 = 1 6
Problem Loading...
Note Loading...
Set Loading...
Let k 2 = w . By the given information, we can assume that w is a multiple of 3 and also a perfect square. The possible value of w = { 9 , 8 1 , 7 2 9 , etc } . First, let w = 8 1 , then k = 9 . Now, we are going to do some trial and error.
If y = 1 , then there's no positive integer solution for x .
If y = 2 , then 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 ) } are the only solutions. The rest, you know what to do.