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. 179, 181, 191, 193, 197, 199 are in the sequence because they are consecutive primes which belong to more than 2 twin pairs. 137, 139, 149, 151 are not because they belong to a pack of only 2 pairs.
MATHEMATICA
lst={3}; d=2; Do[p0=Prime[n+0]; p1=Prime[n+1]; p2=Prime[n+2]; p3=Prime[n+3]; p4=Prime[n+4]; p5=Prime[n+5]; d1=p1-p0; d2=p3-p2; d3=p5-p4; If[d1==d&&d2==d&&d3==d, AppendTo[lst, p0]; AppendTo[lst, p1]; AppendTo[lst, p2]; AppendTo[lst, p3]; AppendTo[lst, p4]; AppendTo[lst, p5]], {n, 10^4}]; Union[lst] (* Vladimir Joseph Stephan Orlovsky, Aug 08 2008 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Neil Fernandez, Mar 24 2002
STATUS
approved