|
|
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)).
|
|
MAPLE
|
|
|
MATHEMATICA
|
|
|
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
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|