|
|
A228417
|
|
Count of the first 10^n primes which do not contain the digit 5.
|
|
0
|
|
|
1, 9, 85, 708, 6635, 60640, 535534, 4737129, 43297195, 392641522, 3536880527, 31067514571, 282635824867
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(1) = 9 since there are 9 primes in the first 10 (through 29) that do not contain a 5. Namely: 2, 3, 7, 11, 13, 17, 19, 23, 29.
|
|
MATHEMATICA
|
Table[Length[Select[Range[10^n], DigitCount[Prime[#], 10, 5] == 0 &]], {n, 0, 5}] (* Robert Price, Mar 23 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
more,nonn,base,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|