This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A031134 Upper prime of a record difference between it and the second prime before it. 6
 5, 7, 11, 29, 59, 97, 127, 223, 1151, 1361, 2203, 2521, 5639, 9601, 14143, 19661, 19681, 31469, 31477, 38543, 58889, 156007, 360769, 370373, 396871, 1357333, 1562051, 4652507, 8917663, 20831533, 38089453, 70396589, 72546391, 102765847 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS FORMULA a(n) = A031133(n) + A031132(n). - Robert G. Wilson v MATHEMATICA lst = {}; {p, q, r} = {1, 2, 3}; d = 0; Do[{p, q, r} = {q, r, Prime@n}; If[r - p > d, d = r - p; AppendTo[lst, {p, r}]; Print[{p, r-p, r}]], {n, 8050000}]; Last /@ lst (* Robert G. Wilson v, May 17 2006 *) CROSSREFS Cf. A031131, A031132, A031133, A122412, A122413. Sequence in context: A057247 A157437 A213677 * A144231 A050299 A092029 Adjacent sequences:  A031131 A031132 A031133 * A031135 A031136 A031137 KEYWORD nonn AUTHOR EXTENSIONS Extended (and first term added) by Patrick De Geest, Oct 2000 Corrected and extended by Jud McCranie, Jan 03 2001 a(34)-a(52) from Jon E. Schoenfield, Sep 02 2006 Definition corrected by Jon E. Schoenfield, Aug 27 2006 a(53)-a(55) added by Dmitry Kamenetsky, Jul 28 2008 a(55) corrected, a(56)-a(62) added by Dmitry Petukhov, Sep 20 2015 a(63)-a(67) added by Vladimir Chirkov and Natalia Makarova, Sep 25 2015, Sep 29 2015 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.

Last modified May 23 11:05 EDT 2019. Contains 323513 sequences. (Running on oeis4.)