login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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."

LINKS

Table of n, a(n) for n=1..16.

Index entries for Gaussian integers and 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 * A230777 A241542 A241540

Adjacent sequences:  A058776 A058777 A058778 * A058780 A058781 A058782

KEYWORD

nonn

AUTHOR

Robert G. Wilson v, Jan 02 2001

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 17:21 EDT 2019. Contains 321330 sequences. (Running on oeis4.)