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”).

A077152
Smallest k such that there are n primes between n and k.
2
3, 6, 12, 14, 20, 24, 32, 38, 42, 44, 54, 60, 68, 72, 74, 80, 90, 98, 104, 108, 110, 114, 132, 138, 140, 150, 152, 158, 168, 174, 182, 192, 194, 198, 200, 212, 228, 230, 234, 240, 252, 258, 270, 272, 278, 282, 294, 308, 312, 314, 318, 332, 348, 350, 354, 360
OFFSET
1,1
MATHEMATICA
Table[Prime[PrimePi[n]+n]+1, {n, 60}] (* Harvey P. Dale, Sep 25 2015 *)
PROG
(PARI) for(n=1, 100, s=0:forprime(k=nextprime(n+1), 10^8, s=s+1: if(s==n, s=k+1:break)):print1(s", "))
CROSSREFS
Sequence in context: A102040 A232485 A232486 * A337747 A067759 A331068
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Oct 31 2002
EXTENSIONS
More terms from Ralf Stephan, Mar 26 2003
STATUS
approved