I am trying to find a proof for below statement. i.e. Given integer N that is a perfect power, show that the exponent is less than the number of digits in N
Show that if N = M^e for some integers M,e > 1 then e ≤ |N| + 1
Not able to find any hints for the same. Any help?
FYI. This question if from book : 'Introduction to Modern Cryptography, Second Edition By Jonathan Katz, Yehuda Lindell' Exercise 8.12 a)
If we let $||N||$ represent the number of digits in $N$, then we have:$$\begin{align} N&=M^e\\ \therefore \log_{10}N&=e\log_{10}M\\ \therefore e&=\frac{\log_{10}N}{\log_{10}M}\lt\frac{||N||}{\log_{10}M}\\ \end{align}$$Now this will give $e\lt||N||$ only when $\log_{10}M\ge1$ which means it is only valid for $M\ge10$