%I #12 Nov 17 2022 16:43:44
%S 1,2,3,4,21,30,33,57,100,142,144,150,198,225,304,513,782,858,3638,
%T 6076,9297,11037,12135,12876,30180,48470
%N Numbers n such that n^2 * 2^n + 1 is prime.
%H Steven Harvey, <a href="http://harvey563.tripod.com/GeneralizedHyperCullen.txt">Generalized HyperCullen Primes</a>
%t Do[ If[ PrimeQ[ n^2*2^n + 1 ], Print[n] ], {n, 1, 5000} ]
%o (PARI) is(n)=ispseudoprime(n^2*2^n+1) \\ _Charles R Greathouse IV_, May 22 2017
%Y Cf. A282400, A058781, A005849.
%K nonn
%O 1,2
%A _Robert G. Wilson v_, Jan 02 2001
%E More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 05 2008
|