I am trying to solve the following without using logarithms.
Find the sum of the total number of digits in each of $2^{2006}$ and $5^{2006}$
My attempt:
I know that $d(a\times b)$ for positive integers $a$ and $b$ is one of:
- $d(a) + d(b)$
- $d(a) + d(b) - 1$
As $d(2^{2006} \times 5^{2006}) = d(10^{2006}) = 2007$ this means that $d(2^{2006}) + d(5^{2006})$ is either $2007$ or $2008$.
I cannot figure out a way to outrule one of these possibilities. Please help, and thank you in advance.
Let $a_n$ be the number of digits in $2^n$ and $b_n$ be the number of digits in $5^n$.
Prove by induction that $a_n + b_n = n+1$.
Hints towards a solution:
Note: This is a logarithm proof in disguise, as it boils down to $ \log_{10} 2 + \log_{10} 5 = 1$.