A058780 Numbers n such that n^2 * 2^n + 1 is prime.
1, 2, 3, 4, 21, 30, 33, 57, 100, 142, 144, 150, 198, 225, 304, 513, 782, 858, 3638, 6076, 9297, 11037, 12135, 12876, 30180, 48470
Offset: 1
Keywords
Links
- Steven Harvey, Generalized HyperCullen Primes
Programs
-
Mathematica
Do[ If[ PrimeQ[ n^2*2^n + 1 ], Print[n] ], {n, 1, 5000} ]
-
PARI
is(n)=ispseudoprime(n^2*2^n+1) \\ Charles R Greathouse IV, May 22 2017
Extensions
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 05 2008