OFFSET
0,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = prime(pi(n)+2).
From Reinhard Zumkeller, Jun 03 2013: (Start)
PROG
(Haskell)
a101300 = a151800 . a151800 -- Reinhard Zumkeller, Jun 02 2013
(PARI) a(n)=nextprime(nextprime(n+1)+1) \\ Charles R Greathouse IV, Nov 16 2016
(Python)
from sympy import nextprime
def a(n): return nextprime(nextprime(n))
print([a(n) for n in range(71)]) # Michael S. Branicky, Mar 03 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Zak Seidov, Apr 29 2005
STATUS
approved