Problem

Source: Cono Sur Olymipiad, Urugay 1989, Problem#2

Tags:



Find the sum\[1+11+111+\cdots+\underbrace{111\ldots111}_{n\text{ digits}}.\]