Solution :
Suppose that and
. Then
and
. Therefore,
and
. Now,
. Thus, in this case there is no solution.
The case leads to the solution
, n is any natural number.
The case leads to the solution
, k is any natural number.