OFFSET
1,1
MATHEMATICA
lst={}; Do[p=Prime[n]; If[PrimeQ[p+p^2+p^3-8]&&PrimeQ[p+p^2+p^3+8], AppendTo[lst, p]], {n, 2*8!}]; lst
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Jan 15 2009
STATUS
approved