OFFSET
1,1
EXAMPLE
A twin pack of primes contains 2 or more pairs of twin primes, between which pairs there are no other primes. 137,139,149,151 are in the sequence because they are consecutive primes which belong to more than 1 twin pair. 29,31 are not because both the preceding prime 23 and the next prime 37 are non-twins.
MATHEMATICA
Join[{3}, Flatten[Select[Partition[Prime[Range[300]], 4, 1], #[[2]]-#[[1]] == #[[4]]-#[[3]] == 2&]]// Union] (* Harvey P. Dale, Jan 13 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Neil Fernandez, Mar 23 2002
STATUS
approved