\(S1=9+99+999+.....+9999....\)
\(=9^1+9^2+9^3+......+9^{10}\)
\(\Rightarrow9.S1=9^2+9^3+....+9^{11}\)
\(\Rightarrow9S1-S1=\left(9^2+9^3+.....+9^{11}\right)-\left(9^1+9^2+....+9^{10}\right)\)
\(\Rightarrow8S1=9^{11}-9\)
\(\Rightarrow S1=\frac{9^{11}-9}{8}\)