TOPICS

Maximally Dense Unit-Distance Graph


A maximally dense unit-distance graph is a unit-distance graph having the maximum possible number of edges (i.e., maximum graph density) for a given number of vertices. Finding a maximally dense unit-distance graph is equivalent to solving the Erdős unit distance problem. This maximum edge count, equivalently the maximum number of unit-distance pairs among n planar points, is denoted u(n).

Alon et al. (2026) and OpenAI (2026) disproved the conjectural asymptotic bound u(n)<=n^(1+o(1)), where o(1) denotes a quantity tending to 0 in little-O notation, showing that square grid-type constructions are not asymptotically optimal. Sawin (2026) subsequently gave the explicit lower bound u(n)>n^(1.014) for arbitrarily large n. This does not determine the true order of u(n), and the exact maximally dense unit-distance graphs presently known for small n do not settle the asymptotic structure. The construction gives an infinite-family lower bound, but not a matching upper bound or a classification of extremal unit-distance graphs.

Special cases are summarized in the following table, where n is the vertex count.

MaximallyDenseUnitDistanceGraphs

Alexeev et al. (2025) determined all nonisomorphic maximally dense unit-distance graph up to 21 vertices. Their counts for n=1, 2, ... are 1, 1, 1, 1, 1, 4, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 7, 16, 3, 1, 5, ... (OEIS A385657). All but one of these graphs were previously discovered by Engel et al. (2025), with the exception being a graph on 17 vertices whose unit-distance embedding does not reside within the Moser ring they searched (Alexeev et al. 2025). The maximally dense unit-distance graphs for n=1 to 15 are illustrated above.

The kth maximally dense unit-distance graph on n<=21 vertices will be implemented in a future version of the Wolfram Language as GraphData[{"MaximallyDenseUnitDistance", {n, k}}].


See also

Erdős Unit Distance Problem, Graph Density, Unit-Distance Graph

Explore with Wolfram|Alpha

References

Agoston, P. and Pálvőlgyi, D. "An Improved Constant Factor for the Unit Distance Problem." Studia Sci. Math. Hungarica 59, 40-57, 2022.Alexeev, B.; Mixon, D. G.; and Parshall, H. "The Erdős Unit Distance Problem for Small Point Sets." 12 Feb 2025. https://arxiv.org/abs/2412.11914.Alon, N.; Bloom, T. F.; Gowers, W. T.; Litt, D.; Sawin, W.; Shankar, A.; Tsimerman, J.; Wang, V.; and Wood, M. M. "Remarks on the Disproof of the Unit Distance Conjecture." 20 May 2026. https://cdn.openai.com/pdf/74c24085-19b0-4534-9c90-465b8e29ad73/unit-distance-remarks.pdf.Engel, P.; Hammond-Lee, O.; Su, Y.; Varga, D.; and Zsámboki, P. "Diverse Beam Search to Find Densest-Known Planar Unit Distance Graphs." 13 Jun 2025. https://arxiv.org/abs/2406.15317.Erdős, P. "On Sets of Distances of n Points." Amer. Math. Monthly 53, 248-250, 1946.OpenAI. "Planar Point Sets with Many Unit Distances." 20 May 2026. https://cdn.openai.com/pdf/74c24085-19b0-4534-9c90-465b8e29ad73/unit-distance-proof.pdf.Pegg, E. Jr. "OpenAI Disproves Erdős Unit Distance Conjecture." Wolfram Community, May 21, 2026. https://community.wolfram.com/groups/-/m/t/3719376.Sawin, W. "An Explicit Lower Bound for the Unit Distance Problem." 20 May 2026. https://arxiv.org/abs/2605.20579.Schade, C. "Exakte Maximale Anzahlen Gleicher Abstände." Thesis. Braunschweig, Germany: TU Braunschweig, 1993.Sloane, N. J. A. Sequences A186705 and A385657 in "The On-Line Encyclopedia of Integer Sequences."Szemerédi, S. "Erdős's Unit Distance Problem." In Open Problems in Mathematics. Cham, Switzerland: Springer, 459-477, 2016.

Cite this as:

Weisstein, Eric W. "Maximally Dense Unit-Distance Graph." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/MaximallyDenseUnit-DistanceGraph.html

Subject classifications