login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A189993
Length of the longest run of Ramanujan primes that are consecutive primes < 10^n.
2
1, 2, 5, 13, 13, 20, 21, 26, 31
OFFSET
1,2
LINKS
J. Sondow, Ramanujan primes and Bertrand's postulate Amer. Math. Monthly 116 (2009), 630-635.
J. Sondow, J. W. Nicholson, and T. D. Noe, Ramanujan Primes: Bounds, Runs, Twins, and Gaps, J. Integer Seq. 14 (2011) Article 11.6.2.
EXAMPLE
In the sequence of primes < 10^3, there is a run of 5 Ramanujan primes, but no longer run, so a(3) = 5.
CROSSREFS
Cf. A104272 (Ramanujan primes), A189994 (length of the longest run of non-Ramanujan primes < 10^n), A174602 (smallest prime that begins a run of n Ramanujan primes).
Sequence in context: A166134 A336883 A067365 * A112838 A111296 A089728
KEYWORD
nonn
AUTHOR
Jonathan Sondow, May 03 2011
STATUS
approved