I suspect this is a pretty hard problem if we are allowed to tilt the cylinders, so I also offer the easier problem: What is the smallest cubical box that will fit n cylinders, each parallel to one of the sides of the box?
Here are the best-known packings of tuna cans. For each, a 3-dimensional view and a top view are provided.
If you can extend any of these results, please e-mail me. Click here to go back to Math Magic. Last updated 10/24/12.