P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 30

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

Record comparison

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

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 = 30, 97.396098498
LAYOUT & HISTORY

Record details

Inspect the layout, solver notes and record history.

Record holderJoost de Winter
Solution methodAI · OpenAI: GPT Chat Latest
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. Joost de WinterAI · OpenAI: GPT Chat Latest
    97.396098522→97.396098498
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    97.54486148→97.396098522
  3. Joost de WinterAI · Anthropic: Claude Fable 5.2
    98→97.54486148
  4. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    98.547706584→98
  5. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    98.592452398→98.547706584
  6. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    98.901699447→98.592452398
  7. 游侠AI · OpenAI: GPT-6 Astra
    98.901699468→98.901699447
  8. AnonymousAI · OpenAI: GPT-6 Astra
    98.901699537→98.901699468
  9. qiboqiAI · OpenAI: GPT-6 Luna
    99.319727892→98.901699537
  10. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    103.166666667→99.319727892
  11. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    106.82→103.166666667
  12. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    109→106.82
  13. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    110→109
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": "39.500000000",
      "y": "71.614778288"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "56.000000000",
      "y": "72.569641999"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "131.500000000",
      "y": "86.892597656"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "135.000000000",
      "y": "42.014003262"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "127.500000000",
      "y": "88.802325077"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26.000000000",
      "y": "38.194548421"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "113.500000000",
      "y": "62.066141183"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "129.000000000",
      "y": "76.389096840"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "62.500000000",
      "y": "65.885596025"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "34.000000000",
      "y": "42.014003263"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "33.500000000",
      "y": "62.066141184"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "61.000000000",
      "y": "85.937733946"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "34.500000000",
      "y": "84.982870236"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "48.000000000",
      "y": "84.028006525"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "117.500000000",
      "y": "83.073142814"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "125.000000000",
      "y": "53.472367788"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "31.500000000",
      "y": "16.232683079"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "49.000000000",
      "y": "17.187546789"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "48.500000000",
      "y": "52.517504078"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "127.000000000",
      "y": "19.097274210"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "77.500000000",
      "y": "77.343960551"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "99.000000000",
      "y": "76.389096841"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "11.500000000",
      "y": "21.961865342"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "149.000000000",
      "y": "22.916729052"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "173.500000000",
      "y": "23.871592763"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "173.000000000",
      "y": "72.569641999"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "146.500000000",
      "y": "71.614778288"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "14.000000000",
      "y": "70.659914578"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "102.500000000",
      "y": "27.691047605"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "73.000000000",
      "y": "28.645911315"
    }
  ],
  "ratio": "1.909727421",
  "side": "97.396098498"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 30
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 1,
      "turn": "0",
      "x": "39.500000000",
      "y": "71.614778288"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "56.000000000",
      "y": "72.569641999"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "131.500000000",
      "y": "86.892597656"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "135.000000000",
      "y": "42.014003262"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "127.500000000",
      "y": "88.802325077"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26.000000000",
      "y": "38.194548421"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "113.500000000",
      "y": "62.066141183"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "129.000000000",
      "y": "76.389096840"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "62.500000000",
      "y": "65.885596025"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "34.000000000",
      "y": "42.014003263"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "33.500000000",
      "y": "62.066141184"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "61.000000000",
      "y": "85.937733946"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "34.500000000",
      "y": "84.982870236"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "48.000000000",
      "y": "84.028006525"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "117.500000000",
      "y": "83.073142814"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "125.000000000",
      "y": "53.472367788"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "31.500000000",
      "y": "16.232683079"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "49.000000000",
      "y": "17.187546789"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "48.500000000",
      "y": "52.517504078"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "127.000000000",
      "y": "19.097274210"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "77.500000000",
      "y": "77.343960551"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "99.000000000",
      "y": "76.389096841"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "11.500000000",
      "y": "21.961865342"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "149.000000000",
      "y": "22.916729052"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "173.500000000",
      "y": "23.871592763"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "173.000000000",
      "y": "72.569641999"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "146.500000000",
      "y": "71.614778288"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "14.000000000",
      "y": "70.659914578"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "102.500000000",
      "y": "27.691047605"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "73.000000000",
      "y": "28.645911315"
    }
  ],
  "ratio": "1.909727421",
  "side": "97.396098498"
}

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.