Let = 2 + 22 + 222 + . . . + the last n-th term. Then = 9 + 99 + 999 + . . . + the last term written with n "9". The k-th term plus 1 is equal to . Therefore, = - . Next, apply the formula for the sum of geometric progression .