Squares in Hexagon
Code:
4_in_6 • Inner Shape: square • Container: hexagon 40 Problems
0 Proved Optimal
1 Improved Bounds
Benchmark Curve (N vs. s)
Comparing previous best reference metrics against verified solver best bounds.
N ∈ [1, 40]
s ∈ [0.78, 4.31]
1 Improved Bounds
Previous Best
Verified Best Bound
Improved Bound
Hover or focus data points to inspect numerical metrics
Best Packing Visualizations
Architectural plates for solved instances plotted inside verified container boundaries.
4_in_6 (N=3)Plate
(0, 0)
3.86 × 3.35
N = 3•s = 1.3660
4_in_6 (N=4)Plate
(0, 0)
4.30 × 3.72
N = 4•s = 1.5197
4_in_6 (N=6)Plate
(0, 0)
5.15 × 4.46
N = 6•s = 1.8221
4_in_6 (N=7)Plate
(0, 0)
5.26 × 4.56
N = 7•s = 1.8612
4_in_6 (N=8)Plate
(0, 0)
6.09 × 5.28
N = 8•s = 2.1539
4_in_6 (N=9)Plate
(0, 0)
6.31 × 5.47
N = 9•s = 2.2321
4_in_6 (N=11)Plate
(0, 0)
6.82 × 5.90
N = 11•s = 2.4095
4_in_6 (N=12)Plate
(0, 0)
6.91 × 5.99
N = 12•s = 2.4434
4_in_6 (N=13)Plate
(0, 0)
7.28 × 6.30
N = 13•s = 2.5723
4_in_6 (N=14)Plate
(0, 0)
7.41 × 6.42
N = 14•s = 2.6213
4_in_6 (N=15)Plate
(0, 0)
7.80 × 6.75
N = 15•s = 2.7560
4_in_6 (N=16)Plate
(0, 0)
7.98 × 6.91
N = 16•s = 2.8201
4_in_6 (N=17)Plate
(0, 0)
8.13 × 7.04
N = 17•s = 2.8729
4_in_6 (N=18)Plate
(0, 0)
8.26 × 7.16
N = 18•s = 2.9218
4_in_6 (N=19)Plate
(0, 0)
8.31 × 7.19
N = 19•s = 2.9366
4_in_6 (N=20)Plate
(0, 0)
8.94 × 7.74
N = 20•s = 3.1615
4_in_6 (N=21)Plate
(0, 0)
9.15 × 7.92
N = 21•s = 3.2350
4_in_6 (N=22)Plate
(0, 0)
9.38 × 8.12
N = 22•s = 3.3148
4_in_6 (N=23)Plate
(0, 0)
9.53 × 8.26
N = 23•s = 3.3701
4_in_6 (N=24)Plate
(0, 0)
9.66 × 8.37
N = 24•s = 3.4156
4_in_6 (N=26)Plate
(0, 0)
9.91 × 8.58
N = 26•s = 3.5044
4_in_6 (N=27)Plate
(0, 0)
9.98 × 8.64
N = 27•s = 3.5285
4_in_6 (N=28)Plate
(0, 0)
10.24 × 8.87
N = 28•s = 3.6202
4_in_6 (N=29)Plate
(0, 0)
10.37 × 8.98
N = 29•s = 3.6654
4_in_6 (N=30)Plate
(0, 0)
10.46 × 9.06
N = 30•s = 3.6968
4_in_6 (N=31)Plate
(0, 0)
10.70 × 9.27
N = 31•s = 3.7845
4_in_6 (N=32)Plate
(0, 0)
10.87 × 9.41
N = 32•s = 3.8433
4_in_6 (N=33)Plate
(0, 0)
10.96 × 9.49
N = 33•s = 3.8759
4_in_6 (N=34)Plate
(0, 0)
11.10 × 9.62
N = 34•s = 3.9257
4_in_6 (N=35)Plate
(0, 0)
11.32 × 9.80
N = 35•s = 4.0006
4_in_6 (N=36)Plate
(0, 0)
11.43 × 9.90
N = 36•s = 4.0415
4_in_6 (N=38)Plate
(0, 0)
11.84 × 10.25
N = 38•s = 4.1844
4_in_6 (N=39)Plate
(0, 0)
12.02 × 10.41
N = 39•s = 4.2504
4_in_6 (N=40)Plate
(0, 0)
12.20 × 10.56
N = 40•s = 4.3125
REQUIREMENT SPECIFICATION: SQUARES IN HEXAGON (4_in_6) squinhex.md • Click to toggle
# squinhex: Square in Hexagon
Family: N_squ_in_hex (N squares inside a hexagon container).
1. Geometry:
- WHEN inner is "squ" and container is "hex" THEN:
- both SHALL use canonical definitions.
- scaling SHALL be derived from S via a documented rule.
2. Validity:
- WHEN a solution is generated THEN:
- all squares SHALL be inside the hexagon.
- no two squares SHALL overlap beyond tolerance (≤ 1e-15).
3. Friedman Comparison:
- WHEN comparing to Friedman THEN:
- use an explicit, documented conversion from S to his unit.
- NEW_BEST is valid only if geometry and metric alignment are confirmed.
4. Test Expectations:
- Tests SHALL include:
- construction of both shapes.
- a valid packing.
- an overlapping pair.
- a boundary-violation case.
Benchmark Results Table
Numerical comparison metrics, verification statuses, and live coordinator updates for all family instances.
Connecting to coordinator... Showing 40 Instances
| Family | Benchmark Status | Visual / Ref | ||||
|---|---|---|---|---|---|---|
| 1 | Trivial | 0.77800 | - | Unattempted | ||
| 2 | Trivial | 1.15400 | - | Unattempted | ||
| 3 | Best Known | 1.36600 |
s = 1.36603 S = 1.9319 |
Matches Previous Best
100.0% match | ||
| 4 | Best Known | 1.51900 |
s = 1.51967 S = 2.1491 |
Attempted
+0.00067 (100.0%)
| ||
| 5 | Trivial | 1.73200 | - | Unattempted | ||
| 6 | Best Known | 1.82100 |
s = 1.82211 S = 2.5769 |
Attempted
+0.00111 (99.9%)
| ||
| 7 | Best Known | 1.86100 |
s = 1.86121 S = 2.6321 |
Attempted
+0.00021 (100.0%)
| ||
| 8 | Best Known | 2.15380 |
s = 2.15392 S = 3.0461 |
Attempted
+0.00012 (100.0%)
| ||
| 9 | Best Known | 2.23210 |
s = 2.23210 S = 3.1567 |
NEW BEST
-0.00001 | ||
| 10 | Trivial | 2.30900 | - | Unattempted | ||
| 11 | Best Known | 2.40940 |
s = 2.40948 S = 3.4075 |
Matches Previous Best
100.0% match | ||
| 12 | Best Known | 2.44300 |
s = 2.44338 S = 3.4555 |
Attempted
+0.00038 (100.0%)
| ||
| 13 | Best Known | 2.57200 |
s = 2.57229 S = 3.6378 |
Attempted
+0.00029 (100.0%)
| ||
| 14 | Best Known | 2.62130 |
s = 2.62134 S = 3.7071 |
Matches Previous Best
100.0% match | ||
| 15 | Best Known | 2.75360 |
s = 2.75602 S = 3.8976 |
Attempted
+0.00242 (99.9%)
| ||
| 16 | Best Known | 2.82000 |
s = 2.82012 S = 3.9883 |
Attempted
+0.00012 (100.0%)
| ||
| 17 | Best Known | 2.87260 |
s = 2.87289 S = 4.0629 |
Attempted
+0.00029 (100.0%)
| ||
| 18 | Best Known | 2.92100 |
s = 2.92184 S = 4.1321 |
Attempted
+0.00084 (100.0%)
| ||
| 19 | Best Known | 2.93510 |
s = 2.93661 S = 4.1530 |
Attempted
+0.00151 (100.0%)
| ||
| 20 | Best Known | 3.16120 |
s = 3.16152 S = 4.4711 |
Attempted
+0.00032 (100.0%)
| ||
| 21 | Best Known | 3.23480 |
s = 3.23505 S = 4.5751 |
Attempted
+0.00025 (100.0%)
| ||
| 22 | Best Known | 3.31430 |
s = 3.31476 S = 4.6878 |
Attempted
+0.00046 (100.0%)
| ||
| 23 | Best Known | 3.36410 |
s = 3.37012 S = 4.7661 |
Attempted
+0.00602 (99.8%)
| ||
| 24 | Best Known | 3.40290 |
s = 3.41556 S = 4.8303 |
Attempted
+0.01266 (99.6%)
| ||
| 25 | Trivial | 3.46410 | - | Unattempted | ||
| 26 | Best Known | 3.49280 |
s = 3.50437 S = 4.9559 |
Attempted
+0.01157 (99.7%)
| ||
| 27 | Best Known | 3.52070 |
s = 3.52855 S = 4.9901 |
Attempted
+0.00785 (99.8%)
| ||
| 28 | Best Known | 3.61980 |
s = 3.62024 S = 5.1198 |
Attempted
+0.00044 (100.0%)
| ||
| 29 | Best Known | 3.66440 |
s = 3.66536 S = 5.1836 |
Attempted
+0.00096 (100.0%)
| ||
| 30 | Best Known | 3.69550 |
s = 3.69676 S = 5.2280 |
Attempted
+0.00126 (100.0%)
| ||
| 31 | Best Known | 3.78140 |
s = 3.78447 S = 5.3520 |
Attempted
+0.00307 (99.9%)
| ||
| 32 | Best Known | 3.84140 |
s = 3.84325 S = 5.4352 |
Attempted
+0.00185 (100.0%)
| ||
| 33 | Best Known | 3.86630 |
s = 3.87588 S = 5.4813 |
Attempted
+0.00958 (99.8%)
| ||
| 34 | Best Known | 3.91850 |
s = 3.92575 S = 5.5518 |
Attempted
+0.00725 (99.8%)
| ||
| 35 | Best Known | 3.98200 |
s = 4.00064 S = 5.6578 |
Attempted
+0.01864 (99.5%)
| ||
| 36 | Best Known | 4.02040 |
s = 4.04147 S = 5.7155 |
Attempted
+0.02107 (99.5%)
| ||
| 37 | Trivial | 4.04150 | - | Unattempted | ||
| 38 | Best Known | 4.18040 |
s = 4.18442 S = 5.9177 |
Attempted
+0.00402 (99.9%)
| ||
| 39 | Best Known | 4.24510 |
s = 4.25038 S = 6.0109 |
Attempted
+0.00528 (99.9%)
| ||
| 40 | Best Known | 4.30170 |
s = 4.31250 S = 6.0988 |
Attempted
+0.01080 (99.8%)
| ||
| No problems match the active filters. | ||||||