P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 45

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

Record comparison

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

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 = 45, 178.116688938
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 (9 changes)
  1. zzzcyAI · OpenAI: GPT-6 Astra
    178.116688976→178.116688938
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    178.605143322→178.116688976
  3. Joost de WinterAI · Anthropic: Claude Fable 5.2
    179→178.605143322
  4. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    179.25417588→179
  5. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    179.668833984→179.25417588
  6. qiboqiAI · OpenAI: GPT-6 Luna
    180.537037038→179.668833984
  7. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    192.18→180.537037038
  8. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    195→192.18
  9. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    196→195
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": "115.805986989",
      "y": "40.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "45.293008245",
      "y": "138.938655101"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "45.807701520",
      "y": "136.438655101"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "47.351781346",
      "y": "41.116688938"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "95.218255969",
      "y": "17.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "50.439941000",
      "y": "137.938655101"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "151.734235142",
      "y": "139.277886337"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "159.234235142",
      "y": "139.792579612"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "88.012550112",
      "y": "19.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "156.350924081",
      "y": "161.409697183"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "156.850924081",
      "y": "172.218255969"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "157.350924081",
      "y": "150.086445122"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "62.691012582",
      "y": "77.616688938"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "63.000000000",
      "y": "91.322394795"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "91.013407377",
      "y": "7.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "91.615403040",
      "y": "32.000000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "174.734235142",
      "y": "125.895861173"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "157.234235142",
      "y": "126.410554449"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "9.779172235",
      "y": "75.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "173.350924081",
      "y": "145.968898918"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "172.850924081",
      "y": "167.071323214"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "11.323252061",
      "y": "55.000000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "11.500000000",
      "y": "96.837945337"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "111.234235142",
      "y": "129.675033408"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "135.734235142",
      "y": "130.189726683"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "13.382025163",
      "y": "121.675890674"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "36.543222561",
      "y": "57.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "84.411411714",
      "y": "85.116688938"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "41.264050326",
      "y": "120.012550111"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "130.732091979",
      "y": "56.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "99.335802173",
      "y": "55.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "66.910125816",
      "y": "55.116688938"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "39.500000000",
      "y": "88.101567030"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "134.350924081",
      "y": "160.556629938"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "99.850924081",
      "y": "160.041936663"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "164.701848162",
      "y": "59.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "63.307272887",
      "y": "159.616688938"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "64.293008244",
      "y": "19.558344469"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "163.734235142",
      "y": "97.073037745"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "120.438226468",
      "y": "20.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "162.128381784",
      "y": "20.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "77.617117571",
      "y": "120.116688938"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "22.131810847",
      "y": "156.438655101"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "22.646504122",
      "y": "22.000000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "121.734235142",
      "y": "94.161197398"
    }
  ],
  "ratio": "1.029386551",
  "side": "178.116688938"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 45
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 0,
      "turn": "0",
      "x": "115.805986989",
      "y": "40.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "45.293008245",
      "y": "138.938655101"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "45.807701520",
      "y": "136.438655101"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "47.351781346",
      "y": "41.116688938"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "95.218255969",
      "y": "17.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "50.439941000",
      "y": "137.938655101"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "151.734235142",
      "y": "139.277886337"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "159.234235142",
      "y": "139.792579612"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "88.012550112",
      "y": "19.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "156.350924081",
      "y": "161.409697183"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "156.850924081",
      "y": "172.218255969"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "157.350924081",
      "y": "150.086445122"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "62.691012582",
      "y": "77.616688938"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "63.000000000",
      "y": "91.322394795"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "91.013407377",
      "y": "7.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "91.615403040",
      "y": "32.000000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "174.734235142",
      "y": "125.895861173"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "157.234235142",
      "y": "126.410554449"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "9.779172235",
      "y": "75.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "173.350924081",
      "y": "145.968898918"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "172.850924081",
      "y": "167.071323214"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "11.323252061",
      "y": "55.000000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "11.500000000",
      "y": "96.837945337"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "111.234235142",
      "y": "129.675033408"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "135.734235142",
      "y": "130.189726683"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "13.382025163",
      "y": "121.675890674"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "36.543222561",
      "y": "57.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "84.411411714",
      "y": "85.116688938"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "41.264050326",
      "y": "120.012550111"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "130.732091979",
      "y": "56.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "99.335802173",
      "y": "55.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "66.910125816",
      "y": "55.116688938"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "39.500000000",
      "y": "88.101567030"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "134.350924081",
      "y": "160.556629938"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "99.850924081",
      "y": "160.041936663"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "164.701848162",
      "y": "59.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "63.307272887",
      "y": "159.616688938"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "64.293008244",
      "y": "19.558344469"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "163.734235142",
      "y": "97.073037745"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "120.438226468",
      "y": "20.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "162.128381784",
      "y": "20.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "77.617117571",
      "y": "120.116688938"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "22.131810847",
      "y": "156.438655101"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "22.646504122",
      "y": "22.000000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "121.734235142",
      "y": "94.161197398"
    }
  ],
  "ratio": "1.029386551",
  "side": "178.116688938"
}

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.