The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A361562 Wagstaff numbers that are of the form 4*k + 3. 1
3, 7, 11, 19, 23, 31, 43, 79, 127, 167, 191, 199, 347, 3539, 5807, 10691, 11279, 12391, 14479, 83339, 117239, 127031, 141079, 269987, 986191, 4031399 (list; graph; refs; listen; history; text; internal format)
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.
FORMULA
Intersection of A000978 and A002145.
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)))
A361562_list = list(islice(A361562_gen(), 10)) # Chai Wah Wu, Mar 21 2023
CROSSREFS
Cf. A000978 (Wagstaff numbers), A002145 (primes of form 4*k+3), A112633, A361563.
Sequence in context: A002052 A369249 A092109 * A277878 A117991 A118260
KEYWORD
nonn,more
AUTHOR
Jorge Coveiro, Mar 15 2023
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 13 21:17 EDT 2024. Contains 372523 sequences. (Running on oeis4.)