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”).

A058778
Numbers n such that n^2*2^n - n*2^((n + 1)/2) + 1 is prime.
0
3, 5, 19, 25, 29, 47, 167, 407, 3909, 4433, 4845, 4921, 30349, 78873
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 - n*2^((n + 1)/2) + 1], Print[n] ], {n, 1, 100000, 2} ]
PROG
(PARI) is(n)=ispseudoprime(n^2*2^n-n*2^((n+1)/2)+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A243898 A243900 A095826 * A211439 A088785 A277688
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Jan 02 2001
STATUS
approved