- Please expound in Simple English. My child is 14. User797616 answered
$n \le \color{red}{9 \cdot 10^{k - 1} + 9 \cdot 10^{k - 2} + \ldots + 9 \cdot 10 + 9} \color{limegreen}{= 10^k - 1} < 10^k.$
I use formula to sum this finite geometric series.
Then red sum has $k - 1$ terms, and $= 10^{k - 1} \left[\dfrac{1 - (10^{-1})^{k - 1}}{1 - 10^{-1}}\right] = 10^{k - 1} \left[\ \dfrac{1 - (10)^{1 - k}}{\dfrac{9}{10}} \right] = 10^k \left[\ \dfrac{1 - (10)^{1 - k}}{9}\right] $. Now what?
- Can you please detail and expatiate all these steps in the last sentences of Brian M. Scott's answer?
If you now take the floor (= integer part) of $\log_{10}n$, throwing away everything to the right of the decimal point, you get $\lfloor\log_{10}n\rfloor=d-1$. Thus, $d=\lfloor\log_{10}n\rfloor+1$. This isn’t quite what you posted, but it’s the integer part of it, and clearly the number of digits must be an integer.
How exactly does $\log_{10}n$ throw away everything to the right of the decimal point? Then how does $\lfloor\log_{10}n\rfloor=d-1$? If "This isn’t quite what you posted, but it’s the integer part of it, and clearly the number of digits must be an integer", then did Brian M. Scott fully answer the question? Or is there any unfinished step or work?