Squares in Octagon
Code:
4_in_8 • Inner Shape: square • Container: octagon 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.54, 3.15]
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_8 (N=2)Plate
(0, 0)
2.99 × 2.99
N = 2•s = 0.8767
4_in_8 (N=3)Plate
(0, 0)
3.51 × 3.51
N = 3•s = 1.0294
4_in_8 (N=6)Plate
(0, 0)
4.60 × 4.60
N = 6•s = 1.3459
4_in_8 (N=7)Plate
(0, 0)
4.91 × 4.91
N = 7•s = 1.4369
4_in_8 (N=8)Plate
(0, 0)
5.37 × 5.37
N = 8•s = 1.5740
4_in_8 (N=10)Plate
(0, 0)
5.74 × 5.74
N = 10•s = 1.6818
4_in_8 (N=11)Plate
(0, 0)
5.91 × 5.91
N = 11•s = 1.7316
4_in_8 (N=12)Plate
(0, 0)
5.99 × 5.99
N = 12•s = 1.7534
4_in_8 (N=13)Plate
(0, 0)
6.48 × 6.48
N = 13•s = 1.8970
4_in_8 (N=14)Plate
(0, 0)
6.77 × 6.77
N = 14•s = 1.9833
4_in_8 (N=15)Plate
(0, 0)
6.94 × 6.94
N = 15•s = 2.0319
4_in_8 (N=18)Plate
(0, 0)
7.40 × 7.40
N = 18•s = 2.1676
4_in_8 (N=19)Plate
(0, 0)
7.61 × 7.61
N = 19•s = 2.2288
4_in_8 (N=20)Plate
(0, 0)
7.81 × 7.81
N = 20•s = 2.2864
4_in_8 (N=21)Plate
(0, 0)
7.97 × 7.97
N = 21•s = 2.3351
4_in_8 (N=22)Plate
(0, 0)
8.26 × 8.26
N = 22•s = 2.4180
4_in_8 (N=23)Plate
(0, 0)
8.44 × 8.44
N = 23•s = 2.4731
4_in_8 (N=25)Plate
(0, 0)
8.53 × 8.53
N = 25•s = 2.4988
4_in_8 (N=26)Plate
(0, 0)
8.63 × 8.63
N = 26•s = 2.5279
4_in_8 (N=27)Plate
(0, 0)
8.83 × 8.83
N = 27•s = 2.5864
4_in_8 (N=28)Plate
(0, 0)
8.98 × 8.98
N = 28•s = 2.6303
4_in_8 (N=29)Plate
(0, 0)
9.26 × 9.26
N = 29•s = 2.7114
4_in_8 (N=30)Plate
(0, 0)
9.43 × 9.43
N = 30•s = 2.7613
4_in_8 (N=31)Plate
(0, 0)
9.52 × 9.52
N = 31•s = 2.7870
4_in_8 (N=32)Plate
(0, 0)
9.72 × 9.72
N = 32•s = 2.8474
4_in_8 (N=33)Plate
(0, 0)
9.88 × 9.88
N = 33•s = 2.8947
4_in_8 (N=34)Plate
(0, 0)
9.90 × 9.90
N = 34•s = 2.8995
4_in_8 (N=35)Plate
(0, 0)
9.95 × 9.95
N = 35•s = 2.9131
4_in_8 (N=36)Plate
(0, 0)
10.01 × 10.01
N = 36•s = 2.9319
4_in_8 (N=38)Plate
(0, 0)
10.31 × 10.31
N = 38•s = 3.0206
4_in_8 (N=39)Plate
(0, 0)
10.53 × 10.53
N = 39•s = 3.0847
4_in_8 (N=40)Plate
(0, 0)
10.75 × 10.75
N = 40•s = 3.1496
REQUIREMENT SPECIFICATION: SQUARES IN OCTAGON (4_in_8) squinoct.md • Click to toggle
# squinoct: Square in Octagon
Family: N_squ_in_oct (N squares inside an octagon container).
1. Geometry:
- WHEN inner is "squ" and container is "oct" 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 octagon.
- 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.54119 | - | Unattempted | ||
| 2 | Best Known | 0.87669 |
s = 0.87670 S = 1.6199 |
Matches Previous Best
100.0% match | ||
| 3 | Best Known | 1.02940 |
s = 1.02944 S = 1.9022 |
Matches Previous Best
100.0% match | ||
| 4 | Trivial | 1.08239 | - | Unattempted | ||
| 5 | Trivial | 1.24261 | - | Unattempted | ||
| 6 | Best Known | 1.34314 |
s = 1.34587 S = 2.4868 |
Attempted
+0.00273 (99.8%)
| ||
| 7 | Best Known | 1.43690 |
s = 1.43691 S = 2.6551 |
Matches Previous Best
100.0% match | ||
| 8 | Best Known | 1.56962 |
s = 1.57400 S = 2.9084 |
Attempted
+0.00438 (99.7%)
| ||
| 9 | Trivial | 1.62358 | - | Unattempted | ||
| 10 | Best Known | 1.68171 |
s = 1.68176 S = 3.1075 |
Matches Previous Best
100.0% match | ||
| 11 | Best Known | 1.73152 |
s = 1.73156 S = 3.1995 |
Matches Previous Best
100.0% match | ||
| 12 | Best Known | 1.75339 |
s = 1.75340 S = 3.2399 |
Matches Previous Best
100.0% match | ||
| 13 | Best Known | 1.89674 |
s = 1.89696 S = 3.5051 |
Attempted
+0.00022 (100.0%)
| ||
| 14 | Best Known | 1.98302 |
s = 1.98333 S = 3.6647 |
Attempted
+0.00031 (100.0%)
| ||
| 15 | Best Known | 2.03168 |
s = 2.03188 S = 3.7544 |
Attempted
+0.00020 (100.0%)
| ||
| 16 | Trivial | 2.07106 | - | Unattempted | ||
| 17 | Trivial | 2.07106 | - | Unattempted | ||
| 18 | Best Known | 2.16732 |
s = 2.16759 S = 4.0052 |
Attempted
+0.00027 (100.0%)
| ||
| 19 | Best Known | 2.22435 |
s = 2.22879 S = 4.1183 |
Attempted
+0.00444 (99.8%)
| ||
| 20 | Best Known | 2.28598 |
s = 2.28642 S = 4.2247 |
Attempted
+0.00044 (100.0%)
| ||
| 21 | Best Known | 2.31833 |
s = 2.33514 S = 4.3148 |
Attempted
+0.01681 (99.3%)
| ||
| 22 | Best Known | 2.41575 |
s = 2.41798 S = 4.4679 |
Attempted
+0.00224 (99.9%)
| ||
| 23 | Best Known | 2.46879 |
s = 2.47308 S = 4.5697 |
Attempted
+0.00429 (99.8%)
| ||
| 24 | Trivial | 2.48528 | - | Unattempted | ||
| 25 | Best Known | 2.48959 |
s = 2.49875 S = 4.6171 |
Attempted
+0.00916 (99.6%)
| ||
| 26 | Best Known | 2.52709 |
s = 2.52790 S = 4.6710 |
Attempted
+0.00081 (100.0%)
| ||
| 27 | Best Known | 2.58584 |
s = 2.58645 S = 4.7791 |
Attempted
+0.00061 (100.0%)
| ||
| 28 | Best Known | 2.62788 |
s = 2.63029 S = 4.8602 |
Attempted
+0.00242 (99.9%)
| ||
| 29 | Best Known | 2.70553 |
s = 2.71144 S = 5.0101 |
Attempted
+0.00591 (99.8%)
| ||
| 30 | Best Known | 2.73879 |
s = 2.76130 S = 5.1022 |
Attempted
+0.02251 (99.2%)
| ||
| 31 | Best Known | 2.78401 |
s = 2.78702 S = 5.1497 |
Attempted
+0.00301 (99.9%)
| ||
| 32 | Best Known | 2.83980 |
s = 2.84737 S = 5.2613 |
Attempted
+0.00757 (99.7%)
| ||
| 33 | Best Known | 2.85903 |
s = 2.89467 S = 5.3487 |
Attempted
+0.03565 (98.8%)
| ||
| 34 | Best Known | 2.89949 |
s = 2.89951 S = 5.3576 |
Matches Previous Best
100.0% match | ||
| 35 | Best Known | 2.90678 |
s = 2.91308 S = 5.3827 |
Attempted
+0.00630 (99.8%)
| ||
| 36 | Best Known | 2.92870 |
s = 2.93193 S = 5.4175 |
Attempted
+0.00323 (99.9%)
| ||
| 37 | Trivial | 2.92893 | - | Unattempted | ||
| 38 | Best Known | 3.02113 |
s = 3.02061 S = 5.5814 |
NEW BEST
-0.00052 | ||
| 39 | Best Known | 3.08444 |
s = 3.08468 S = 5.6997 |
Attempted
+0.00024 (100.0%)
| ||
| 40 | Best Known | 3.14120 |
s = 3.14956 S = 5.8196 |
Attempted
+0.00836 (99.7%)
| ||
| No problems match the active filters. | ||||||