|
|
A228415
|
|
Count of the first 10^n primes which do not contain the digit 3.
|
|
0
|
|
|
1, 7, 54, 534, 4909, 45405, 385008, 3539880, 32260781, 294001190, 2564080248, 23271246324, 211753431947
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(1) = 7 since there are 7 primes in the first 10 (through 29) that do not contain a 3. Namely: 2, 5, 7, 11, 17, 19, 29.
|
|
MATHEMATICA
|
Table[Length[Select[Range[10^n], DigitCount[Prime[#], 10, 3] == 0 &]], {n, 0, 5}] (* Robert Price, Mar 23 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
more,nonn,base,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|