login
Nearest integer to 4 * Pi * n^3 / 3.
(Formerly M3653 N1486)
3

%I M3653 N1486 #23 Dec 23 2021 22:44:56

%S 0,4,34,113,268,524,905,1437,2145,3054,4189,5575,7238,9203,11494,

%T 14137,17157,20580,24429,28731,33510,38792,44602,50965,57906,65450,

%U 73622,82448,91952,102160,113097,124788,137258,150533,164636,179594,195432,212175,229847

%N Nearest integer to 4 * Pi * n^3 / 3.

%C Volume of a sphere with radius n (rounded to the nearest integer). - _Wesley Ivan Hurt_, Jan 28 2014

%D H. Gupta, A Table of Values of N_3(t), Proc. National Institute of Sciences of India, 13 (1947), 35-63.

%D N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).

%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

%H T. D. Noe, <a href="/A002101/b002101.txt">Table of n, a(n) for n = 0..1000</a>

%p A002101:=n->round(4 * Pi * n^3/3); seq(A002101(n), n=0..100); # _Wesley Ivan Hurt_, Jan 28 2014

%t Table[Round[4 Pi n^3/3], {n, 0, 100}] (* _T. D. Noe_, May 24 2013 *)

%o (PARI) A002101(n)=round(n^3*4*Pi/3) \\ _M. F. Hasler_, Mar 26 2012

%K nonn,easy

%O 0,2

%A _N. J. A. Sloane_