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=4.

A136708

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=4.

Terms

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

External references