login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A231412
Count of the first 10^n primes which do not contain the digit 0.
20
1, 10, 91, 819, 7122, 61702, 557224, 5062320, 45002763, 395879190, 3579400605, 32487367715, 294505958253
OFFSET
0,2
FORMULA
a(n) <= 9^n. - Charles R Greathouse IV, May 21 2014
EXAMPLE
a(2) = 91 = 100-9 since only 9 primes less than 541 (the 100th prime) contain a zero. Namely: 101, 103, 107, 109, 307, 401, 409, 503, 509.
MATHEMATICA
Table[Length[Select[Range[10^n], DigitCount[Prime[#], 10, 0] == 0 &]], {n, 0, 5}] (* Robert Price, Mar 23 2020 *)
KEYWORD
nonn,base,more,hard
AUTHOR
Robert Price, Nov 08 2013
EXTENSIONS
a(12) from Lucas A. Brown, Mar 19 2024
STATUS
approved