login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A277255 Let A_n defined in the same way as A159559, but with initial term prime(n); a(n) is the smallest number m such that A_(n+1)(m) - A_n(m) > 6 or a(n)=0 if there is no such m. 1
0, 13, 0, 0, 9, 0, 0, 13, 0, 15, 0, 9, 0, 0, 11, 0, 17, 13, 11, 7, 5, 3, 2, 0, 11, 7, 5, 3, 2, 7, 5, 3, 2, 15, 0, 9, 0, 7, 5, 3, 2, 7, 5, 3, 2, 2, 9, 0, 7, 5, 3, 2, 0, 0, 11, 0, 7, 5, 3, 2, 2, 7, 5, 3, 2, 3, 2, 7, 5, 3, 2, 11, 7, 5, 3, 2, 3, 2, 2, 3, 2, 11, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,2

COMMENTS

A277118 is a subsequence. In contrast to A277118, the sequence contains some terms greater than 17. The first occurrence for 19 is n = 7061; the first occurrence for 21 is n = 214612 and the first occurrence for 23 is n = 30572.

LINKS

Peter J. C. Moses, Table of n, a(n) for n = 2..5001

Vladimir Shevelev, Peter J. C. Moses, Constellations of primes generated by twin primes, arXiv:1610.03385 [math.NT], 2016.

FORMULA

a(n)=2 if and only if prime(n+1) - prime(n) >=8.

CROSSREFS

Cf. A159559, A277118.

Sequence in context: A277118 A200065 A067155 * A255288 A221341 A221106

Adjacent sequences:  A277252 A277253 A277254 * A277256 A277257 A277258

KEYWORD

nonn

AUTHOR

Vladimir Shevelev and Peter J. C. Moses, Oct 22 2016

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 10 13:12 EDT 2022. Contains 356039 sequences. (Running on oeis4.)