OFFSET
2,5
COMMENTS
(1/6) * (first differences of consecutive primes of the form 3*k - 1).
PROG
(Python)
from itertools import islice
from sympy import isprime
def A358565_gen(): # generator of terms
p, q = 5, 11
while True:
while not isprime(q):
q += 3
yield (q-p)//6
p = q
q += 3
CROSSREFS
KEYWORD
nonn
AUTHOR
Jordan Gunter, Nov 22 2022
STATUS
approved