Number of times 1 is used in writing out all numbers 1 through 10^n.

A094797

Number of times 1 is used in writing out all numbers 1 through 10^n.

Terms

    a(0) =1a(1) =2a(2) =21a(3) =301a(4) =4001a(5) =50001a(6) =600001a(7) =7000001a(8) =80000001a(9) =900000001a(10) =10000000001a(11) =110000000001

External references