|
|
A300398
|
|
a(n) = number of primes that end in 3 among the first 10^n primes.
|
|
3
|
|
|
3, 26, 253, 2515, 25007, 250110, 2500209, 25000135, 250002220, 2500000243, 25000027724, 250000009260
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(1) = 3 because the first 10 primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, among which there are three primes ending in 3.
|
|
PROG
|
(PARI) a(n) = #select(x->((x % 10) == 3), primes(10^n)); \\ Michel Marcus, Mar 07 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
a(3)-a(8) from Chuck Gaydos
|
|
STATUS
|
approved
|
|
|
|