OFFSET
1,1
COMMENTS
For n > 1, a(n) = A038605(n)+1. - David Wasserman, Feb 23 2006
a(A038606(n)) = n+1. - Reinhard Zumkeller, Aug 16 2009
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(12) = 4 as pi(48) = 15 > 12 > pi(36) = 11.
MATHEMATICA
Table[Ceiling[Prime[n]/n], {n, 1, 120}] (* G. C. Greubel, Feb 02 2019 *)
PROG
(PARI) vector(120, n, ceil(prime(n)/n)) \\ G. C. Greubel, Feb 02 2019
(Magma) [Ceiling(NthPrime(n)/n)): n in [1..120]]; // G. C. Greubel, Feb 02 2019
(Sage) [ceil(nth_prime(n)/n) for n in (1..120)] # G. C. Greubel, Feb 02 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jan 04 2004
EXTENSIONS
More terms from David Wasserman, Feb 23 2006
STATUS
approved