第 804 题:(2014 AMC 12a, 23)
The fraction \[\dfrac1{99^2}=0.\overline{b_{n-1}b_{n-2}\ldots b_2b_1b_0},\] where $n$ is the length of the period of the repeating decimal expansion. What is the sum $b_0+b_1+\cdots+b_{n-1}$?
$\textbf{(A)}\ 874\qquad \textbf{(B)}\ 883\qquad \textbf{(C)}\ 887\qquad \textbf{(D)}\ 891\qquad \textbf{(E)}\ 892\qquad$
- $\dfrac1{99}=\sum_{k\ge1}100^{-k}$, so $\dfrac1{99^2}=\sum_{j,k\ge1}100^{-j-k}=\sum_{m\ge1}m\cdot100^{-m-1}=0.00\,01\,02\,03\ldots$, i.e.\ the two-digit blocks are $00,01,02,\dots$ as long as there are no carries.
- The blocks $98,99,100,101,\dots$ produce carries: adding them up, the block after $97$ becomes $99$, and then the pattern $00,01,02,\dots$ starts again. So the period is $00\,01\,02\cdots96\,97\,99$, of length $198$.
- In all blocks $00$ to $99$ each digit appears $20$ times, a digit sum of $20\cdot45=900$. Removing the block $98$ leaves $900-17=883$.
- The answer is (B).
The fraction $\dfrac1{81}$ is written as a repeating decimal $0.\overline{b_{n-1}b_{n-2}\ldots b_0}$, where $n$ is the length of the period. What is $b_0+b_1+\cdots+b_{n-1}$?