a(n) = number of numbers with digit sum n, not greater than the n-th repunit (cf. A052222).

A242622

a(n) = number of numbers with digit sum n, not greater than the n-th repunit (cf. A052222).

Terms

    a(0) =1a(1) =1a(2) =2a(3) =6a(4) =21a(5) =77a(6) =287a(7) =1079a(8) =4082a(9) =15522a(10) =59271a(11) =227131a(12) =873051a(13) =3364827a(14) =12998867a(15) =50321075a(16) =195162350a(17) =758156366a(18) =2949614789a(19) =11490869489a(20) =44819531180a(21) =175009397380a(22) =684059403670

External references