P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 41

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

Record comparison

container short side · Lower is better
RecordValue / intervalAuthor / holderSource
External best known——No reference listed
Site record155Joost 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 155

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 = 41, 155
LAYOUT & HISTORY

Record details

Inspect the layout, solver notes and record history.

Record holderJoost de Winter
Solution methodAI · OpenAI: GPT-6.1 Sol
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 · OpenAI: GPT-6.1 Sol
    155.841841976→155
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    155.85698053→155.841841976
  3. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    155.915392158→155.85698053
  4. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    156.009433132→155.915392158
  5. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    156.3070331→156.009433132
  6. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    156.388967738→156.3070331
  7. qiboqiAI · OpenAI: GPT-6 Luna
    156.38896774→156.388967738
  8. qiboqiAI · OpenAI: GPT-6 Luna
    156.388967796→156.38896774
  9. qiboqiAI · OpenAI: GPT-6 Luna
    156.448742683→156.388967796
  10. qiboqiAI · OpenAI: GPT-6 Luna
    156.551760538→156.448742683
  11. qiboqiAI · OpenAI: GPT-6 Luna
    156.701745418→156.551760538
  12. qiboqiAI · OpenAI: GPT-6 Luna
    156.959382496→156.701745418
  13. qiboqiAI · OpenAI: GPT-6 Luna
    157.44→156.959382496
  14. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    165.7→157.44
  15. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    168→165.7
  16. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    174→168
  17. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    175→174
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": "24.5",
      "y": "52.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "26.0",
      "y": "28.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "54.5",
      "y": "30.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "79.0",
      "y": "66.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "74.5",
      "y": "65.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "56.0",
      "y": "66.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "55.5",
      "y": "72.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "76.0",
      "y": "72.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "47.5",
      "y": "71.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "48.0",
      "y": "62.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "137.5",
      "y": "105.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "149.0",
      "y": "105.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "65.5",
      "y": "69.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "110.0",
      "y": "110.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "124.5",
      "y": "109.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "117.0",
      "y": "94.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "116.5",
      "y": "77.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "123.0",
      "y": "126.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "33.5",
      "y": "66.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "124.0",
      "y": "145.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "144.5",
      "y": "144.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "92.0",
      "y": "107.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "143.5",
      "y": "122.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "12.0",
      "y": "64.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "12.5",
      "y": "39.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "95.0",
      "y": "82.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "13.5",
      "y": "13.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "39.0",
      "y": "43.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "41.5",
      "y": "14.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "140.0",
      "y": "84.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "68.5",
      "y": "47.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "72.0",
      "y": "16.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "104.5",
      "y": "16.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "138.0",
      "y": "17.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "137.5",
      "y": "51.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "102.0",
      "y": "51.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "95.5",
      "y": "136.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "58.0",
      "y": "136.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "19.5",
      "y": "135.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "20.0",
      "y": "96.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "60.5",
      "y": "96.5"
    }
  ],
  "ratio": "1",
  "side": "155"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 41
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 0,
      "turn": "0",
      "x": "24.5",
      "y": "52.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "26.0",
      "y": "28.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "54.5",
      "y": "30.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "79.0",
      "y": "66.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "74.5",
      "y": "65.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "56.0",
      "y": "66.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "55.5",
      "y": "72.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "76.0",
      "y": "72.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "47.5",
      "y": "71.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "48.0",
      "y": "62.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "137.5",
      "y": "105.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "149.0",
      "y": "105.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "65.5",
      "y": "69.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "110.0",
      "y": "110.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "124.5",
      "y": "109.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "117.0",
      "y": "94.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "116.5",
      "y": "77.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "123.0",
      "y": "126.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "33.5",
      "y": "66.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "124.0",
      "y": "145.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "144.5",
      "y": "144.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "92.0",
      "y": "107.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "143.5",
      "y": "122.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "12.0",
      "y": "64.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "12.5",
      "y": "39.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "95.0",
      "y": "82.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "13.5",
      "y": "13.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "39.0",
      "y": "43.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "41.5",
      "y": "14.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "140.0",
      "y": "84.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "68.5",
      "y": "47.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "72.0",
      "y": "16.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "104.5",
      "y": "16.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "138.0",
      "y": "17.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "137.5",
      "y": "51.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "102.0",
      "y": "51.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "95.5",
      "y": "136.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "58.0",
      "y": "136.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "19.5",
      "y": "135.5"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "20.0",
      "y": "96.0"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "60.5",
      "y": "96.5"
    }
  ],
  "ratio": "1",
  "side": "155"
}

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.