Matched: the best known value
Packing 5 unit squares in a square
What is the smallest square that holds 5 squares of side 1, without overlap? The best known answer is a side of 2.7071067812, from Frits Göbel, 1979. Velmar Cut matched it.
The numbers
| Best known side | 2.7071067812 |
|---|---|
| Best known side, in full | 2.70710678118654 |
| Side from Velmar Cut | 2.7071067812 |
| Side from Velmar Cut, in full | 2.707106781186910 |
| Difference, Velmar Cut minus best known | +3.700E-13 |
| Found by | Frits Göbel, 1979 |
| Status | Proved optimal |
| Time to reach it | 0.05 s, one run |
| Threads used | 16 |
| Machine | Intel Core i5-12600K, 10 cores, 16 threads |
| Squares | 4 upright, 1 turned |
| A plain grid needs | side 3 |
The time to reach this result on one desktop PC.
The problem at 5 squares
Five is the first count where a plain grid is not the best, since one to four squares all have whole-number sides. A grid needs side 3. This layout, with four upright squares and one turned at 45 degrees, brings that down to 2 + ½√2.
A plain grid: side 3
Best known: side 2.7071067812
Blue squares stand upright, orange squares are turned. Both pictures are at the same scale.
History
The best known value at this size is the result of Frits Göbel, 1979, and it is their result that Velmar Cut equals.
Proved optimal by Frits Göbel.
After Frits Göbel's proof, Erich Friedman's 2009 survey also gives a fairly simple one. The packing is rigid: it cannot be changed into another valid packing without changing the size of the enclosing square.
| When | Side | Who | What happened |
|---|---|---|---|
| early 1979 | 2 + ½√2 ≈ 2.70711 | Frits Göbel | found and proved optimal, rigid |
Sources
The best known values come from "Squares in Squares", David Ellsworth, from the original by Erich Friedman.
Each size names who holds its value and since when. It is their result that Velmar Cut equals.
Is the packing valid?
Yes. The certificate passes the exact check: 5 pieces, each exactly a unit square, each inside the box, no two overlapping.
How close is it to the best known value?
The side from Velmar Cut minus the best known value is +3.700E-13, within the rule's 1E-11.
A match: the certificate passes the exact check, and |L - best known| <= 1E-11, the difference published unrounded for each size. L is the side of the certificate's box, rounded up at 15 decimals.
Downloads
The sides in the CSV are in units of one square's side. DXF and DWG are in millimetres, with squares of 100 mm.
You don't have to trust us
With plain Python and no other software, verify_exact.py beside the certificate checks the file above by exact arithmetic, with no rounding.
python verify_exact.py 5-squares-in-a-square.csv --squares=5 --reference=2.70710678118654 --epsilon=1e-11
It does not prove that the packing is optimal, that the reference is the current best known value, or how the layout was found.
Free trial
Seven days with every edition
Install Velmar Cut, enter the parts and stock of a current job and print the cutting schedule. The trial starts on first run and needs no account or card.