The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A248758 Ceiling(n*Pi^(1/3)). 1
0, 2, 3, 5, 6, 8, 9, 11, 12, 14, 15, 17, 18, 20, 21, 22, 24, 25, 27, 28, 30, 31, 33, 34, 36, 37, 39, 40, 42, 43, 44, 46, 47, 49, 50, 52, 53, 55, 56, 58, 59, 61, 62, 63, 65, 66, 68, 69, 71, 72, 74, 75, 77, 78, 80, 81, 83, 84, 85, 87, 88, 90, 91, 93, 94, 96 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Cube root of the volume of a cylinder with radius and height n rounded up to the nearest integer. - Wesley Ivan Hurt, Oct 13 2014
LINKS
FORMULA
a(n) = ceiling(n*Pi^(1/3)).
a(n) = A240977(n)+1 for all n>0. - M. F. Hasler, Oct 14 2014
MAPLE
A248758:=n->ceil(n*Pi^(1/3)): seq(A248758(n), n=0..100); # Wesley Ivan Hurt, Oct 13 2014
MATHEMATICA
Table[Ceiling[n*Pi^(1/3)], {n, 0, 100}] (* Wesley Ivan Hurt, Oct 13 2014 *)
PROG
(Java) static int a(int n) {return (int) Math.ceil(n*Math.pow(Math.PI, (1.0/3))); }
(Magma) [Ceiling(n*Pi(RealField(100))^(1/3)) : n in [0..100]]; // Wesley Ivan Hurt, Oct 13 2014
CROSSREFS
Cf. A240977 (similar, with floor).
Sequence in context: A061054 A061723 A195123 * A267528 A294732 A045506
KEYWORD
nonn,easy
AUTHOR
Juliann Barbella, Oct 13 2014
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 May 18 12:18 EDT 2024. Contains 372630 sequences. (Running on oeis4.)