OFFSET
1,1
COMMENTS
Subsequence of primes of A216976. - Michel Marcus, Aug 24 2015
All terms == 5 (mod 6). - Robert Israel, Sep 22 2019
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
11^5 + 2 = 161053 is a prime.
MAPLE
filter:= proc(p) isprime(p) and isprime(p^5+2) end proc:
select(filter, [seq(i, i=5..10000, 6)]); # Robert Israel, Sep 22 2019
MATHEMATICA
Select[Prime[Range[1000]], PrimeQ[#^5 + 2] &]
PROG
(Magma) [p: p in PrimesUpTo(12000) | IsPrime(p^5+2)];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Aug 24 2015
STATUS
approved