OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
For p=2, 2*2^4-+15=(17,47); p=2, 2*7^4-+15=(4787,4817).
MATHEMATICA
okQ[n_]:=Module[{c=2n^4}, PrimeQ[c+15]&&PrimeQ[c-15]]; Select[Prime[ Range[ 8800]], okQ] (* Harvey P. Dale, Apr 23 2011 *)
Select[Prime[Range[1000]], And@@PrimeQ[2 #^4 + {15, -15}]&] (* Vincenzo Librandi, Apr 10 2013 *)
PROG
(Magma) [p: p in PrimesUpTo(100000)|IsPrime(2*p^4-15) and IsPrime(2*p^4+15)];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 17 2010
STATUS
approved