This problem was developed by me, however I have been able to find it somewhere on the internet that says Euler solved it. Though I do not believe in that because it is way too simple for Euler, he would not concern himself with something like that. In addition, I discussed this with a professor and he said he liked to give this problem in his number theory class.

Unlike most diophantine equations this one solves nicely and easily. The reason why I am not in the favor of TD!'s method is because he is introducing the real numbers into this problem, while it only deals with positive integers, though I am sure you can make it work. The standard classical way to appraoch diophantine equation is to work with divisibility between these expressions, which is the approach that will be used here.

---

Let us assume that

are postive integers such as,

.

By trichtonomy

.

Let us first work with

.

Let,

, then we can write,

and

where

.

Thus, the diophantine equation becomes,

.

Thus, we have,

Thus, (note that

)

Note, the right hand side is divisible by

thus the left hand side is divisible by

.

But,

thus,

.

This condition can only happen when,

.

That means

if and only if

for some

.

Substituting this into our diophantine equation,

Thus,

If,

then

.

Thus,

thus,

Dividing both sides by

,

~~~

It should seem clear the right hand side is larger then the left hand side because it is an exponential, but we need to determine when this inequality occurs.

~~~

If

(since

) then,

Since

we go through the values of

and see what happens,

.....

We show by induction that the right hand side is larger for

,

Thus, we have equality only for

in that case,

.

Now we turn to when

we have for the first few values,

We show this is true by induction,

Now it is reasonable to say for larger bases

we can no way get equality. Thus, for

and

we have,

--->Proved.

These inequalities show that

is the only possible solution. We need to check and we see that,

.

---

When,

without loss of generality we have

.

---

When,

we have the trivial solutions.