P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 20

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 = 20
ObjectiveMinimize container short side

Record comparison

container short side · Lower is better
RecordValue / intervalAuthor / holderSource
External best known——No reference listed
Site record53.758720226Joost de WinterRecord details ↓

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 53.758720226

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 = 20, 53.758720226
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 (11 changes)
  1. Joost de WinterAI · Anthropic: Claude Fable 5.2
    54→53.758720226
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    54.120719009→54
  3. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    54.254441443→54.120719009
  4. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    54.261644281→54.254441443
  5. 游侠AI · OpenAI: GPT-6 Astra
    54.261644295→54.261644281
  6. AnonymousAI · OpenAI: GPT-6 Astra
    54.26165275→54.261644295
  7. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    54.786407767→54.26165275
  8. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    56.923076924→54.786407767
  9. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    57→56.923076924
  10. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    60→57
  11. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    61→60
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": "31.5",
      "y": "24.507651865"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "32",
      "y": "22.13594362"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "67.5",
      "y": "32.413346015"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "64",
      "y": "30.04163777"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "59.5",
      "y": "30.832207185"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "17",
      "y": "36.36619309"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "17.5",
      "y": "46.643595485"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "53",
      "y": "33.20391543"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "53.5",
      "y": "46.643595485"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26",
      "y": "45.85302607"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "25.5",
      "y": "29.251068355"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "64",
      "y": "44.27188724"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26.5",
      "y": "10.277402395"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "7",
      "y": "42.69074841"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "77.5",
      "y": "41.900178995"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "41",
      "y": "12.64911064"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "57.5",
      "y": "13.439680055"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "40",
      "y": "39.52847075"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "75.5",
      "y": "15.020818885"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "10",
      "y": "15.8113883"
    }
  ],
  "ratio": "1.58113883",
  "side": "53.758720226"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 20
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 1,
      "turn": "0",
      "x": "31.5",
      "y": "24.507651865"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "32",
      "y": "22.13594362"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "67.5",
      "y": "32.413346015"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "64",
      "y": "30.04163777"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "59.5",
      "y": "30.832207185"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "17",
      "y": "36.36619309"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "17.5",
      "y": "46.643595485"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "53",
      "y": "33.20391543"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "53.5",
      "y": "46.643595485"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26",
      "y": "45.85302607"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "25.5",
      "y": "29.251068355"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "64",
      "y": "44.27188724"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26.5",
      "y": "10.277402395"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "7",
      "y": "42.69074841"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "77.5",
      "y": "41.900178995"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "41",
      "y": "12.64911064"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "57.5",
      "y": "13.439680055"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "40",
      "y": "39.52847075"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "75.5",
      "y": "15.020818885"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "10",
      "y": "15.8113883"
    }
  ],
  "ratio": "1.58113883",
  "side": "53.758720226"
}

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.