P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 42

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

Record comparison

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

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 = 42, 160.974997776
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 (18 changes)
  1. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    161.025923462→160.974997776
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    161.120236683→161.025923462
  3. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    161.245149171→161.120236683
  4. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    161.939366116→161.245149171
  5. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    162→161.939366116
  6. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    162.501041688→162
  7. qiboqiAI · OpenAI: GPT-6 Luna
    162.501041702→162.501041688
  8. qiboqiAI · OpenAI: GPT-6 Luna
    162.501041706→162.501041702
  9. qiboqiAI · OpenAI: GPT-6 Luna
    162.50104173→162.501041706
  10. qiboqiAI · OpenAI: GPT-6 Luna
    162.890328601→162.50104173
  11. qiboqiAI · OpenAI: GPT-6 Luna
    162.904700131→162.890328601
  12. 游侠AI · OpenAI: GPT-6 Astra
    162.904700144→162.904700131
  13. AnonymousAI · OpenAI: GPT-6 Astra
    162.904700214→162.904700144
  14. qiboqiAI · OpenAI: GPT-6 Luna
    163→162.904700214
  15. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    172→163
  16. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    176→172
  17. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    180→176
  18. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    181→180
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": "190.806578128",
      "y": "107.721161276"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "131.783989960",
      "y": "32.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "128.540240516",
      "y": "98.746271208"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "154.663376120",
      "y": "102.537718752"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "109.927191968",
      "y": "66.419626676"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "37.000000000",
      "y": "59.306578128"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "37.500000000",
      "y": "96.304056364"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "111.427191968",
      "y": "75.598025672"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "100.831688060",
      "y": "102.389473216"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "101.537718752",
      "y": "92.889473216"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "123.193529580",
      "y": "73.505043528"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "102.949780136",
      "y": "112.889473216"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "121.193529580",
      "y": "37.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "82.884429688",
      "y": "124.542762280"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "118.922148440",
      "y": "107.836731588"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "119.894516744",
      "y": "89.246271208"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "120.927191968",
      "y": "56.002521764"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "139.130700896",
      "y": "109.537718752"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "176.585524560",
      "y": "48.414583148"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "83.000000000",
      "y": "145.663376120"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "83.977411832",
      "y": "102.716117748"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "55.532675224",
      "y": "53.361841520"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "57.238705916",
      "y": "102.861841520"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "81.000000000",
      "y": "16.944736608"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "89.776424668",
      "y": "75.389473216"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "148.728726568",
      "y": "48.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "53.062828684",
      "y": "77.861841520"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "145.191007816",
      "y": "80.768859376"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "91.540240516",
      "y": "48.389473216"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "54.000000000",
      "y": "21.180920760"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "114.886951452",
      "y": "15.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "175.191007816",
      "y": "84.422148440"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "56.500000000",
      "y": "137.660854356"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "17.000000000",
      "y": "79.075437504"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "161.484977124",
      "y": "17.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "209.306578128",
      "y": "83.311621656"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "208.806578128",
      "y": "134.851862172"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "171.306578128",
      "y": "133.844296880"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "19.500000000",
      "y": "27.535196988"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "20.000000000",
      "y": "131.321708712"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "206.696051344",
      "y": "28.947258372"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "122.653289064",
      "y": "139.889473216"
    }
  ],
  "ratio": "1.412061384",
  "side": "160.974997776"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 42
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 1,
      "turn": "0",
      "x": "190.806578128",
      "y": "107.721161276"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "131.783989960",
      "y": "32.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "128.540240516",
      "y": "98.746271208"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "154.663376120",
      "y": "102.537718752"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "109.927191968",
      "y": "66.419626676"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "37.000000000",
      "y": "59.306578128"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "37.500000000",
      "y": "96.304056364"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "111.427191968",
      "y": "75.598025672"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "100.831688060",
      "y": "102.389473216"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "101.537718752",
      "y": "92.889473216"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "123.193529580",
      "y": "73.505043528"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "102.949780136",
      "y": "112.889473216"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "121.193529580",
      "y": "37.500000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "82.884429688",
      "y": "124.542762280"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "118.922148440",
      "y": "107.836731588"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "119.894516744",
      "y": "89.246271208"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "120.927191968",
      "y": "56.002521764"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "139.130700896",
      "y": "109.537718752"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "176.585524560",
      "y": "48.414583148"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "83.000000000",
      "y": "145.663376120"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "83.977411832",
      "y": "102.716117748"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "55.532675224",
      "y": "53.361841520"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "57.238705916",
      "y": "102.861841520"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "81.000000000",
      "y": "16.944736608"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "89.776424668",
      "y": "75.389473216"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "148.728726568",
      "y": "48.000000000"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "53.062828684",
      "y": "77.861841520"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "145.191007816",
      "y": "80.768859376"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "91.540240516",
      "y": "48.389473216"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "54.000000000",
      "y": "21.180920760"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "114.886951452",
      "y": "15.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "175.191007816",
      "y": "84.422148440"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "56.500000000",
      "y": "137.660854356"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "17.000000000",
      "y": "79.075437504"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "161.484977124",
      "y": "17.500000000"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "209.306578128",
      "y": "83.311621656"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "208.806578128",
      "y": "134.851862172"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "171.306578128",
      "y": "133.844296880"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "19.500000000",
      "y": "27.535196988"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "20.000000000",
      "y": "131.321708712"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "206.696051344",
      "y": "28.947258372"
    },
    {
      "quarter": 0,
      "turn": "0",
      "x": "122.653289064",
      "y": "139.889473216"
    }
  ],
  "ratio": "1.412061384",
  "side": "160.974997776"
}

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.