OFFSET
1,3
COMMENTS
Property of this sequence: either a(n) is odd == 2 (mod 3), or a(n) =0.
EXAMPLE
a(3)= 17 because between the 3rd and 4th prime triples there are 17 integers: (17,19,23), 24, 25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40, (41,43,47).
MAPLE
MATHEMATICA
Flatten[Differences/@Table[Take[Flatten[Select[Partition[Prime[ Range[ 2000]], 3, 1], Differences[#]=={2, 4}&]], {3n, 3n+1}], {n, 60}]]-1/.{-1->0} (* Harvey P. Dale, Jun 10 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Jun 30 2012
STATUS
approved