P01 · Packing and covering · Classic · Hard

Equal-circle packing in a unit square · n = 42

Also known ascircle packing in a squarepacking equal circles in a unit squarecsq

Place n non-overlapping circles of equal radius inside the unit square to maximize their common radius.

Instancen = 42
ObjectiveMaximize common radius

Record comparison

common radius · Higher is better
RecordValue / intervalAuthor / holderSource
External best known[0.0778015028975, 0.0778015028985]See source attributionpackomania.com ↗
Site recordNo player record yet——

Formal definition

  • ContainerThe unit square [0, 1] × [0, 1], with lower-left corner (0, 0) and upper-right corner (1, 1)
  • SubmissionExactly n circles: one common radius and n center coordinates
  • ConstraintsEvery circle lies wholly inside the square; no two interiors overlap, and tangency is allowed
  • ObjectiveMaximize the common radius
Challenge this record ↗

Layout shown: starter layout

1y0
0x1
VERIFIED CONSTRUCTIONr = 0.077801502

Getting a feel for it

Contact graphs and irregular packings

At maximum radius, most circles are tangent to neighbors or the square boundary, forming a rigid contact network. Outside a few square numbers, regular grids waste space along the edges; better packings typically use tilted rows, staggered layers, and occasionally one or two rattlers that can move slightly inside a pocket.

Proven optima and open frontier

Mathematical optimality proofs are known for n = 1–30. For n = 31–300, the public best-known constructions from Packomania are imported; optimality remains open except at n = 36. Larger instances are grouped into a single table for algorithmic benchmarking.

Source
The current arrangement for Equal-circle packing in a unit square n = 42
LAYOUT & HISTORY

Starter layout

Inspect the layout, solver notes and record history.

Challenge this record ↗Submit 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 container is a square of side 1, from (0, 0) to (1, 1). Ordinary decimal certificates allow nine decimal places. Values may also be fractions and square roots, with up to 3 different roots in one answer; see the notation and limits below.

Submit radius and centers as decimal strings, or as fractions and square roots such as "1/6", "(sqrt(6)-sqrt(2))/4" or "√(2-√3)", using up to 3 different roots in one answer; these are checked exactly. For n ≤ 35 the earlier algebraic format (with field: 2 or 3) still works. Settled instances remain closed.

Starter answer

{
  "centers": [
    [
      "0.077801503",
      "0.077801503"
    ],
    [
      "0.359267168",
      "0.077801503"
    ],
    [
      "0.640732832",
      "0.077801503"
    ],
    [
      "0.922198497",
      "0.077801503"
    ],
    [
      "0.218534335",
      "0.144183468"
    ],
    [
      "0.5",
      "0.144183468"
    ],
    [
      "0.781465665",
      "0.144183468"
    ],
    [
      "0.077801503",
      "0.233404509"
    ],
    [
      "0.359267168",
      "0.233404509"
    ],
    [
      "0.640732832",
      "0.233404509"
    ],
    [
      "0.922198497",
      "0.233404509"
    ],
    [
      "0.218534335",
      "0.299786474"
    ],
    [
      "0.5",
      "0.299786474"
    ],
    [
      "0.781465665",
      "0.299786474"
    ],
    [
      "0.077801503",
      "0.389007514"
    ],
    [
      "0.359267168",
      "0.389007514"
    ],
    [
      "0.640732832",
      "0.389007514"
    ],
    [
      "0.922198497",
      "0.389007514"
    ],
    [
      "0.218534335",
      "0.45538948"
    ],
    [
      "0.5",
      "0.45538948"
    ],
    [
      "0.781465665",
      "0.45538948"
    ],
    [
      "0.077801503",
      "0.54461052"
    ],
    [
      "0.359267168",
      "0.54461052"
    ],
    [
      "0.640732832",
      "0.54461052"
    ],
    [
      "0.922198497",
      "0.54461052"
    ],
    [
      "0.218534335",
      "0.610992486"
    ],
    [
      "0.5",
      "0.610992486"
    ],
    [
      "0.781465665",
      "0.610992486"
    ],
    [
      "0.359267168",
      "0.700213526"
    ],
    [
      "0.640732832",
      "0.700213526"
    ],
    [
      "0.077801503",
      "0.700213526"
    ],
    [
      "0.922198497",
      "0.700213526"
    ],
    [
      "0.218534335",
      "0.766595491"
    ],
    [
      "0.5",
      "0.766595491"
    ],
    [
      "0.781465665",
      "0.766595491"
    ],
    [
      "0.077801503",
      "0.855816532"
    ],
    [
      "0.359267168",
      "0.855816532"
    ],
    [
      "0.640732832",
      "0.855816532"
    ],
    [
      "0.922198497",
      "0.855816532"
    ],
    [
      "0.218534335",
      "0.922198497"
    ],
    [
      "0.5",
      "0.922198497"
    ],
    [
      "0.781465665",
      "0.922198497"
    ]
  ],
  "radius": "0.077801502"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 42
}

Starter answer

{
  "centers": [
    [
      "0.077801503",
      "0.077801503"
    ],
    [
      "0.359267168",
      "0.077801503"
    ],
    [
      "0.640732832",
      "0.077801503"
    ],
    [
      "0.922198497",
      "0.077801503"
    ],
    [
      "0.218534335",
      "0.144183468"
    ],
    [
      "0.5",
      "0.144183468"
    ],
    [
      "0.781465665",
      "0.144183468"
    ],
    [
      "0.077801503",
      "0.233404509"
    ],
    [
      "0.359267168",
      "0.233404509"
    ],
    [
      "0.640732832",
      "0.233404509"
    ],
    [
      "0.922198497",
      "0.233404509"
    ],
    [
      "0.218534335",
      "0.299786474"
    ],
    [
      "0.5",
      "0.299786474"
    ],
    [
      "0.781465665",
      "0.299786474"
    ],
    [
      "0.077801503",
      "0.389007514"
    ],
    [
      "0.359267168",
      "0.389007514"
    ],
    [
      "0.640732832",
      "0.389007514"
    ],
    [
      "0.922198497",
      "0.389007514"
    ],
    [
      "0.218534335",
      "0.45538948"
    ],
    [
      "0.5",
      "0.45538948"
    ],
    [
      "0.781465665",
      "0.45538948"
    ],
    [
      "0.077801503",
      "0.54461052"
    ],
    [
      "0.359267168",
      "0.54461052"
    ],
    [
      "0.640732832",
      "0.54461052"
    ],
    [
      "0.922198497",
      "0.54461052"
    ],
    [
      "0.218534335",
      "0.610992486"
    ],
    [
      "0.5",
      "0.610992486"
    ],
    [
      "0.781465665",
      "0.610992486"
    ],
    [
      "0.359267168",
      "0.700213526"
    ],
    [
      "0.640732832",
      "0.700213526"
    ],
    [
      "0.077801503",
      "0.700213526"
    ],
    [
      "0.922198497",
      "0.700213526"
    ],
    [
      "0.218534335",
      "0.766595491"
    ],
    [
      "0.5",
      "0.766595491"
    ],
    [
      "0.781465665",
      "0.766595491"
    ],
    [
      "0.077801503",
      "0.855816532"
    ],
    [
      "0.359267168",
      "0.855816532"
    ],
    [
      "0.640732832",
      "0.855816532"
    ],
    [
      "0.922198497",
      "0.855816532"
    ],
    [
      "0.218534335",
      "0.922198497"
    ],
    [
      "0.5",
      "0.922198497"
    ],
    [
      "0.781465665",
      "0.922198497"
    ]
  ],
  "radius": "0.077801502"
}

Submit radius and centers as decimal strings, or as fractions and square roots such as "1/6", "(sqrt(6)-sqrt(2))/4" or "√(2-√3)", using up to 3 different roots in one answer; these are checked exactly. For n ≤ 35 the earlier algebraic format (with field: 2 or 3) still works. Settled instances remain closed. · 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.