|
|
A361563
|
|
Wagstaff numbers that are of the form 4*k + 1.
|
|
1
|
|
|
5, 13, 17, 61, 101, 313, 701, 1709, 2617, 10501, 42737, 95369, 138937, 267017, 374321
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
15135397 is also in the sequence, but may not be the next term.
|
|
LINKS
|
|
|
FORMULA
|
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|