OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range@ 125, ! Divisible[Prime[# + 7] - Prime[# + 6], 3] &] (* Michael De Vlieger, Mar 18 2016 *)
Drop[Flatten[Position[Partition[Prime[Range[200]], 2, 1], _?(Mod[#[[2]]- #[[1]], 3]!=0&), 1, Heads->False]], 6]-6 (* Harvey P. Dale, Dec 17 2018 *)
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
(PARI) isok(n) = ((prime(n+7) - prime(n+6)) % 3) != 0; \\ Michel Marcus, Mar 18 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 16 2016
STATUS
approved