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

A058775
Numbers n such that n * 2^(n/2) - 1 is prime.
0
2, 6, 8, 20, 54, 68, 468, 648, 1100, 1374, 14072, 17790, 20038, 27192, 42692
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^(n/2) - 1], Print[n] ], {n, 1, 100000} ]
Select[Range[2, 43000, 2], PrimeQ[#*2^(#/2)-1]&] (* Harvey P. Dale, Dec 13 2018 *)
PROG
(PARI) is(n)=isprime(n*2^(n/2)-1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A289095 A290160 A290213 * A103023 A341732 A111247
KEYWORD
nonn,easy
AUTHOR
Robert G. Wilson v, Jan 02 2001
STATUS
approved