OFFSET
1,1
COMMENTS
Primes in A297663.
EXAMPLE
2^1 + 5*1 = 2 + 5 = 7 is prime.
2^3 + 5*3 = 8 + 15 = 23 is prime.
2^7 + 5*7 = 128 + 35 = 163 is prime.
MAPLE
select(isprime, [seq(2^k + 5*k, k=0..300)]); # Muniru A Asiru, Mar 04 2018
MATHEMATICA
Select[Table[2^n + 5 n, {n, 0, 300}], PrimeQ]
PROG
(Magma) [a: n in [0..450] | IsPrime(a) where a is 2^n + 5*n ];
(PARI) lista(nn) = for(k=1, nn, if(isprime(p=2^k + 5*k), print1(p, ", "))); \\ Altug Alkan, Mar 03 2018
(GAP) Filtered(List([1..300], k->2^k + 5*k), IsPrime); # Muniru A Asiru, Mar 04 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Feb 28 2018
EXTENSIONS
a(12) from Muniru A Asiru, Mar 04 2018
STATUS
approved