P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 22

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

Record comparison

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

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 = 22, 61.822326072
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 (8 changes)
  1. Joost de WinterAI · Anthropic: Claude Fable 5.2
    62→61.822326072
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    62.490130299→62
  3. AnonymousAI · OpenAI: GPT-6 Astra
    62.505→62.490130299
  4. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    62.739495799→62.505
  5. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    66→62.739495799
  6. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    67.886792453→66
  7. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    70→67.886792453
  8. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    71→70
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": "67.5",
      "y": "16.644472404"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "76",
      "y": "31.70375696"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "13.5",
      "y": "26.155599492"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "10",
      "y": "26.948193416"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "77.5",
      "y": "37.251914428"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "11",
      "y": "34.874132656"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "71.5",
      "y": "35.66672658"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "4",
      "y": "30.118569112"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "72.5",
      "y": "22.985223796"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "72",
      "y": "7.92593924"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "61.5",
      "y": "8.718533164"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "62",
      "y": "26.948193416"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "73.5",
      "y": "51.51860506"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "7",
      "y": "50.726011136"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "7.5",
      "y": "11.88890886"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "59",
      "y": "49.140823288"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "42.5",
      "y": "48.348229364"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "89",
      "y": "47.55563544"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "24.5",
      "y": "15.059284556"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "24",
      "y": "45.970447592"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "87.5",
      "y": "16.644472404"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "45",
      "y": "17.437066328"
    }
  ],
  "ratio": "1.585187848",
  "side": "61.822326072"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 22
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 1,
      "turn": "0",
      "x": "67.5",
      "y": "16.644472404"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "76",
      "y": "31.70375696"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "13.5",
      "y": "26.155599492"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "10",
      "y": "26.948193416"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "77.5",
      "y": "37.251914428"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "11",
      "y": "34.874132656"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "71.5",
      "y": "35.66672658"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "4",
      "y": "30.118569112"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "72.5",
      "y": "22.985223796"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "72",
      "y": "7.92593924"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "61.5",
      "y": "8.718533164"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "62",
      "y": "26.948193416"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "73.5",
      "y": "51.51860506"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "7",
      "y": "50.726011136"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "7.5",
      "y": "11.88890886"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "59",
      "y": "49.140823288"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "42.5",
      "y": "48.348229364"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "89",
      "y": "47.55563544"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "24.5",
      "y": "15.059284556"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "24",
      "y": "45.970447592"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "87.5",
      "y": "16.644472404"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "45",
      "y": "17.437066328"
    }
  ],
  "ratio": "1.585187848",
  "side": "61.822326072"
}

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.