login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A058779
Even numbers n such that n^2*2^n + 1 is prime.
0
2, 4, 30, 100, 142, 144, 150, 198, 304, 782, 858, 3638, 6076, 12876, 30180, 48470
OFFSET
1,1
REFERENCES
Posting to NMBRTHRY(AT)LISTSERV.NODAK.EDU by Mike Oakes Dec 30 2000 entitled "Gaussian analogues of the Cullen and Woodall primes."
MATHEMATICA
Do[ If[ PrimeQ[ n^2*2^n + 1], Print[n] ], {n, 2, 50000, 2} ]
PROG
(PARI) is(n)=n%2==0 && ispseudoprime(n^2*2^n+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A067195 A080230 A084914 * A359914 A230777 A344582
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Jan 02 2001
STATUS
approved