OFFSET
1,3
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
lst={}; Do[If[PrimeQ[n^4+2], AppendTo[lst, n]], {n, 0, 10^3}]; lst
Select[Range[0, 1500], PrimeQ[#^4 + 2] &] (* Bruno Berselli, Sep 21 2012 *)
PROG
(PARI) select(n->isprime(n^4+2), vector(2000, n, n-1)) /* Joerg Arndt, Sep 21 2012 */
(Magma) [n: n in [0..1500] | IsPrime(n^4+2)]; // Bruno Berselli, Sep 21 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michel Lagneau, Sep 21 2012
STATUS
approved