OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime[Range[4000]], PrimeQ[8#+3]&&PrimeQ[8#-3]&&PrimeQ[2#+3]&&PrimeQ[2#-3]&]
Select[Prime[Range[20000]], AllTrue[Flatten[{2#+{3, -3}, 8#+{3, -3}}], PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Jun 12 2015 *)
PROG
(Magma) [p: p in PrimesUpTo(1000000)| IsPrime(2*p+3) and IsPrime(2*p-3)and IsPrime(8*p-3) and IsPrime(8*p+3)] // Vincenzo Librandi, Nov 13 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, May 05 2005
STATUS
approved