|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
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 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|