Q. Let denote the sum of the digits of a positive integer n. e.g.
Then, the value of is

 2507  180 KEAMKEAM 2015Sequences and Series Report Error

Solution:

Sum of digits of counting numbers 1 to 99 .
We know that, in 1 to 99 , there is 20 times 1,20 times 2, 20 times times 9 and 9 times zero.
So,