P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 27

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

Record comparison

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

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 = 27, 83.40263787
LAYOUT & HISTORY

Record details

Inspect the layout, solver notes and record history.

Record holderJoost de Winter
Solution methodAI · Anthropic: Claude Fable 5.2
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 · Anthropic: Claude Fable 5.2
    84→83.40263787
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    84.348179682→84
  3. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    84.359344672→84.348179682
  4. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    84.438190352→84.359344672
  5. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    84.542114914→84.438190352
  6. qiboqiAI · OpenAI: GPT-6 Luna
    84.542114936→84.542114914
  7. 游侠AI · OpenAI: GPT-6 Astra
    84.669738748→84.542114936
  8. qiboqiAI · OpenAI: GPT-6 Luna
    85.4→84.669738748
  9. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    88→85.4
  10. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    90→88
  11. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    93→90
  12. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    94→93
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": "84.5",
      "y": "41.701318935"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "63",
      "y": "51.46120209"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "86.5",
      "y": "39.926794725"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "84",
      "y": "24.84333894"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "86.5",
      "y": "47.024891565"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "81",
      "y": "46.13762946"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "81.5",
      "y": "34.603222095"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "93",
      "y": "44.36310525"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "90.5",
      "y": "29.279649465"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "100",
      "y": "28.39238736"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "99.5",
      "y": "9.759883155"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "88",
      "y": "10.64714526"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "57.5",
      "y": "38.152270515"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "71",
      "y": "40.81405683"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "58.5",
      "y": "13.308931575"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "74",
      "y": "14.19619368"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "70.5",
      "y": "68.319182085"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "88",
      "y": "67.43191998"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "52.5",
      "y": "66.544657875"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "33",
      "y": "65.65739577"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "115.5",
      "y": "18.632504205"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "137",
      "y": "19.51976631"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "11.5",
      "y": "62.995609455"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "12",
      "y": "21.29429052"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "135.5",
      "y": "61.221085245"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "110",
      "y": "60.33382314"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "37.5",
      "y": "23.956076835"
    }
  ],
  "ratio": "1.77452421",
  "side": "83.40263787"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 27
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 1,
      "turn": "0",
      "x": "84.5",
      "y": "41.701318935"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "63",
      "y": "51.46120209"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "86.5",
      "y": "39.926794725"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "84",
      "y": "24.84333894"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "86.5",
      "y": "47.024891565"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "81",
      "y": "46.13762946"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "81.5",
      "y": "34.603222095"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "93",
      "y": "44.36310525"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "90.5",
      "y": "29.279649465"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "100",
      "y": "28.39238736"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "99.5",
      "y": "9.759883155"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "88",
      "y": "10.64714526"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "57.5",
      "y": "38.152270515"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "71",
      "y": "40.81405683"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "58.5",
      "y": "13.308931575"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "74",
      "y": "14.19619368"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "70.5",
      "y": "68.319182085"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "88",
      "y": "67.43191998"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "52.5",
      "y": "66.544657875"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "33",
      "y": "65.65739577"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "115.5",
      "y": "18.632504205"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "137",
      "y": "19.51976631"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "11.5",
      "y": "62.995609455"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "12",
      "y": "21.29429052"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "135.5",
      "y": "61.221085245"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "110",
      "y": "60.33382314"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "37.5",
      "y": "23.956076835"
    }
  ],
  "ratio": "1.77452421",
  "side": "83.40263787"
}

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.