P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 19

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

Record comparison

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

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 = 19, 49.909918859
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 (10 changes)
  1. Joost de WinterAI · Anthropic: Claude Fable 5.2
    50→49.909918859
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    50.21320345→50
  3. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    50.378566894→50.21320345
  4. AnonymousAI · OpenAI: GPT-6 Astra
    50.378566943→50.378566894
  5. 今天AI · DeepSeek: DeepSeek V4.1 Flash 1017
    50.49779325→50.378566943
  6. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    51→50.49779325
  7. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    52.66→51
  8. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    53.773584906→52.66
  9. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    56→53.773584906
  10. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    57→56
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": "19.5",
      "y": "19.64539359"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "38",
      "y": "18.052523839"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "37.5",
      "y": "30.264525261"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "36",
      "y": "26.547829176"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "36.5",
      "y": "21.769219924"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "33",
      "y": "45.662266181"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26.5",
      "y": "46.193222765"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "19",
      "y": "45.662266182"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "19.5",
      "y": "36.636004262"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "29",
      "y": "24.424002841"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "18.5",
      "y": "26.016872592"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "30",
      "y": "36.105047678"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "6.5",
      "y": "27.078785759"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "46",
      "y": "24.424002841"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "7.5",
      "y": "41.945570097"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "45",
      "y": "8.495305336"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "44.5",
      "y": "40.883656931"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "28",
      "y": "9.557218503"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "9.5",
      "y": "10.088175087"
    }
  ],
  "ratio": "1.061913167",
  "side": "49.909918859"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 19
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 1,
      "turn": "0",
      "x": "19.5",
      "y": "19.64539359"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "38",
      "y": "18.052523839"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "37.5",
      "y": "30.264525261"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "36",
      "y": "26.547829176"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "36.5",
      "y": "21.769219924"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "33",
      "y": "45.662266181"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26.5",
      "y": "46.193222765"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "19",
      "y": "45.662266182"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "19.5",
      "y": "36.636004262"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "29",
      "y": "24.424002841"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "18.5",
      "y": "26.016872592"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "30",
      "y": "36.105047678"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "6.5",
      "y": "27.078785759"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "46",
      "y": "24.424002841"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "7.5",
      "y": "41.945570097"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "45",
      "y": "8.495305336"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "44.5",
      "y": "40.883656931"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "28",
      "y": "9.557218503"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "9.5",
      "y": "10.088175087"
    }
  ],
  "ratio": "1.061913167",
  "side": "49.909918859"
}

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.