OFFSET
0,2
FORMULA
a(n) < 9^n. - Charles R Greathouse IV, May 21 2014
EXAMPLE
a(1) = 7 since there are 7 primes less than 29 (the 10th prime) that do not contain a 2. Namely: 3, 5, 7, 11, 13, 17, 19.
MATHEMATICA
Table[Length[Select[Range[10^n], DigitCount[Prime[#], 10, 2] == 0 &]], {n, 0, 5}] (* Robert Price, Mar 23 2020 *)
CROSSREFS
KEYWORD
more,nonn,base,hard
AUTHOR
Robert Price, Nov 09 2013
EXTENSIONS
a(12) from Lucas A. Brown, Mar 19 2024
STATUS
approved