A231412 Count of the first 10^n primes which do not contain the digit 0.
1, 10, 91, 819, 7122, 61702, 557224, 5062320, 45002763, 395879190, 3579400605, 32487367715, 294505958253
Offset: 0
Examples
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.
Programs
-
Mathematica
Table[Length[Select[Range[10^n], DigitCount[Prime[#], 10, 0] == 0 &]], {n, 0, 5}] (* Robert Price, Mar 23 2020 *)
Formula
a(n) <= 9^n. - Charles R Greathouse IV, May 21 2014
Extensions
a(12) from Lucas A. Brown, Mar 19 2024