|
|
A228418
|
|
Count of the first 10^n primes which do not contain the digit 6.
|
|
0
|
|
|
1, 10, 90, 719, 6696, 60845, 554933, 4742037, 43331008, 392875212, 3573268469, 31207451849, 282765603085
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(1) = 10 since there are 10 primes in the first 10 (through 29) that do not contain a 6. Namely: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29.
|
|
MATHEMATICA
|
Table[Length[Select[Range[10^n], DigitCount[Prime[#], 10, 6] == 0 &]], {n, 0, 5}] (* Robert Price, Mar 23 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
more,nonn,base,hard,changed
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|