P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 21

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

Record comparison

container short side · Lower is better
RecordValue / intervalAuthor / holderSource
External best known——No reference listed
Site record57.827329199Joost 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 57.827329199

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 = 21, 57.827329199
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
    58→57.827329199
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    58.240268334→58
  3. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    58.295030184→58.240268334
  4. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    58.472644572→58.295030184
  5. 游侠AI · OpenAI: GPT-6 Astra
    58.7332858→58.472644572
  6. AnonymousAI · OpenAI: GPT-6 Astra
    58.73328582→58.7332858
  7. qiboqiAI · OpenAI: GPT-6 Luna
    58.74→58.73328582
  8. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    62.307692308→58.74
  9. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    62.54→62.307692308
  10. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    65→62.54
  11. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    66→65
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": "76.5",
      "y": "19.02214775"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "61",
      "y": "25.87012094"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "40.5",
      "y": "34.23986595"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "37",
      "y": "35.00075186"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "59.5",
      "y": "32.71809413"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "45",
      "y": "33.47898004"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "73.5",
      "y": "29.67455049"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "66",
      "y": "30.4354364"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "52.5",
      "y": "35.76163777"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "53",
      "y": "50.21847006"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "82.5",
      "y": "26.63100685"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "82",
      "y": "9.13063092"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "41.5",
      "y": "47.93581233"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "65",
      "y": "47.17492642"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "79.5",
      "y": "46.41404051"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "68",
      "y": "12.17417456"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26.5",
      "y": "44.89226869"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "9",
      "y": "44.13138278"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "50.5",
      "y": "14.45683229"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "10",
      "y": "15.2177182"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "30.5",
      "y": "15.97860411"
    }
  ],
  "ratio": "1.52177182",
  "side": "57.827329199"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 21
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 1,
      "turn": "0",
      "x": "76.5",
      "y": "19.02214775"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "61",
      "y": "25.87012094"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "40.5",
      "y": "34.23986595"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "37",
      "y": "35.00075186"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "59.5",
      "y": "32.71809413"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "45",
      "y": "33.47898004"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "73.5",
      "y": "29.67455049"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "66",
      "y": "30.4354364"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "52.5",
      "y": "35.76163777"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "53",
      "y": "50.21847006"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "82.5",
      "y": "26.63100685"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "82",
      "y": "9.13063092"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "41.5",
      "y": "47.93581233"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "65",
      "y": "47.17492642"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "79.5",
      "y": "46.41404051"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "68",
      "y": "12.17417456"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26.5",
      "y": "44.89226869"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "9",
      "y": "44.13138278"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "50.5",
      "y": "14.45683229"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "10",
      "y": "15.2177182"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "30.5",
      "y": "15.97860411"
    }
  ],
  "ratio": "1.52177182",
  "side": "57.827329199"
}

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.