Source TeX:
\log\left({a^n}\right) = n\log(a)