|
|
A228413
|
|
Count of the first 10^n primes which do not contain the digit 1.
|
|
20
|
|
|
1, 6, 54, 532, 4675, 34425, 262549, 2051466, 16831152, 155616459, 1529462564, 14830618421, 141585123501
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(2) = 54 since there are 54 primes less than 541 (the 100th prime) that do not contain a 1. Namely: 2, 3, 5, 7, 23, 29, ..., 523.
|
|
MATHEMATICA
|
Table[Length[Select[Range[10^n], DigitCount[Prime[#], 10, 1] == 0 &]], {n, 0, 5}] (* Robert Price, Mar 23 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|