login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A300399 a(n) = number of primes that end in 7 among the first 10^n primes. 3
2, 24, 254, 2508, 25015, 250014, 2500283, 25000402, 250002505, 2500005319, 25000014226, 250000051446 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A185714(A006988(n)). - Michel Marcus, Mar 20 2018
EXAMPLE
a(1) = 2 because the first 10 primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, among which there are two primes ending in 7.
PROG
(PARI) a(n) = #select(x->((x % 10) == 7), primes(10^n)); \\ Michel Marcus, Mar 07 2018
CROSSREFS
Sequence in context: A187584 A173228 A061190 * A221082 A002006 A230129
KEYWORD
nonn,base,more
AUTHOR
G. L. Honaker, Jr., Mar 05 2018
EXTENSIONS
a(3)-a(8) from Chuck Gaydos
a(9) from Jon E. Schoenfield, Mar 20 2018
a(10)-a(12) from Giovanni Resta, Mar 27 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 18:03 EDT 2024. Contains 371962 sequences. (Running on oeis4.)