OFFSET
1,1
MATHEMATICA
fQ[n_]:=PrimeQ[n^3-24]&&PrimeQ[n^3+24]; lst={}; Do[If[fQ@Prime[n], AppendTo[lst, Prime[n]]], {n, 8!}]; lst
PROG
(Magma) [p: p in PrimesUpTo(50000)|IsPrime(p^3-24) and IsPrime(p^3+24)] // Vincenzo Librandi, Jan 30 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Dec 23 2008
STATUS
approved