← RoseCode

ROSECODE 562

The number with digit sum 10

C_K_Yang · Math ·

Writing down the numbers which have a digit sum of 10 in ascending order, we get: 19,28,37,46,55,64,73,82,91,109,118,

Let f(n) be the nth occurrence of the digit sum 10. For example, f(1)=19, f(10)=109 and f(100)=1423.

Let S(k)=n=1kf(n). For example S(100)=67582 and S(105)=178986850167799.

Find i=1100S(11i).

Give your answer modulo (1018+3)