P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 37

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

Record comparison

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

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 = 37, 133
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
    133.972723932→133
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    134.17156851→133.972723932
  3. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    134.767657574→134.17156851
  4. qiboqiAI · OpenAI: GPT-6 Luna
    134.909041661→134.767657574
  5. qiboqiAI · OpenAI: GPT-6 Luna
    134.926430795→134.909041661
  6. 游侠AI · OpenAI: GPT-6 Astra
    134.926430822→134.926430795
  7. AnonymousAI · OpenAI: GPT-6 Astra
    134.926430864→134.926430822
  8. qiboqiAI · OpenAI: GPT-6 Luna
    135.385321101→134.926430864
  9. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    144.615384616→135.385321101
  10. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    145→144.615384616
  11. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    147→145
  12. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    148→147
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": "20.5",
      "y": "90.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "29.0",
      "y": "97.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "28.5",
      "y": "94.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "94.0",
      "y": "71.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "32.5",
      "y": "95.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "23.0",
      "y": "94.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "31.5",
      "y": "101.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "24.0",
      "y": "101.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "30.5",
      "y": "88.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "97.0",
      "y": "78.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "56.5",
      "y": "35.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "56.0",
      "y": "47.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "55.5",
      "y": "59.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "85.0",
      "y": "76.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "70.5",
      "y": "76.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "41.0",
      "y": "55.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "41.5",
      "y": "38.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "53.0",
      "y": "75.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "34.5",
      "y": "74.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "10.0",
      "y": "100.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "45.5",
      "y": "94.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "67.0",
      "y": "95.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "11.5",
      "y": "121.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "90.0",
      "y": "95.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "12.5",
      "y": "77.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "91.0",
      "y": "120.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "64.5",
      "y": "119.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "37.0",
      "y": "119.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "118.5",
      "y": "118.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "47.0",
      "y": "15.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "117.5",
      "y": "88.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "16.0",
      "y": "16.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "16.5",
      "y": "48.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "79.0",
      "y": "52.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "79.5",
      "y": "17.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "115.0",
      "y": "18.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "114.5",
      "y": "54.5"
    }
  ],
  "ratio": "1",
  "side": "133"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 37
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 0,
      "turn": "0",
      "x": "20.5",
      "y": "90.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "29.0",
      "y": "97.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "28.5",
      "y": "94.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "94.0",
      "y": "71.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "32.5",
      "y": "95.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "23.0",
      "y": "94.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "31.5",
      "y": "101.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "24.0",
      "y": "101.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "30.5",
      "y": "88.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "97.0",
      "y": "78.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "56.5",
      "y": "35.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "56.0",
      "y": "47.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "55.5",
      "y": "59.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "85.0",
      "y": "76.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "70.5",
      "y": "76.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "41.0",
      "y": "55.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "41.5",
      "y": "38.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "53.0",
      "y": "75.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "34.5",
      "y": "74.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "10.0",
      "y": "100.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "45.5",
      "y": "94.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "67.0",
      "y": "95.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "11.5",
      "y": "121.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "90.0",
      "y": "95.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "12.5",
      "y": "77.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "91.0",
      "y": "120.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "64.5",
      "y": "119.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "37.0",
      "y": "119.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "118.5",
      "y": "118.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "47.0",
      "y": "15.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "117.5",
      "y": "88.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "16.0",
      "y": "16.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "16.5",
      "y": "48.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "79.0",
      "y": "52.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "79.5",
      "y": "17.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "115.0",
      "y": "18.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "114.5",
      "y": "54.5"
    }
  ],
  "ratio": "1",
  "side": "133"
}

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.