I have an arithmetic exercise as follows: Prove that $2002^{2001}$ and $2002^{2001}+2^{2001}$ have a same number of digits. It seems easy but I don't know how to do. I can do it if $2002$ is replaced by $2000$. Any hints are appreciated.
Thanks a lot!
Basically, the number of digits in a decimal number N is given by $\lfloor{\log_{10}N}\rfloor + 1$
They key is to find an estimate for the base-10 logarithm of the number.
Start with the Taylor expansion of $\ln(1+x)$ and convert that to a base-10 log.
Then try to figure out how to use that to compute a series for $\log_{10}(2002^{2001} + 2^{2001})$
Now see if you can manipulate that into proving that the result is very close to $\log_{10}2002^{2001}$. More precisely, you want to prove that the floor of the base-10 log of one number is equal to the floor of the base-10 log of the other.