1000 randRange( 2, 16 ) randRange( 2, 5 ) pow( base, answer) get_power_string(number, base)

\log_{base}number = {?}

answer

If \log_{b}x=y, then b^y=x.

First, try to write number, the number we are taking the logarithm of, as a power of base, the base of the logarithm.

number can be expressed as power_string.

number can be expressed as base^answer.

base^answer=number, so \log_{base}number=answer.