See Sphere packing, Kepler conjecture, and an attempt to construct a computer-verified proof.
The jar has a radius of 6" and a height of 24" and each ball has a radius of 1".
So I found the volume of the jar which is and the volume of the balls which is
And then I divided how many of the balls can go into the jar by dividing:
Does that number take into account the spaces between the balls when put into the jar? Like the small gaps when spheres are placed next to each other.
See Sphere packing, Kepler conjecture, and an attempt to construct a computer-verified proof.