Sum of series $1+11+111+\cdots+11\cdots11$ ($n$ digits)
We have:
$1=(10-1)/9,$
$11=(10^2-1)/9$
.
.
.
$11...11=(10^n-1)/9$
and summing them we find the sum(S) as:
$S=(10^{n+1}-9n-10)/81$
Also the general form of terms is:
$s(n)=(10^{n+1}-10^n-9)/81$
Due to definition of integral we can write:
$S=(1/81)\sum (10^{x+1}-10^x-9), [1, ∞]$
$ =(1/81)∫(10^{x+1}-10^x-9)dn ;[0, 1]$
but it does not work. Can someone says what is wrong i.e why the integral does
not give $S$ as I mentioned first?