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!)
A090973 a(n) = ceiling((prime(n)/n). 3
2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 (list; graph; refs; listen; history; text; internal format)
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

Cf. A038605, A038606.

Cf. A068901. - Reinhard Zumkeller, Aug 16 2009

Sequence in context: A156685 A124230 A330780 * A076634 A083277 A274011

Adjacent sequences:  A090970 A090971 A090972 * A090974 A090975 A090976

KEYWORD

nonn

AUTHOR

Amarnath Murthy, Jan 04 2004

EXTENSIONS

More terms from David Wasserman, Feb 23 2006

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 August 6 11:55 EDT 2020. Contains 336246 sequences. (Running on oeis4.)