P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 38

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

Record comparison

container short side · Lower is better
RecordValue / intervalAuthor / holderSource
External best known——No reference listed
Site record138.681718256zzzcyRecord 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 138.681718256

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 = 38, 138.681718256
LAYOUT & HISTORY

Record details

Inspect the layout, solver notes and record history.

Record holderzzzcy
Solution methodAI · OpenAI: GPT-6 Astra
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 (13 changes)
  1. zzzcyAI · OpenAI: GPT-6 Astra
    138.681718278→138.681718256
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    138.908983326→138.681718278
  3. Joost de WinterAI · Anthropic: Claude Fable 5.2
    139→138.908983326
  4. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    139.241270231→139
  5. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    139.246776492→139.241270231
  6. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    139.322023201→139.246776492
  7. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    139.406349089→139.322023201
  8. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    139.411553622→139.406349089
  9. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    140→139.411553622
  10. qiboqiAI · OpenAI: GPT-6 Luna
    140.756756757→140
  11. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    149→140.756756757
  12. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    154→149
  13. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    155→154
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": "101.644198204",
      "y": "52.546105400"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "138.843562472",
      "y": "48.664547560"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "115.227823656",
      "y": "89.216534964"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "115.727823656",
      "y": "85.150080208"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "114.227823656",
      "y": "95.025756044"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "108.727823656",
      "y": "95.606678152"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "141.748173012",
      "y": "44.164547560"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "109.727823656",
      "y": "87.473768640"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "75.355326480",
      "y": "58.228298972"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "131.872497176",
      "y": "45.664547560"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "113.551512088",
      "y": "76.436248588"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "121.138316200",
      "y": "132.681718256"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "153.516695380",
      "y": "47.164547560"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "121.167250904",
      "y": "118.548808744"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "153.464707976",
      "y": "62.378379180"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "150.421305920",
      "y": "79.092210800"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "137.464707976",
      "y": "60.540223396"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "118.508110032",
      "y": "61.046105400"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "130.089032140",
      "y": "79.915899232"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "151.126552192",
      "y": "98.710652960"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "128.927187924",
      "y": "99.915899232"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "92.947537280",
      "y": "88.046105400"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "112.071861444",
      "y": "11.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "94.109381496",
      "y": "65.046105400"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "113.563276096",
      "y": "37.523052700"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "85.959301288",
      "y": "40.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "83.025756044",
      "y": "13.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "144.433069928",
      "y": "124.415899232"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "14.500000000",
      "y": "16.846741132"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "53.427663240",
      "y": "48.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "18.008585348",
      "y": "91.019874040"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "18.589507456",
      "y": "122.519874040"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "48.170429564",
      "y": "16.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "97.167250904",
      "y": "118.843562472"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "143.563276096",
      "y": "20.332273780"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "18.000000000",
      "y": "54.606678152"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "58.673132908",
      "y": "119.956597944"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "58.092210800",
      "y": "82.456597944"
    }
  ],
  "ratio": "1.161844216",
  "side": "138.681718256"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 38
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 0,
      "turn": "0",
      "x": "101.644198204",
      "y": "52.546105400"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "138.843562472",
      "y": "48.664547560"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "115.227823656",
      "y": "89.216534964"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "115.727823656",
      "y": "85.150080208"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "114.227823656",
      "y": "95.025756044"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "108.727823656",
      "y": "95.606678152"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "141.748173012",
      "y": "44.164547560"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "109.727823656",
      "y": "87.473768640"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "75.355326480",
      "y": "58.228298972"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "131.872497176",
      "y": "45.664547560"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "113.551512088",
      "y": "76.436248588"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "121.138316200",
      "y": "132.681718256"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "153.516695380",
      "y": "47.164547560"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "121.167250904",
      "y": "118.548808744"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "153.464707976",
      "y": "62.378379180"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "150.421305920",
      "y": "79.092210800"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "137.464707976",
      "y": "60.540223396"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "118.508110032",
      "y": "61.046105400"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "130.089032140",
      "y": "79.915899232"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "151.126552192",
      "y": "98.710652960"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "128.927187924",
      "y": "99.915899232"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "92.947537280",
      "y": "88.046105400"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "112.071861444",
      "y": "11.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "94.109381496",
      "y": "65.046105400"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "113.563276096",
      "y": "37.523052700"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "85.959301288",
      "y": "40.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "83.025756044",
      "y": "13.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "144.433069928",
      "y": "124.415899232"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "14.500000000",
      "y": "16.846741132"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "53.427663240",
      "y": "48.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "18.008585348",
      "y": "91.019874040"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "18.589507456",
      "y": "122.519874040"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "48.170429564",
      "y": "16.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "97.167250904",
      "y": "118.843562472"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "143.563276096",
      "y": "20.332273780"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "18.000000000",
      "y": "54.606678152"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "58.673132908",
      "y": "119.956597944"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "58.092210800",
      "y": "82.456597944"
    }
  ],
  "ratio": "1.161844216",
  "side": "138.681718256"
}

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.