TOPICS
Search

Erdős Unit Distance Problem


The Erdős unit distance problem asks to determine the maximum number u(n) of occurrences of the same distance among n points in the plane. It is equivalent to finding a maximally dense unit-distance graph on n vertices.

Erdős (1946) proved a lower bound of u(n)=n^(1+Omega(1/lnlnn)), where Omega is big-Omega notation, and he offered a $500 prize for a matching upper bound. The conjectured matching bound, in the form u(n)<=n^(1+o(1)), where o(1) denotes a quantity tending to 0 in little-O notation, or more concretely u(n)<=n^(1+C/lnlnn) for some absolute constant C, was refuted by an OpenAI-generated proof (Alon et al. 2026, OpenAI 2026). The proof constructs point sets for infinitely many n with at least n^(1+delta) unit-distance pairs for some fixed delta>0. Sawin (2026) subsequently made the bound explicit and proved that, for arbitrarily large n, more than n^(1.014) unit-distance pairs occur. The construction uses algebraic number fields, infinite class field towers, and the Golod-Shafarevich theorem, and gives an asymptotic counterexample to square grid optimality.

ErdosUnitDistanceOpenAIConstruction

Finite pieces of the explicit construction are illustrated above. They are obtained by taking omega=(-1+isqrt(3))/2 and points a+bi+comega+diomega with a,b,c,d in {-k,...,k}, then joining pairs at unit distance (S. Yang, in Pegg 2026). The case k=2 has 625 vertices and 2800 edges, giving graph density 14/975 and edge count per vertex 112/25. Increasing k reduces boundary effects in these finite pieces, but this box family still has only linearly many unit-distance pairs in the number of vertices (so the parameter k in the illustration is not the asymptotic parameter in Sawin's proof). In Sawin's asymptotic construction, arbitrarily large n comes from number fields of increasing degree, giving higher-dimensional lattices with many vectors whose projections have length 1.

For the finite box graph with k=2, exact coordinates and NumberFieldDiscriminant[x] show that the points generate number fields whose discriminants are supported only at the primes 2 and 3. Applying the same check to the exact coordinates of Heule graphs and Parts graphs instead brings in the primes 3, 5, and 11 (E. Pegg, pers. comm., May 22, 2026).

However, the true order of u(n) remains unknown. The best upper bound currently known is u(n)=O(n^(4/3)), where O is big-O notation (Szemerédi 2016). In particular, the OpenAI construction gives an infinite family of point sets beating the conjectured grid-type asymptotic bound, but does not give a matching upper bound or characterize extremal configurations.

Exact values of u(n) for n<=14 were obtained by Schade (1993) together with the complete sets of densest graphs for n<=13. Agoston and Pálvőlgyi (2022) subsequently determined the exact value of u(15), and Alexeev et al. (2025) found u(n) for n<=21 as well as a complete set of densest graphs. All but one of these graphs (one of the 7 on 17 vertices whose unit-distance embedding does not reside within the Moser ring) were previously discovered by Engel et al. (2024).

For n=1, 2, ..., u(n) is given by 0, 1, 3, 5, 7, 9, 12, 14, 18, 20, 23, 27, 30, 33, 37, 41, 43, 46, 50, 54, 57, ... (OEIS A186705). The corresponding numbers of nonisomorphic maximally dense unit-distance graphs are 1, 1, 1, 1, 1, 4, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 7, 16, 3, 1, 5, ... (OEIS A385657; Alexeev et al. 2025).


See also

Maximally Dense Unit-Distance Graph, 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.; O. Hammond-Lee, P.; Su, Y.; Varga, D.; and Zsámboki, P. "Diverse Beam Search to Find Densest-Known Planar Unit Distance Graphs." 2024. 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. "Erdős Unit Distance Problem." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/ErdosUnitDistanceProblem.html

Subject classifications