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!)
A358565 a(n) = A358548(n) / 6. 0
1, 1, 1, 1, 2, 1, 1, 1, 2, 2, 1, 2, 1, 1, 3, 1, 2, 3, 1, 1, 2, 1, 5, 1, 1, 2, 1, 1, 1, 2, 2, 3, 1, 5, 1, 1, 4, 1, 2, 3, 2, 2, 1, 2, 1, 2, 2, 2, 1, 2, 6, 1, 1, 3, 1, 1, 3, 4, 1, 1, 1, 3, 1, 3, 3, 4, 3, 2, 4, 2, 2, 1, 2, 3, 1, 3, 1, 4, 3, 2, 1, 1, 3, 1, 1, 5, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,5
COMMENTS
(1/6) * (first differences of consecutive primes of the form 3*k - 1).
LINKS
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
A358565_list = list(islice(A358565_gen(), 30)) # Chai Wah Wu, Jan 05 2023
CROSSREFS
Sequence in context: A266012 A202111 A187759 * A270645 A350239 A268059
KEYWORD
nonn
AUTHOR
Jordan Gunter, Nov 22 2022
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 May 10 04:35 EDT 2024. Contains 372356 sequences. (Running on oeis4.)