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

A136712

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

Terms

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

External references