OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime[Range[5000]], PrimeQ[#^2 + 3 # - 3] && PrimeQ[#^3 + 3 #^2 - 3]&] (* Vincenzo Librandi, Apr 10 2013 *)
PROG
(Magma) [p: p in PrimesUpTo(20000) |IsPrime(p^2+3*p-3)and IsPrime(p^3+3*p^2-3)];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 14 2010
STATUS
approved