login
A135973
Ceiling(4/3*Pi*n^3).
3
0, 5, 34, 114, 269, 524, 905, 1437, 2145, 3054, 4189, 5576, 7239, 9203, 11495, 14138, 17158, 20580, 24430, 28731, 33511, 38793, 44603, 50966, 57906, 65450, 73623, 82448, 91953, 102161, 113098, 124789, 137259, 150533, 164637, 179595, 195433
OFFSET
0,2
COMMENTS
Volume of a sphere of radius n, rounded up.
LINKS
FORMULA
a(n) = A066645(n) + 1 for n > 0.
MATHEMATICA
Table[Ceiling[4/3*Pi * n^3], {n, 0, 60}] (* Vincenzo Librandi, Feb 19 2013 *)
PROG
(Sage)
n=100 # change n for more values
[ceil(4/3*pi*r^3) for r in [0..n]] # Tom Edgar, Oct 10 2013
(PARI) a(n)=ceil(4/3*Pi*n^3) \\ Charles R Greathouse IV, Oct 10 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Mar 02 2008
EXTENSIONS
Definition replaced by Vincenzo Librandi, Feb 19 2013
0 prepended by T. D. Noe, Oct 10 2013
STATUS
approved