At step n the sequence lists the number of occurrences of digit (n mod k), with k>0, in all the numbers from 1 to n. Case k=9.

A136713

At step n the sequence lists the number of occurrences of digit (n mod k), with k>0, in all the numbers from 1 to n. Case k=9.

Terms

    a(0) =1a(1) =1a(2) =1a(3) =1a(4) =1a(5) =1a(6) =1a(7) =1a(8) =0a(9) =2a(10) =1a(11) =1a(12) =1a(13) =1a(14) =1a(15) =1a(16) =1a(17) =1a(18) =12a(19) =3a(20) =2a(21) =2a(22) =2a(23) =2a(24) =2a(25) =2a(26) =2a(27) =13a(28) =13a(29) =4

External references