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

A136711

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

Terms

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

External references