A059242 Numbers k such that 2^k + 5 is prime.
1, 3, 5, 11, 47, 53, 141, 143, 191, 273, 341, 16541, 34001, 34763, 42167, 193965, 282203
Offset: 1
Examples
2^3 + 5 = 13 is prime, but 2^4 + 5 = 21 is not.
Links
- Keith Conrad, Square patterns and infinitude of primes, University of Connecticut, 2019.
- Henri Lifchitz and Renaud Lifchitz (Editors), Search for 2^n+5, PRP Top Records.
Crossrefs
Programs
-
Mathematica
Select[Range[20000],PrimeQ[2^#+5]&] (* Vladimir Joseph Stephan Orlovsky, Feb 26 2011 *)
-
PARI
is(n)=ispseudoprime(2^n+5) \\ M. F. Hasler, Apr 23 2015
Extensions
More terms from Santi Spadaro, Oct 04 2002
a(12) from Hans Havermann, Oct 07 2002
a(13)-a(15) from Charles R Greathouse IV, Oct 07 2011
a(16)-a(17) from Robert Price, Dec 06 2013
Comments