login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A276767 Let A_n be the sequence defined in the same way as A159559 but with initial term prime(n), n>=2; a(n) is the smallest m such that for i>=2, A_n(i) - A_2(i) <= A_n(m) - A_2(m). 4
2, 5, 17, 17, 17, 359, 359, 359, 163, 163, 163, 163, 163, 163, 163, 163, 163, 448, 448, 448, 448, 448, 448, 71, 71, 71, 17, 17, 443, 443, 443, 443, 443, 443, 37, 37, 2789, 2789, 2789, 2789, 2789, 2789, 2789, 2789, 2789, 2789, 2789, 2789, 2789, 2789, 2789, 2789 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,1

COMMENTS

By definition, A_2 = A159559.

LINKS

Table of n, a(n) for n=2..53.

EXAMPLE

Let n=4. Set r(i)= A_4(i)- A_2(i), i>=2. Then, by the definition of A_4 and A_2, we have

r(2)=7-3=4,

r(3)=11-5=6, further,

r(4)=...=r(12)=6,

r(13)=r(14)=10,

r(15)=r(16)=11,

r(17)=r(18)=14,

r(19)=...=r(22)=12,

r(23)=...r(26)=10,

r(27)=9,

r(28)=8,

r(29)=...=r(32)=6,

r(33)=...=r(36)=7,

r(37)=r(38)=8,

r(39)=r(40)=7,

r(41)=r(42)=4,

r(43)=r(44)=2,

r(45)=r(46)=1

r(n)=0, n>=47.

So max r(i)=14 and the smallest m such that r(m)=14 is 17.

Thus a(4)=17.

CROSSREFS

Cf. A159559, A229019, A276703.

Sequence in context: A274903 A206029 A057282 * A123364 A247857 A025553

Adjacent sequences:  A276764 A276765 A276766 * A276768 A276769 A276770

KEYWORD

nonn

AUTHOR

Vladimir Shevelev, Sep 17 2016

EXTENSIONS

More terms from Peter J. C. Moses, Sep 17 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 28 16:38 EDT 2021. Contains 347716 sequences. (Running on oeis4.)