>>772
log(m^n)=n log(m)
n=log(m^n)/log(m)