OFFSET
1,3
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
select(t->isprime(t^5+2), [$0..10000]); # Robert Israel, Jan 01 2021
MATHEMATICA
lst={}; Do[If[PrimeQ[n^5+2], AppendTo[lst, n]], {n, 0, 10^3}]; lst
PROG
(PARI) select(n->isprime(n^5+2), vector(2000, n, n-1)) /* Joerg Arndt, Sep 21 2012 */
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Sep 21 2012
STATUS
approved