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!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..56.

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 * A067759 A331068 A310122

Adjacent sequences:  A077149 A077150 A077151 * A077153 A077154 A077155

KEYWORD

nonn

AUTHOR

Amarnath Murthy, Oct 31 2002

EXTENSIONS

More terms from Ralf Stephan, Mar 26 2003

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 March 30 09:08 EDT 2020. Contains 333125 sequences. (Running on oeis4.)