Question 2311
The fraction \[ \dfrac{1}{99^2} = 0.\overline{b_{n-1} b_{n-2} \dots b_2 b_1 b_0}, \] where $n$ is the length of the period of the repeating decimal expansion. What is the sum $b_0 + b_1 + \dots + b_{n-1}$?
Xem đáp án và lời giải
Đáp án: $883$
Notice that $99^2 = 9801$. Multiplying by $10^n$ and subtracting: \[ \dfrac{10^n - 1}{9801} = \overline{b_{n-1} b_{n-2} \dots b_1 b_0}. \] Notice the identity: \[ \dfrac{1}{99^2} = \left(\dfrac{1}{99}\right)^2 = (0.010101\dots)^2 = \sum_{k=1}^\infty \dfrac{k}{100^{k+1}} = 0.00 01 02 03 \dots 96 97 99 00\dots \] Notice that the two-digit blocks are $00, 01, 02, \dots, 97, 99$ (the block $98$ is skipped because $98 + 1 = 99$, carrying over from $100$). The period contains $99$ blocks of $2$ digits each, so the period length is: \[ n = 99 \times 2 = 198. \] The two-digit blocks in the period are all numbers from $00$ to $99$ except $98$: The sum of all numbers from $0$ to $99$ is: \[ \sum_{k=0}^{99} k = \dfrac{99 \times 100}{2} = 4950. \] Excluding $98$: The sum of the values of the blocks is $4950 - 98 = 4852$. Now we sum the individual digits: The digits appearing in all two-digit numbers from $00$ to $99$ are: Each digit $0, 1, \dots, 9$ appears $10$ times as a tens digit and $10$ times as a units digit: \[ \text{Total digit sum} = 20 \times (0 + 1 + \dots + 9) = 20 \times 45 = 900. \] Since the block $98$ is missing, we subtract the digits of $98$: \[ 900 - (9 + 8) = 900 - 17 = 883. \] Thus, the sum of the digits in the period is $883$.