P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 25

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

Record comparison

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

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 = 25, 74.478184744
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 (17 changes)
  1. Joost de WinterAI · Anthropic: Claude Fable 5.2
    74.915026243→74.478184744
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    74.91946569→74.915026243
  3. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    74.943895848→74.91946569
  4. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    74.966279371→74.943895848
  5. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    75.00000003→74.966279371
  6. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    75.039357908→75.00000003
  7. qiboqiAI · OpenAI: GPT-6 Luna
    75.039357912→75.039357908
  8. qiboqiAI · OpenAI: GPT-6 Luna
    75.039358906→75.039357912
  9. qiboqiAI · OpenAI: GPT-6 Luna
    75.19784704→75.039358906
  10. qiboqiAI · OpenAI: GPT-6 Luna
    75.595631712→75.19784704
  11. 游侠AI · OpenAI: GPT-6 Astra
    75.819526398→75.595631712
  12. AnonymousAI · OpenAI: GPT-6 Astra
    75.81952643→75.819526398
  13. qiboqiAI · OpenAI: GPT-6 Luna
    76.166666667→75.81952643
  14. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    80.833333334→76.166666667
  15. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    81→80.833333334
  16. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    82→81
  17. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    83→82
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": "43.5",
      "y": "26.846787524"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "42",
      "y": "27.712812928"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "50.5",
      "y": "52.827549644"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "58",
      "y": "38.105117776"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "49.5",
      "y": "45.899346412"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "86",
      "y": "27.712812928"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "79.5",
      "y": "28.578838332"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "56",
      "y": "48.497422624"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "51.5",
      "y": "33.774990756"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "30",
      "y": "36.373066968"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "54.5",
      "y": "64.9519053"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "41",
      "y": "39.837168584"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "82.5",
      "y": "11.258330252"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "42",
      "y": "62.353829088"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "48.5",
      "y": "12.99038106"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "33",
      "y": "13.856406464"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26.5",
      "y": "59.755752876"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "9",
      "y": "58.889727472"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "98.5",
      "y": "16.454482676"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "66",
      "y": "17.32050808"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "118.5",
      "y": "18.186533484"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "118",
      "y": "55.425625856"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "71.5",
      "y": "54.559600452"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "95",
      "y": "53.693575048"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "12.5",
      "y": "21.6506351"
    }
  ],
  "ratio": "1.732050808",
  "side": "74.478184744"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 25
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 1,
      "turn": "0",
      "x": "43.5",
      "y": "26.846787524"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "42",
      "y": "27.712812928"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "50.5",
      "y": "52.827549644"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "58",
      "y": "38.105117776"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "49.5",
      "y": "45.899346412"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "86",
      "y": "27.712812928"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "79.5",
      "y": "28.578838332"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "56",
      "y": "48.497422624"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "51.5",
      "y": "33.774990756"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "30",
      "y": "36.373066968"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "54.5",
      "y": "64.9519053"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "41",
      "y": "39.837168584"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "82.5",
      "y": "11.258330252"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "42",
      "y": "62.353829088"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "48.5",
      "y": "12.99038106"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "33",
      "y": "13.856406464"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "26.5",
      "y": "59.755752876"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "9",
      "y": "58.889727472"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "98.5",
      "y": "16.454482676"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "66",
      "y": "17.32050808"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "118.5",
      "y": "18.186533484"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "118",
      "y": "55.425625856"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "71.5",
      "y": "54.559600452"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "95",
      "y": "53.693575048"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "12.5",
      "y": "21.6506351"
    }
  ],
  "ratio": "1.732050808",
  "side": "74.478184744"
}

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.