Ping sent this solution from Thailand.
(1) If 5m=4m 2n, then 5 = 22m + n which is impossible as 2
and 5 are prime so there are no positive integer solutions m and
n of this equation.
(2) We have amdn=cnbm. As a and b are coprime, we get
am|cn. Because c and d are coprime, so cn|am. This means
am=cn. Similarly, bm=dn.
If am=cn and bm=dn, then obviously (a/b)m=(c/d)n.
This implies that am and cn have the same prime factors. Write
a = p1u1...pkuk and c = p1v1...pkvk and for
all j we have muj = nvj so that
u1v1
=
u2v2
= ... =
ukvk
=
mn
.
Similarly for b and d.
This is a very special necessary relationship between a and c and also
between b and d so solutions rarely occur to the equation:
æ ç
è
54
ö ÷
ø
m
=
æ ç
è
21
ö ÷
ø
n
.
We now show this is a sufficient condition. Conversely suppose
a = p1u1...pkuk and c = p1v1...pkvk and
u1v1
=
u2v2
= ... =
ukvk
.
We call this common ratio n/m then ujm=vjn for all
j and am = bn.
Similarly if corresponding ratios of the powers of the prime factors
of b and d are constant and also equal to n/m then
bm=dn giving