Let S denote the value of the infinite sum 91+991+9991+99991+⋯ Find the remainder when the greatest integer less than or equal to 10100S is divided by 1000.
Your answer
Integer from 0 to 999
Show solution
Solution
Each term is 10k−11=∑j≥110−kj, so summing over k and collecting the exponent n=kj,S=n≥1∑10nd(n), where d(n) is the number of divisors of n. Hence 10100S=∑n=1100d(n)10100−n+T with T=∑m≥1d(100+m)10−m.
From d(101)=2,d(102)=8,d(103)=2,d(104)=8, the tail starts 0.2+0.08+0.002+0.0008=0.2828, and since d(N)<2N, the remaining terms contribute less than ∑m≥510m2100+m<0.001. So 0<T<1 and ⌊10100S⌋=n=1∑100d(n)10100−n.
Modulo 1000, every term with n≤97 is a multiple of 1000, leaving d(98)⋅100+d(99)⋅10+d(100). Since d(98)=6,d(99)=6, and d(100)=9, the remainder is 600+60+9=669.