Sum the series
The Sum of 1 + 22 + 333 + 4444 + ... to $n$ terms
This is an extension of the NRICH problem called Clickety Click and All the Sixes , where the solution involves summing the series
Each term of the series $1 + 22 + 333 + 4444 +\cdots$ can be written as $k (1 + 10 + 100 + \cdots + 10^{k -1} )$ for some value of $k$. Using geometric series theory each term can be written as $k (10^ {k} -1)/9$. So the sum $S_n$ can be written as
To find the formula for $1.10^1 + 2.10^2 + 3.10^3 + 4.10^4 + \cdots + nx^n$ consider the series
Differentiating this expression and multiplying the derivative by x we get
Hence
So the sum of $n$ terms of the original series is
Note that when $n$ is greater than 9, terms cannot be written with a repeated single digit and the $k^{th}$ term should be treated as $k (10^0 + 10^1 + 10^2 + \cdots + 10^{k-1})$.