P13 · Packing and covering · Classic

Packing circles of radius 1,2,…,n into a square · n = 3

Also known aspacking circles with radii 1 to n in a squaregraduated circle packing

Pack n non-overlapping circles of radii 1, 2, …, n inside an enclosing square to minimize its side length.

Instancen = 3
ObjectiveMinimize square side

Record comparison

square side · Lower is better
RecordValue / intervalAuthor / holderSource
Proven optimum8.535533906See source attribution
Proof / source

the two largest circles must be 5 apart, forcing side 5(1+√2/2)

Site recordNo player record yet——

FinishedA construction reaching the theoretical ceiling is already published, leaving nothing further to improve

Formal definition

  • ContainerA square [0, side] × [0, side] with the origin at its lower-left corner, where the smallest circle has unit radius 1 and side is the objective value to minimize
  • SubmissionSquare side and centers, listed in order of radii 1, 2, …, n
  • ConstraintsCircle i has radius i; no two interiors overlap; every circle lies wholly inside the square container
  • ObjectiveMinimize the side length of the enclosing square
Inspect in editor ↗

Layout shown: starter layout

8.535533906y0
0x8.535533906
VERIFIED CONSTRUCTIONside = 8.535533906

Getting a feel for it

Corner placement and interstitial gaps

Because a square has four right-angle corners, seating the largest few circles into the corners and staggering them across the diagonals is key to minimizing the side length, while smaller circles fit into the triangular pockets left behind. Increasing n by 1 introduces a new largest circle that often forces a reassignment of the four corners.

Proven optima and open frontier

Optimality for n ≤ 4 follows from elementary center-distance projections among the largest circles (see the instance notes). Packomania's csqn table lists best known values up to n = 100, and its ratio column is this problem's side. The table marks none of them proved, so n ≥ 5 remains open. The circular-container counterpart was a Zimmermann contest problem, also on Packomania.

Source
The current arrangement for Packing circles of radius 1,2,…,n into a square n = 3
LAYOUT & HISTORY

Starter layout

Inspect the layout, solver notes and record history.

The optimum is proven; no further improvement is possibleSubmit a proof / idea ↓Share a proof or bound argument in the discussion board. Accepted contributions earn proof points.
ANSWER FORMAT

How to write your answer

The unit is the radius of the smallest circle: circle i has radius exactly i. The container is the square you name — lower-left corner at the origin (0, 0), upper-right at (side, side) — and a smaller side scores better. Coordinates and radii share one unit and are written as plain decimals such as "3.5", to at most nine decimal places.

Submit the square side length and the circle centers listed in order of radii 1, 2, …, n. Write each number as a decimal string such as "3.5".

Starter answer

{
  "centers": [
    [
      "7.535533906",
      "1"
    ],
    [
      "6.535533906",
      "6.535533906"
    ],
    [
      "3",
      "3"
    ]
  ],
  "side": "8.535533906"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 3
}

Starter answer

{
  "centers": [
    [
      "7.535533906",
      "1"
    ],
    [
      "6.535533906",
      "6.535533906"
    ],
    [
      "3",
      "3"
    ]
  ],
  "side": "8.535533906"
}

Submit the square side length and the circle centers listed in order of radii 1, 2, …, n. Write each number as a decimal string such as "3.5". · 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.

No threads yet. Start the first discussion.