

A130432


For digit n from 1 to 9, a(n) = the number of numbers m such that m is equal to the number of n's in the decimal digits of all numbers <= m.


12




OFFSET

1,1


COMMENTS

Note: sequences A101639, A101640 and A101641 are defined so that they exclude 0, so they have 13, 35 and 47 elements, respectively. This sequence counts all the zeros, so elements 2,3,4 of this sequence are 14,36,48.


LINKS



EXAMPLE

a(3)=36 because there are 36 numbers m such that m is equal to the number of 3's in the decimal digits of all numbers <= m.


CROSSREFS



KEYWORD

base,fini,nonn,full


AUTHOR



STATUS

approved



