OFFSET
1,1
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime[Range[400]], ! PrimeQ[# + 6] && ! PrimeQ[# + 12] && ! PrimeQ[# + 18] &] (* T. D. Noe, Dec 10 2013 *)
Select[Prime[Range[400]], AllTrue[#+{6, 12, 18}, CompositeQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Apr 15 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Dec 07 2013
STATUS
approved