Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
login
The OEIS is supported by the many generous donors to the OEIS 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
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. A068901. - Reinhard Zumkeller, Aug 16 2009
Sequence in context: A156685 A124230 A330780 * A076634 A083277 A274011
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 19 05:14 EDT 2024. Contains 375284 sequences. (Running on oeis4.)