OFFSET
1,1
COMMENTS
A277118 takes only the values 0, 3, 5, 7, 9, 11, 13, 15, and 17, so these are the indices of maximal terms in A277118.
Let p=A001359(n-1). Then n is in the sequence if and only if we have seven consecutive primes: either {p=30t+29 (t>=0),p+2,p+8,p+12,p+18,p+24,p+30} or {p,p+2,p+8,p+14,p+20,p+24,p+30} or {p,p+2,p+8,p+14,p+18,p+24,p+30}, but p+32 is composite. In the case, when also p+32 is prime, the numbers
{n} form sequence A277512.
LINKS
Vladimir Shevelev, Peter J. C. Moses, Constellations of primes generated by twin primes, arXiv:1610.03385 [math.NT], 2016.
EXAMPLE
a(1)=470, then we have seven primes: p=A001359(469) =30089, 30091, 30097, 30103,30109,30113,30119, but 30121 is composite (cf. comment).
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev and Peter J. C. Moses, Sep 30 2016
STATUS
approved