OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
n=3: n^4 = 81; {79,83} are primes.
MATHEMATICA
lst={}; Do[p1=n^4-2; p2=n^4+2; If[PrimeQ[p1]&&PrimeQ[p2], AppendTo[lst, n]], {n, 0, 8!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jan 17 2009 *)
Select[Range[730000], AllTrue[#^4 + {2, -2}, PrimeQ] &] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Jan 02 2018 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Labos Elemer, May 21 2002
STATUS
approved