Why it happens
Why Grocers Stack Oranges the Way They Do
Setting each layer of oranges into the hollows of the one below is the tightest way to pack equal balls. With no walls it fills π/√18, about 74.05% of space, against 52.36% for layers stacked straight up. Kepler guessed this in 1611; Thomas Hales proved it with a computer in 1998.
Two crates of oranges, a layer at a time
- CH4 straight up
- CH1 on the bottom grid
- CH2 in the hollows
How to read the stage
- Objective
- Read the two crates, the view from above and the bars as the layers go in.
- How this step gets you there
- The text names each panel and what its dashed and solid circles mean.
Two crates, 6 oranges on a side, fill a layer at a time: the left straight up, the right into the hollows, where dashed rows sit half an orange further back. The small panel shows the right crate's top layer from above. The bars give how full each crate is, then the same stack in crates up to 384 oranges wide.
Why the hollows win
- Objective
- Explain why setting layers into the hollows fits more oranges than stacking them straight up.
- How this step gets you there
- The text gives the layer spacing, the counts the stage reaches and the number of neighbours.
An orange resting in the dip between four below sits only 0.707 of a diameter above them, not a whole one. So the right crate fits 8 layers where the left fits 6: 244 oranges against 216, 13% more. In the middle of the stack each orange touches 12 others, against 6 straight up. This is the face-centred cubic packing, the arrangement of a grocer's pyramid.
Why the crate is only 59% full
- Objective
- Say why a real crate falls short of 74.05% and why a bigger one gets closer.
- How this step gets you there
- The stage stacks ever bigger crates and the text reads off their fill.
The 6-wide crate ends 59.15% full, not 74.05%. Every second layer is 5 × 5, losing a row and a column at the walls, and the top layer leaves a gap under the lid. Those losses sit at the edges, so they shrink as the crate grows: 64.24% at 12 wide, 71.60% at 48, 73.71% at 384. Square layers fill π/6, or 52.36%, of any crate a whole number of oranges wide.
Raleigh's cannonballs and Kepler's snowflake
- Objective
- Trace the question from Raleigh and Harriot to Kepler's 1611 claim.
- How this step gets you there
- The text dates each step from MacTutor and quotes Kepler in Hardie's translation.
Sir Walter Raleigh asked Thomas Harriot how to count stacked cannonballs; Harriot's answer survives on a manuscript dated 12 December 1591. Harriot later raised the packing question in letters with Johannes Kepler. In 1611, in a New Year's booklet on the six-cornered snowflake, Kepler described this stacking and said it would be "the tightest possible, so that in no other arrangement could more pellets be stuffed into the same container."
387 years to a proof
- Objective
- Tell how Kepler's guess became a theorem, and why the proof was hard to check.
- How this step gets you there
- The text gives each step with its date, from Gauss's partial proof to the 2005 paper.
In 1831 Carl Friedrich Gauss proved Kepler right for lattice packings, where the balls sit on a regular grid. In 1900 David Hilbert put densest sphere packing in his 18th problem. In August 1998 Hales, with his student Samuel Ferguson, finished a proof that rested on long computer calculations. The referees reported in 2002 that they were 99% certain it was right, and the Annals of Mathematics published it in 2005.
Checked by a computer, line by line
- Objective
- Say how the 1998 proof was finally verified, and when.
- How this step gets you there
- The text names the project, the software it used and its dates.
Hales then started the Flyspeck project, which rebuilt the whole proof inside proof assistants, the HOL Light and Isabelle systems, so a machine checked every logical step. It finished on 10 August 2014, and the paper appeared in Forum of Mathematics, Pi in 2017.
Pour them in instead
- Objective
- Compare a pile nobody arranges with the two stackings, and say what's known about random packing.
- How this step gets you there
- The stage pours a seeded pile and the text sets its fill beside the stackings and the experiments.
The second stage drops 250 oranges one at a time at random spots into a bin 6 oranges wide. Each falls, then rolls downhill until three others or the floor hold it. Measured between 1 and 4 diameters up, the pile is 58.29% full: better than square layers, far short of the hollows. Shaken ball bearings settle to about 64%, a figure from experiments that nobody has proved.
250 oranges poured at random
- CH1 poured oranges
- CH3 the band measured
What the model leaves out
- Objective
- Say how the model's oranges and pour differ from real fruit and real piles.
- How this step gets you there
- The text lists what the model assumes about the oranges and about pouring.
The model's oranges are perfect balls of one size; real ones vary and give a little, so real crates won't match these numbers exactly. The pour has no bounce, friction or shaking: each orange stops once three others hold it. Its bin wraps round at the sides, and the fill is measured in one band of one pile, so another seed gives a slightly different number.
Questions
- What is the densest way to stack oranges?
- Layers set into the hollows of the layers below, as in a grocer's pyramid, which fills π/√18, about 74.05% of space far from any wall. Hales's proof says no arrangement of equal balls beats it. It isn't the only one that ties: the hexagonal close packing, and mixtures of the two, fill the same share.
- Is a grocer's pyramid really the face-centred cubic packing?
- Yes, square-based or triangle-based. As Hales put it, "The pyramid stacking of oranges is known to chemists as the face-centered cubic packing." Kepler noted in 1611 that the square and triangular stackings coincide, each ball touched by twelve others. In the model's 6-wide crate every orange in the middle touches 12.
- How full is a random pile of balls?
- About 64% when ball bearings are poured and shaken, a figure from experiments such as Scott and Kilgour's in 1969. There's no proof of it, and Torquato and colleagues argued in 2000 that random close packing can't be made mathematically precise. The model's unshaken pour fills 58.29%.
- Why did the proof need a computer?
- Hales's proof turned Kepler's question into calculations done by computer, too many for referees to check by hand. In 2002 they reported being 99% certain rather than sure, and the proof was published without their complete certification. Flyspeck later had proof assistants check every step.