OFFSET
0,67
EXAMPLE
a(0) = 0 since the decimal representation of 0 does not contain the digit 6.
a(6) = 1 since 6 appears once in the decimal expansion of 6.
MATHEMATICA
Array[ DigitCount[#, 10, 6] &, 105, 0]
PROG
(PARI) a(n) = #select(x->x==6, digits(n)); \\ Michel Marcus, Jul 20 2018
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Robert G. Wilson v, Jul 15 2018
STATUS
approved