OFFSET
1,2
COMMENTS
a(48) > 5*10^5. - Robert Price, Sep 17 2015
LINKS
Henri Lifchitz and Renaud Lifchitz, Search for 2^n+21, PRP Top Records.
EXAMPLE
k = 15, 2^15 + 21 = 32789 is prime.
k = 16, 2^16 + 21 = 65557 is prime.
MATHEMATICA
Do[ If[ PrimeQ[ 2^n + 21 ], Print[ n ] ], {n, 1, 4000} ]
Select[Range[10000], PrimeQ[2^# + 21] &] (* Vincenzo Librandi, Aug 28 2015 *)
PROG
(Magma) [n: n in [0..1000] | IsPrime(2^n+21)]; // Vincenzo Librandi, Aug 28 2015
(PARI) is(n)=isprime(2^n+21) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 16 2000
EXTENSIONS
a(30)-a(47) from Robert Price, Dec 06 2013
a(48) found by Stefano Morozzi, added by Elmo R. Oliveira, Nov 25 2023
STATUS
approved