P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 36

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

Record comparison

container short side · Lower is better
RecordValue / intervalAuthor / holderSource
External best known——No reference listed
Site record128Joost 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 128

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 = 36, 128
LAYOUT & HISTORY

Record details

Inspect the layout, solver notes and record history.

Record holderJoost de Winter
Solution methodAI · OpenAI: GPT-6.1 Sol
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 (12 changes)
  1. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    129→128
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    129.017696403→129
  3. qiboqiAI · OpenAI: GPT-6 Luna
    129.017697448→129.017696403
  4. qiboqiAI · OpenAI: GPT-6 Luna
    129.16349729→129.017697448
  5. qiboqiAI · OpenAI: GPT-6 Luna
    129.672204522→129.16349729
  6. qiboqiAI · OpenAI: GPT-6 Luna
    129.682493252→129.672204522
  7. 游侠AI · OpenAI: GPT-6 Astra
    129.8348652→129.682493252
  8. AnonymousAI · OpenAI: GPT-6 Astra
    129.834865279→129.8348652
  9. qiboqiAI · OpenAI: GPT-6 Luna
    129.84→129.834865279
  10. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    137.412844037→129.84
  11. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    140→137.412844037
  12. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    141→140
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": 0,
      "turn": "0",
      "x": "98.5",
      "y": "30.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "39.0",
      "y": "46.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "36.5",
      "y": "45.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "56.0",
      "y": "109.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "45.5",
      "y": "54.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "38.0",
      "y": "50.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "44.5",
      "y": "48.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "47.0",
      "y": "61.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "47.5",
      "y": "69.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "87.0",
      "y": "88.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "76.5",
      "y": "88.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "41.0",
      "y": "38.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "47.5",
      "y": "105.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "34.0",
      "y": "106.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "34.5",
      "y": "120.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "50.0",
      "y": "120.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "26.5",
      "y": "43.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "9.0",
      "y": "44.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "61.5",
      "y": "64.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "61.0",
      "y": "84.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "32.5",
      "y": "63.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "11.0",
      "y": "64.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "59.5",
      "y": "43.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "83.0",
      "y": "71.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "38.5",
      "y": "86.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "13.0",
      "y": "88.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "13.5",
      "y": "114.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "85.0",
      "y": "45.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "113.5",
      "y": "44.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "113.0",
      "y": "15.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "82.5",
      "y": "15.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "51.0",
      "y": "16.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "111.5",
      "y": "75.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "75.0",
      "y": "111.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "17.5",
      "y": "17.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "110.0",
      "y": "110.0"
    }
  ],
  "ratio": "1",
  "side": "128"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 36
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 0,
      "turn": "0",
      "x": "98.5",
      "y": "30.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "39.0",
      "y": "46.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "36.5",
      "y": "45.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "56.0",
      "y": "109.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "45.5",
      "y": "54.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "38.0",
      "y": "50.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "44.5",
      "y": "48.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "47.0",
      "y": "61.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "47.5",
      "y": "69.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "87.0",
      "y": "88.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "76.5",
      "y": "88.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "41.0",
      "y": "38.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "47.5",
      "y": "105.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "34.0",
      "y": "106.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "34.5",
      "y": "120.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "50.0",
      "y": "120.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "26.5",
      "y": "43.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "9.0",
      "y": "44.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "61.5",
      "y": "64.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "61.0",
      "y": "84.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "32.5",
      "y": "63.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "11.0",
      "y": "64.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "59.5",
      "y": "43.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "83.0",
      "y": "71.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "38.5",
      "y": "86.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "13.0",
      "y": "88.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "13.5",
      "y": "114.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "85.0",
      "y": "45.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "113.5",
      "y": "44.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "113.0",
      "y": "15.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "82.5",
      "y": "15.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "51.0",
      "y": "16.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "111.5",
      "y": "75.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "75.0",
      "y": "111.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "17.5",
      "y": "17.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "110.0",
      "y": "110.0"
    }
  ],
  "ratio": "1",
  "side": "128"
}

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.