So, this was a problem in the new standardized high school tests California has started using(CAASP). These new tests are completely done on the computer, and feature what they call Computer Adaptive Testing. Basically, the test "adapts" to how the student is doing, and offers harder or easier problems based on it.
However, this problem appeared as the second to last question, and was extremely tricky. I'm curious as to how one is supposed to do this problem.
How many spheres with diameter $3$ can one fit into a rectangular prism with dimensions $24.1$, $30.1$, and $16.9$?
If anybody needs any clarifications, I'll try to be fairly prompt.
Thanks
No proofs, just some simple observations and numerical experiments with the face-centered cubic (FCC) packing and hexagonal close-packing. The upshot is: $540$ balls (twelve layers of $45$ in the hexagonal close-packing) just fit into a box with the given dimensions.
Caveat: Except for the $540$-ball packing, the numerical claims below are not carefully hand-checked.
Multiplying the volume of the box by the average density of the FCC packing and dividing by the volume of a ball of radius $3$ gives an absolute upper bound of $642$ balls.
Let $\{d_{1}, d_{2}, d_{3}\} = \{16.9, 24.1, 30.1\}$, and let $\Lambda$ be the lattice containing the point $(\frac{3}{2}, \frac{3}{2}, \frac{3}{2})$ and generated by the vectors $v_{1} = (3, 0, 0)$, $v_{2} = (\frac{3}{2}, \frac{3}{2}\sqrt{3}, 0)$, and $v_{3} = (\frac{3}{2}, \frac{1}{2}\sqrt{3}, \sqrt{6})$. Counting the number of balls of diameter $3$ centered at points of $\Lambda$ and contained within the box $$ [0, d_{1}] \times [0, d_{2}] \times [0, d_{3}] $$ gives: $$ \begin{array}{cc} (d_{1}, d_{2}, d_{3}) & n \\ \hline (16.9, 24.1, 30.1) & 500 \\ (16.9, 30.1, 24.1) & 480 \\ (24.1, 16.9, 30.1) & 512 \\ (24.1, 30.1, 16.9) & 480 \\ (30.1, 16.9, 24.1) & 486 \\ (30.1, 24.1, 16.9) & 476 \\ \end{array} $$ The stereogram below shows the $512$-ball packing, with four layers of $38$ and $8$ layers of $45$.
The smallest enclosing box (top view shown below) has dimensions $$ 24 \times \tfrac{15}{4}(1 + 2\sqrt{3}) \times 3(1 + 11\sqrt{\tfrac{2}{3}}) \approx 24 \times 16.75 \times 29.45,\quad \text{cf. } 24.1 \times 16.9 \times 30.1. $$