login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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
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
KEYWORD
nonn
AUTHOR
Hauke Löffler, Jul 25 2019
STATUS
approved