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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098969 Where the records (A098968) occur in A046930 (if initial term is 0 not 1). 2
1, 2, 3, 4, 9, 16, 24, 30, 47, 189, 217, 327, 368, 739, 1184, 1663, 2225, 2226, 3385, 3386, 4059, 5949, 14357, 30803, 31545, 33609, 104071, 118505, 325854, 597313, 1319947, 2324142, 4140011, 4258997, 5911616, 8040880, 17567979, 23163300 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..37.

MATHEMATICA

a = {1, 2}; b = {0, 1}; d = 1; p = 2; q = 3; Do[ r = Prime[n]; c = r - p - 2; If[c > d, Print[{n + 1, c}]; d = c; AppendTo[a, n - 1]; AppendTo[b, c]]; p = q; q = r, {n, 3, 10^9}]; a (* Robert G. Wilson v, Oct 27 2004 *)

CROSSREFS

Sequence in context: A232055 A192818 A119721 * A235401 A281882 A325436

Adjacent sequences:  A098966 A098967 A098968 * A098970 A098971 A098972

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Oct 24 2004

EXTENSIONS

More terms from Robert G. Wilson v and Olaf Voß, Oct 27 2004

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 December 5 12:24 EST 2021. Contains 349557 sequences. (Running on oeis4.)