OFFSET
1,1
LINKS
Rick L. Shepherd, Table of n, a(n) for n = 1..1000
MATHEMATICA
p6Q[n_]:=With[{c=6^Range[3]}, AllTrue[Join[n+c, n-c], PrimeQ]]; Select[ Prime[ Range[ 50, 200000]], p6Q] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Jun 06 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Rick L. Shepherd, Jun 21 2008
STATUS
approved