OFFSET
1,1
COMMENTS
15135397 is also in the sequence, but may not be the next term.
LINKS
Jorge Coveiro, Possible 'Formula' for Wagstaff numbers, mersenneforum.org.
PROG
(Python)
from itertools import count, islice
from sympy import prime, isprime
def A361563_gen(): # generator of terms
return filter(lambda p: not p&2 and isprime(((1<<p)+1)//3), (prime(n) for n in count(2)))
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Jorge Coveiro, Mar 15 2023
STATUS
approved