# Problems 1621-1630

Q1622 Find the sum of the digits of
$$S=1+11+111+1111+\cdots+\overbrace{11\cdots11}^{999\ \rm digits}\,,$$
where the last term on the right hand side has $999$ digits, all equal to $1$.