OFFSET
1,2
COMMENTS
a(19) = 15619 corresponds to a probable prime. - Jon E. Schoenfield, Feb 28 2018
MAPLE
a:=n->`if`(isprime(2^n+5*n), n, NULL): seq(a(n), n=1..7000); # Muniru A Asiru, Mar 10 2018
MATHEMATICA
Select[Range[7000], PrimeQ[2^# + 5 #] &]
PROG
(Magma) [n: n in [0..2000] |IsPrime(2^n+5*n)];
(PARI) isok(k) = isprime(2^k + 5*k); \\ Altug Alkan, Mar 03 2018
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Vincenzo Librandi, Feb 28 2018
EXTENSIONS
a(19) from Jon E. Schoenfield, Feb 28 2018
a(20)-a(23) from Daniel Suteu, Mar 11 2018
a(24) from Michael S. Branicky, Mar 28 2023
a(25)-a(26) from Michael S. Branicky, Jun 23 2024
STATUS
approved