OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
C. K. Caldwell, The Prime Pages.
MATHEMATICA
Select[Prime[Range[200]], NoneTrue[#+{2, -2}, PrimeQ]&&MemberQ[ {1, 17, 19, 29}, Mod[ #, 30]]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 04 2019 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Aug 20 2007
STATUS
approved