P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 39

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

Record comparison

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

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 = 39, 144
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 (11 changes)
  1. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    145→144
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    145.036024352→145
  3. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    145.188511638→145.036024352
  4. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    145.283119488→145.188511638
  5. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    145.799691371→145.283119488
  6. qiboqiAI · OpenAI: GPT-6 Luna
    145.799691374→145.799691371
  7. qiboqiAI · OpenAI: GPT-6 Luna
    145.868711184→145.799691374
  8. qiboqiAI · OpenAI: GPT-6 Luna
    146.28→145.868711184
  9. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    155.53→146.28
  10. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    161→155.53
  11. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    162→161
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": "87.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "21.0",
      "y": "89.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "73.5",
      "y": "74.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "92.0",
      "y": "80.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "101.5",
      "y": "68.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "96.0",
      "y": "68.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "96.5",
      "y": "61.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "107.0",
      "y": "62.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "34.5",
      "y": "82.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "25.0",
      "y": "82.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "99.5",
      "y": "76.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "81.0",
      "y": "54.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "81.5",
      "y": "41.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "46.0",
      "y": "80.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "112.5",
      "y": "74.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "80.0",
      "y": "87.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "79.5",
      "y": "103.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "84.0",
      "y": "69.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "62.5",
      "y": "82.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "10.0",
      "y": "87.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "60.5",
      "y": "102.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "11.0",
      "y": "108.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "99.5",
      "y": "46.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "132.0",
      "y": "79.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "12.5",
      "y": "131.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "131.0",
      "y": "104.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "130.5",
      "y": "130.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "36.0",
      "y": "101.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "39.5",
      "y": "129.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "103.0",
      "y": "97.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "69.5",
      "y": "128.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "101.0",
      "y": "128.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "127.5",
      "y": "50.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "127.0",
      "y": "17.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "92.5",
      "y": "17.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "57.0",
      "y": "55.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "56.5",
      "y": "18.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "19.0",
      "y": "19.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "19.5",
      "y": "57.5"
    }
  ],
  "ratio": "1",
  "side": "144"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 39
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 0,
      "turn": "0",
      "x": "20.5",
      "y": "87.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "21.0",
      "y": "89.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "73.5",
      "y": "74.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "92.0",
      "y": "80.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "101.5",
      "y": "68.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "96.0",
      "y": "68.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "96.5",
      "y": "61.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "107.0",
      "y": "62.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "34.5",
      "y": "82.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "25.0",
      "y": "82.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "99.5",
      "y": "76.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "81.0",
      "y": "54.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "81.5",
      "y": "41.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "46.0",
      "y": "80.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "112.5",
      "y": "74.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "80.0",
      "y": "87.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "79.5",
      "y": "103.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "84.0",
      "y": "69.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "62.5",
      "y": "82.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "10.0",
      "y": "87.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "60.5",
      "y": "102.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "11.0",
      "y": "108.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "99.5",
      "y": "46.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "132.0",
      "y": "79.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "12.5",
      "y": "131.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "131.0",
      "y": "104.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "130.5",
      "y": "130.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "36.0",
      "y": "101.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "39.5",
      "y": "129.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "103.0",
      "y": "97.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "69.5",
      "y": "128.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "101.0",
      "y": "128.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "127.5",
      "y": "50.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "127.0",
      "y": "17.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "92.5",
      "y": "17.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "57.0",
      "y": "55.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "56.5",
      "y": "18.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "19.0",
      "y": "19.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "19.5",
      "y": "57.5"
    }
  ],
  "ratio": "1",
  "side": "144"
}

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.