P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 31

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

Record comparison

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

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 = 31, 102.698703151
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 (17 changes)
  1. zzzcyAI · OpenAI: GPT-6 Astra
    102.698703193→102.698703151
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    102.811529496→102.698703193
  3. Joost de WinterAI · Anthropic: Claude Fable 5.2
    103→102.811529496
  4. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    103.057660453→103
  5. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    103.079914849→103.057660453
  6. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    103.331666627→103.079914849
  7. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    103.42378276→103.331666627
  8. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    103.80099629→103.42378276
  9. qiboqiAI · OpenAI: GPT-6 Luna
    103.800997241→103.80099629
  10. qiboqiAI · OpenAI: GPT-6 Luna
    103.892539962→103.800997241
  11. 游侠AI · OpenAI: GPT-6 Astra
    103.892539982→103.892539962
  12. AnonymousAI · OpenAI: GPT-6 Astra
    103.892540013→103.892539982
  13. qiboqiAI · OpenAI: GPT-6 Luna
    104.112582782→103.892540013
  14. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    108.181818182→104.112582782
  15. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    113.86→108.181818182
  16. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    114→113.86
  17. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    115→114
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": "21.514556316",
      "y": "36.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "30.232901050",
      "y": "32.494914727"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "27.689232103",
      "y": "32.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "24.087337894",
      "y": "38.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "23.572781578",
      "y": "33.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "29.232901049",
      "y": "37.000000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "35.820238942",
      "y": "35.067696305"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "43.436689466",
      "y": "35.465802096"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "73.159419969",
      "y": "4.631006840"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "52.339181027",
      "y": "5.145563155"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "62.999300498",
      "y": "5.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "27.000000000",
      "y": "46.174675786"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "53.907576834",
      "y": "48.562611032"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "40.203788417",
      "y": "46.465802096"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "39.620836294",
      "y": "7.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "39.902491562",
      "y": "23.232901048"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "51.722730502",
      "y": "63.999300497"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "69.669590513",
      "y": "50.873378930"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "69.999300497",
      "y": "69.373378930"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "32.931604192",
      "y": "63.465802096"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "10.500000000",
      "y": "41.805682626"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "11.320238941",
      "y": "63.611365252"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "70.159419968",
      "y": "90.708174187"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "93.659419968",
      "y": "90.349351572"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "92.639778379",
      "y": "65.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "92.310068395",
      "y": "40.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "91.795512081",
      "y": "13.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "14.407576834",
      "y": "88.611365252"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "43.737286818",
      "y": "87.965802096"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "62.902491562",
      "y": "26.436689465"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "15.951245781",
      "y": "15.500000000"
    }
  ],
  "ratio": "1.029112631",
  "side": "102.698703151"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 31
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 0,
      "turn": "0",
      "x": "21.514556316",
      "y": "36.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "30.232901050",
      "y": "32.494914727"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "27.689232103",
      "y": "32.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "24.087337894",
      "y": "38.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "23.572781578",
      "y": "33.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "29.232901049",
      "y": "37.000000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "35.820238942",
      "y": "35.067696305"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "43.436689466",
      "y": "35.465802096"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "73.159419969",
      "y": "4.631006840"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "52.339181027",
      "y": "5.145563155"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "62.999300498",
      "y": "5.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "27.000000000",
      "y": "46.174675786"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "53.907576834",
      "y": "48.562611032"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "40.203788417",
      "y": "46.465802096"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "39.620836294",
      "y": "7.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "39.902491562",
      "y": "23.232901048"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "51.722730502",
      "y": "63.999300497"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "69.669590513",
      "y": "50.873378930"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "69.999300497",
      "y": "69.373378930"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "32.931604192",
      "y": "63.465802096"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "10.500000000",
      "y": "41.805682626"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "11.320238941",
      "y": "63.611365252"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "70.159419968",
      "y": "90.708174187"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "93.659419968",
      "y": "90.349351572"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "92.639778379",
      "y": "65.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "92.310068395",
      "y": "40.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "91.795512081",
      "y": "13.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "14.407576834",
      "y": "88.611365252"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "43.737286818",
      "y": "87.965802096"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "62.902491562",
      "y": "26.436689465"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "15.951245781",
      "y": "15.500000000"
    }
  ],
  "ratio": "1.029112631",
  "side": "102.698703151"
}

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.