OFFSET
1,1
LINKS
Jean-François Alcover, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Prime Triplet
MATHEMATICA
Reap[For[p = 2, p < 2000, p = NextPrime[p], If[PrimeQ[p + 6],
If[PrimeQ[q = p + 2], Sow[q],
If[PrimeQ[q = p + 4], Sow[q]]]]]][[2, 1]] (* Jean-François Alcover, Dec 12 2021 *)
Select[Partition[Prime[Range[400]], 3, 1], #[[1]]+6==#[[3]]&][[;; , 2]] (* Harvey P. Dale, May 01 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Sep 07 2004
STATUS
approved