OFFSET
1,1
COMMENTS
13347311 and 13372531 are also in the sequence, but may not be the next terms.
LINKS
Jorge Coveiro, Possible 'Formula' for Wagstaff numbers, mersenneforum.org.
PROG
(Python)
from itertools import count, islice
from sympy import prime, isprime
def A361562_gen(): # generator of terms
return filter(lambda p: 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