OFFSET
1,1
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A270190(n) - 6.
EXAMPLE
MATHEMATICA
Select[Range@ 210, Divisible[Prime[# + 7] - Prime[# + 6], 3] &] (* Michael De Vlieger, Mar 18 2016 *)
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