OFFSET
1,2
LINKS
Rajan Murthy, Table of n, a(n) for n = 1..200
Rajan Murthy, Table of n, a(n), and squared radius for n = 1..200
Rajan Murthy, Scilab program for this sequence
Charles R Greathouse IV, Illustration of this sequence
FORMULA
a(n) ~ (Pi*sqrt(30)/25)*n^(3/2). - Charles R Greathouse IV, Mar 14 2014
EXAMPLE
When the radius of the sphere reaches 3^(1/2), one cube is completely within the sphere. When the radius reaches 6^(1/2), four cubes are completely within the sphere.
MATHEMATICA
(* Illustrates the sequence *)
Cube[x_, y_, z_]:=Cuboid[{x-1, y-1, z-1}, {x, y, z}]
Cubes[r_]:=Cube@@#&/@Select[Flatten[Table[{x, y, z}, {x, 1, r}, {y, 1, r}, {z, 1, r}], 2], Norm[#]<=r&]
Draw[r_]:=Graphics3D[Union[Cubes[r], {{Green, Opacity[0.3], Sphere[{0, 0, 0}, r]}}], PlotRange->{{0, r}, {0, r}, {0, r}}, ViewPoint->{r, 3r/4, 3r/5}];
Draw/@Sqrt/@{3, 6, 9, 11, 12, 14} (* Charles R Greathouse IV, Mar 12 2014 *)
PROG
(Scilab) // See Murthy link.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rajan Murthy, Feb 11 2014
EXTENSIONS
Duplicate terms deleted by Rajan Murthy, Mar 06 2014
Terms a(36) and beyond added from b-file by Andrew Howroyd, Feb 27 2018
STATUS
approved