Ping sent this solution from Thailand.
(1) If
, then
which is impossible as 2
and 5 are prime so there are no positive integer solutions
and
of this equation.
(2) We have
. As
and
are coprime, we get
. Because
and
are coprime, so
. This means
. Similarly,
.
If
and
, then obviously
.
This implies that
and
have the same prime factors. Write
and
and for
all
we have
so that
Similarly for
and
.
This is a very special necessary relationship between
and
and also
between
and
so solutions rarely occur to the equation:
We now show this is a sufficient condition. Conversely suppose
and
and
We call this common ratio
then
for all
and
.
Similarly if corresponding ratios of the powers of the prime factors
of
and
are constant and also equal to
then
giving