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!)
A309365 The number of primes between two consecutive lucky numbers, bounds excluded. 2
1, 1, 0, 1, 0, 2, 1, 1, 0, 0, 1, 1, 0, 3, 0, 0, 1, 0, 0, 1, 1, 1, 2, 2, 1, 0, 0, 1, 0, 2, 1, 1, 0, 1, 0, 3, 1, 0, 2, 0, 0, 0, 0, 2, 1, 0, 1, 2, 0, 1, 2, 2, 0, 0, 1, 0, 0, 3, 0, 0, 0, 1, 1, 1, 1, 0, 3, 1, 0, 1, 1, 0, 1, 0, 0, 1, 3, 2, 1, 0, 1, 0, 0, 1, 3, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
EXAMPLE
a(1) = 1 because between the first two lucky numbers (1,3) there is one prime (2).
a(3) = 0 because between 7 and 9 there are no primes.
a(6) = 2 because between 15 and 21 there are two primes (17, 19).
PROG
(SageMath) [len(prime_range(A000959[i]+1, A000959[i+1])) for i in range(200)]
CROSSREFS
Sequence in context: A087812 A288384 A113045 * A204179 A204244 A083093
KEYWORD
nonn
AUTHOR
Hauke Löffler, Jul 25 2019
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 10:00 EDT 2024. Contains 371935 sequences. (Running on oeis4.)