OFFSET
1,1
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..100
Wikipedia, Torus
FORMULA
a(n) = floor( 2/9 * Pi^2 * n^3 ).
EXAMPLE
a(6) = 473 : volume = ((2 *Pi * n) * (Pi * (n/3)^2)) = ((2 *Pi * 6) * (Pi * (6/3)^2)) = 473.7410114 and floor(473.7410114) = 473.
MAPLE
KD := proc() local a; a:=floor( evalf( (2*Pi*n)*(Pi*(n/3)^2) ) ); RETURN (a) :end: seq(KD(), n=1..50);
PROG
(PARI) a(n)=floor(2/9*Pi^2*n^3) \\ Charles R Greathouse IV, Aug 28 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
K. D. Bajpai, Aug 28 2013
STATUS
approved