P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 18

Rectangle k has short side k. All pieces and the container share an aspect ratio r≥1. Choose the ratio, positions and rotation angles to minimise the container short side s.

Instancen = 18
ObjectiveMinimize container short side

Record comparison

container short side · Lower is better
RecordValue / intervalAuthor / holderSource
External best known2135≈ 46.2060602086Maurizio MorandiJune 2015Erich Friedman ↗
Site record46.12849961Joost de WinterRecord details ↓

Numerically exceeds the published range · awaiting review.

Formal definition

  • Container1≤ratio≤4096, 0<side≤4096. Local vertices are (±k·ratio/2, ±k/2), rotated then translated to centre (x,y). The container long side lies along the x axis.
  • SubmissionCoordinates have absolute value ≤4096; quarter is an integer 0–3 and |turn|≤1. Finite-decimal certificates do not encode every continuous configuration or real angle; ratio and coordinate bounds define the submission domain.
  • VerificationVertex containment and separating axes are checked with exact rational arithmetic. Contact is legal; any positive-area overlap or excursion is rejected. A reflected rectangle is congruent to a rotation, so no reflection parameter is needed.
  • ObjectiveMinimise the container short side s, directly matching s in Friedman’s table. The covered proportion is p = n(n+1)(2n+1)/(6s²), independent of r, so maximising p is equivalent to minimising s.
Open full editor ↗

Layout shown: site record

VERIFIED CONSTRUCTIONcontainer short side 46.12849961

Getting a feel for it

Choose the aspect ratio

The ratio applies to every piece and the container. Changing it changes contacts between rotated pieces; it is not simply stretching the whole drawing.

Area bound

The pieces have total area r∑k² and the container area is rs². Thus s²≥n(n+1)(2n+1)/6. For n=1, s=1 attains this bound and is proved optimal.

Published records

Friedman’s table supplies exact formulas and attribution for n=1–18. The n=2–18 constructions are by Maurizio Morandi (June 2015), not marked proved optimal. No external record is currently cited for n=19–50. Open instances use ordinary shelf starters, not the published record configurations.

Source
The record-holding arrangement for Consecutive rectangles in similar rectangles n = 18, 46.12849961
LAYOUT & HISTORY

Record details

Inspect the layout, solver notes and record history.

Record holderJoost de Winter
Solution methodAI · Anthropic: Claude Fable 5.2
Challenge this record ↗Submit a proof / idea ↓Share a proof or bound argument in the discussion board. Accepted contributions earn proof points.
Record holder's solver noteNo solver note yet (expand)+

The record holder has not shared a solver note yet.

Record history (6 changes)
  1. Joost de WinterAI · Anthropic: Claude Fable 5.2
    46.206060216→46.12849961
  2. 游侠AI · OpenAI: GPT-6 Astra
    46.206060238→46.206060216
  3. AnonymousAI · OpenAI: GPT-6 Astra
    46.20606025→46.206060238
  4. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    49→46.20606025
  5. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    52→49
  6. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    53→52
ANSWER FORMAT

How to write your answer

Drag rectangles and edit rotation angles in the coordinate table. The shared aspect ratio changes all pieces and the container; the container short side is the competition score.

Submit side, ratio and placements. Entry k is the rectangle of short side k: {"x":"…","y":"…","quarter":0,"turn":"0"}; (x,y) is its centre. Rotate counterclockwise by quarter×90°, then by θ with turn=tan(θ/2). Except quarter, use decimal strings with at most nine places.

The current leader's answer

{
  "placements": [
    {
      "quarter": 1,
      "turn": "0",
      "x": "16.5",
      "y": "19.533191165"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "22.39829398",
      "y": "9"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "33.595308445",
      "y": "11.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "13.86297029",
      "y": "19.06211728"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "18.665955825",
      "y": "10.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "19.19914699",
      "y": "16"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "15.462543785",
      "y": "24.56211728"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "20.26552932",
      "y": "4"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "27.197014465",
      "y": "14.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "29.86297029",
      "y": "5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "5.865102815",
      "y": "22.56211728"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "25.59317592",
      "y": "25"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "42.126367085",
      "y": "6.5"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26.19488194",
      "y": "38.59317592"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "41.192749415",
      "y": "38.62849961"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "8",
      "y": "8.53105864"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "40.49573495",
      "y": "22.064249805"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "9.59744097",
      "y": "37.06211728"
    }
  ],
  "ratio": "1.06638233",
  "side": "46.12849961"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 18
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 1,
      "turn": "0",
      "x": "16.5",
      "y": "19.533191165"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "22.39829398",
      "y": "9"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "33.595308445",
      "y": "11.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "13.86297029",
      "y": "19.06211728"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "18.665955825",
      "y": "10.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "19.19914699",
      "y": "16"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "15.462543785",
      "y": "24.56211728"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "20.26552932",
      "y": "4"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "27.197014465",
      "y": "14.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "29.86297029",
      "y": "5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "5.865102815",
      "y": "22.56211728"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "25.59317592",
      "y": "25"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "42.126367085",
      "y": "6.5"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26.19488194",
      "y": "38.59317592"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "41.192749415",
      "y": "38.62849961"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "8",
      "y": "8.53105864"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "40.49573495",
      "y": "22.064249805"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "9.59744097",
      "y": "37.06211728"
    }
  ],
  "ratio": "1.06638233",
  "side": "46.12849961"
}

Submit side, ratio and placements. Entry k is the rectangle of short side k: {"x":"…","y":"…","quarter":0,"turn":"0"}; (x,y) is its centre. Rotate counterclockwise by quarter×90°, then by θ with turn=tan(θ/2). Except quarter, use decimal strings with at most nine places. · Verifier v1.0.0

DISCUSSION

Discussion

Discuss strategies, share construction methods, or ask questions. Any signed-in user can post under their public byline and unique #UID. New posts appear after moderation.