login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A309365 The number of primes between two consecutive lucky numbers, bounds excluded. 1
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

Table of n, a(n) for n=1..87.

EXAMPLE

a(1) = 1 because between the first two lucky numbers (1,3) is one prime (2). a(3) = 0 because between 7 and 9 are no primes. a(6) = 2 because between 15 and 21 are two primes (17, 19).

PROG

(SageMath) [len(prime_range(A000959[i]+1, A000959[i+1])) for i in range(200)]

CROSSREFS

Cf. A000040, A000959, A309367.

Sequence in context: A087812 A288384 A113045 * A204179 A204244 A083093

Adjacent sequences:  A309362 A309363 A309364 * A309366 A309367 A309368

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 24 07:56 EDT 2021. Contains 345416 sequences. (Running on oeis4.)