OFFSET
1,1
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[25000], PrimeQ[#] && PrimeQ[#^2 + 3 # + 1] && PrimeQ[#^4 + 6 #^3 + 14 #^2 + 15 # + 5] &] (* Vincenzo Librandi, Nov 19 2014 *)
PROG
(Magma) f:=func<i | i^2+3*i+1>; [p: p in PrimesUpTo(22000) | IsPrime(f(p)) and IsPrime(f(f(p)))]; // Vincenzo Librandi, Nov 19 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Nov 11 2014
STATUS
approved