If there are integers m and n such that
æ
ç
è
5
4
ö
÷
ø
m

 
= æ
ç
è
2
1
ö
÷
ø
n

 
then
log2
log5/4
is rational and 5m=2n+2m but this is impossible as 2 and 5 are prime so there cannot be integer solutions of this equation.

Now suppose
æ
ç
è
a
b
ö
÷
ø
m

 
= æ
ç
è
c
d
ö
÷
ø
n

 
then amdn=bmcn and, as a and b are coprime, am divides cn and cn divides am so am=cn. Similarly bm=dn.

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
u1
v1
= u2
v2
= ... = uk
vk
.
Similarly for b and d.

This is a very special relationship between a and c and also between b and d so in general this does not happen and there are no positive integers m,n such that
æ
ç
è
a
b
ö
÷
ø
m

 
= æ
ç
è
c
d
ö
÷
ø
n

 
.
Conversely suppose a = p1u1...pkuk and c = p1v1...pkvk and
u1
v1
= u2
v2
= ... = uk
vk
.
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
æ
ç
è
a
b
ö
÷
ø
m

 
= æ
ç
è
c
d
ö
÷
ø
n

 
.