OFFSET
1,1
COMMENTS
List of prime numbers that occur in pairs of the form {p, p+6} after the sequential removal, from a list of all the primes, of (1) the one pair of primes of the form {p, p+1}, (2) all remaining twin prime pairs {p, p+2}, and (3) all remaining pairs of the form {p, p+4}.
Conjecture: The sequence has infinitely many terms and the sum of their reciprocals converges.
PROG
(PARI) {
/* For biggest n allocatemem(max)*/
n=10^4-1;
v=vector(n, unused, 1);
for(i=2, sqrt(n),
if(v[i],
forstep(j=i^2, n, i, v[j]=0))
);
v[2]=0; v[3]=0;
for(i=5, n-2,
if(v[i]&&v[i+2],
v[i]=0; v[i+2]=0
)
);
for(i=5, n-4,
if(v[i]&&v[i+4],
v[i]=0; v[i+4]=0;
)
);
for(i=5, n-6,
if(v[i]&&v[i+6],
print1(i", "i+6", ");
v[i]=0; v[i+6]=0;
)
)
}
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Dimitris Valianatos, Nov 12 2016
STATUS
approved