MathDB
Digit sum

Source:

July 5, 2015
digit sum

Problem Statement

Let S(n)S(n) be the sum of digits for any positive integer n (in decimal notation). Let N=k=1020031020041S(k)N=\displaystyle\sum_{k=10^{2003}}^{10{^{2004}-1}} S(k). Determine S(N)S(N).