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!)
A366134 Number of primes between prime(n) and prime(n)+2*log(prime(n)), exclusive. 0
1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 1, 2, 2, 1, 1, 1, 1, 2, 3, 2, 2, 1, 0, 1, 2, 1, 0, 2, 1, 2, 2, 1, 2, 1, 1, 3, 2, 1, 0, 0, 3, 2, 2, 2, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 0, 3, 2, 1, 0, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, 3, 2, 2, 1, 2, 3, 2, 1, 1, 2, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,12
COMMENTS
Inspired by A365573.
LINKS
FORMULA
Conjecture: Limit_{N->oo} (Ratio_{n=1..N} a(n)=0) = 1/e^2 (A092553).
MATHEMATICA
a[n_]:=PrimePi[Prime[n]+2Log[Prime[n]]]-PrimePi[Prime[n]]; Array[a, 95] (* Stefano Spezia, Sep 30 2023 *)
PROG
(PARI) a(n) = primepi(prime(n)+2*log(prime(n))) - primepi(prime(n))
CROSSREFS
Sequence in context: A337763 A109072 A100727 * A064892 A236344 A333124
KEYWORD
nonn
AUTHOR
Alain Rocchelli, Sep 30 2023
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 September 16 04:06 EDT 2024. Contains 375959 sequences. (Running on oeis4.)