The Largest Planar Seven-Distance Sets

Primarily AI-generated textHuman understanding: all partsmath.CO — Combinatoricsmath.MG — Metric Geometry

Contributed by Alon Amit

Version 2 / Oct 26, 2026 / CC BY 4.0

Abstract

Let g(k)g(k) be the largest number of points in the plane that determine at most kk distinct distances. We prove that g(7)=16g(7)=16, and that up to similarity there are exactly two sixteen-point sets with at most seven distances. Both are pieces of the triangular lattice, which confirms for k=7k=7 the conjecture of Erdős and Fishburn that maximum kk-distance sets with k≥7k\ge7 are pieces of the triangular lattice. The proof is computer-assisted and self-contained. The main steps of the proof are a complete list of the 228228 distance patterns of ten-point planar sets with at most six distances (a number first obtained by Szöllősi and Östergård), in which every pattern discarded along the way carries a polynomial identity that certifies its impossibility; an exact determination of all realisations of these patterns; a diameter-graph argument showing that every sixteen-point set with at most seven distances contains such a ten-point set, including a new elementary proof that thirteen points whose diameter graph is a 1313-cycle and which determine at most seven distances form a regular 1313-gon; and an exhaustive extension search in exact arithmetic. The same methods show that there are exactly sixteen fifteen-point sets with at most seven distances, one of which is not contained in a sixteen-point set, and exactly 8484 fourteen-point sets. As a by-product we recover g(5)=12g(5)=12 and g(6)=13g(6)=13 together with their maximum sets, and classify all sets of eleven to thirteen points with at most six distances.

Author comments: Version 2 is a substantially rewritten and extended paper, now titled "The largest planar seven-distance sets" and authored by Alon Amit and Claude (Anthropic). Version 1, by A. Amit and GPT-6 Astra, proved g(7) = 16. Main changes: • Uniqueness: up to similarity there are exactly two sixteen-point sets with seven distances, the two pieces of the triangular lattice found by Erdős and Fishburn. This confirms their conjecture for k = 7. • The fifteen-point sets with seven distances are classified: there are sixteen, and one of them is not contained in a sixteen-point set. The 84 fourteen-point sets are also classified. • The same extension search with six distances classifies the sets of at least eleven points with at most six distances. This gives independent proofs of g(5) = 12 and g(6) = 13 and of the known classifications of the maximum sets. • The proof is self-contained. The 228 ten-point distance patterns are enumerated from scratch, and every discarded pattern carries a polynomial-identity certificate that a short program checks. The 13-cycle lemma has a new elementary proof. • All code, certificates and a step-by-step notebook are public, with links to a fixed tagged version.

Provenance statement

Version 1 was produced with OpenAI's GPT-6 Astra. Version 2 was written by Claude (Anthropic), working as Claude Fable 5.2 and later Claude Opus 5.5, over many rounds of questions, review and guidance from the first author. Claude rebuilt the proof to be self-contained and extended it to the uniqueness and classification results. It wrote all the code: the pattern enumeration, the certificate checker, the Gröbner-basis computations in SymPy, cross-checked with FLINT, and the walkthrough notebook. All computations are public and reproducible from the tagged repository. The first author (A.A.) has read the paper, understands its arguments, and vouches for its results.

Tools used

Anthropic
Claude OpusVersion 5.5
Anthropic
Claude FableVersion 5.2
OpenAI
ChatGPTVersion Astra

References

  1. E. Altman, On a problem of P. Erdős, Amer. Math. Monthly 70 (1963), 148--157.
  2. A. Amit, Planar sets with a fixed number of distances, interactive table, affine⋅\cdotmess, https://affinemess.com/fixed-distances.html.link
  3. A. Amit and Claude, Software and data for The largest planar seven-distance sets , GitHub repository alonamit1729/planar-distance-sets , folder seven-distances , tree/ /seven-distances .
  4. A. Amit and Claude, The (16,7)(16,7) proof: a walkthrough notebook, affine⋅\cdotmess, https://affinemess.com/16-7-proof.html;\newline live version https://alonamit1729.github.io/live-notebooks/16-7-proof.html.link
  5. A. Amit and GPT-6 Astra, The maximum cardinality of a planar seven-distance set, Hexagon 2610.00534v1 (2026).
  6. L.-R. Bao and W.-H. Yu, Constructions of large mm-distance sets on triangular lattice, arXiv:2509.00880 (2025).arXiv
  7. W. T. Budianto, An observation on 7-distance sets in the Euclidean plane , master's thesis, National Central University, Taiwan, 2022.
  8. P. Erdős and P. Fishburn, Maximum planar sets that determine kk distances, Discrete Math. 160 (1996), 115--125.
  9. P. Fishburn, Convex polygons with few intervertex distances, Comput. Geom. 5 (1995), 65--93.
  10. H. Hopf and E. Pannwitz, Aufgabe Nr. 167, Jahresber. Deutsch. Math.-Verein. 43 (1934), 114.
Show all 16 referencesShow fewer references
  1. B. D. McKay and A. Piperno, Practical graph isomorphism, II, J. Symbolic Comput. 60 (2014), 94--112.
  2. A. Meurer et al., SymPy: symbolic computing in Python, PeerJ Comput. Sci. 3 (2017), e103.
  3. M. Shinohara, Uniqueness of maximum planar five-distance sets, Discrete Math. 308 (2008), 3048--3055.
  4. F. Szöllősi and P. R. J. Östergård, Constructions of maximum few-distance sets in Euclidean spaces, Electron. J. Combin. 27 (1) (2020), #P1.23.
  5. X. Wei, A proof of Erdős--Fishburn's conjecture for g(6)=13g(6)=13, Electron. J. Combin. 19 (4) (2012), #P38.
  6. X. Wei, Classification of eleven-point five-distance sets in the plane, Ars Combin. 102 (2011).

Version history

  1. v1 · 27 pagesSubmitted by Alon AmitInitial depositSupersededOct 25, 2026
  2. v2 · 20 pagesSubmitted by Alon AmitVersion 2 is a substantially rewritten and extended paper, now titled "The largest planar seven-distance sets" and authored by Alon Amit and Claude (Anthropic). Version 1, by A. Amit and GPT-6 Astra, proved g(7) = 16. Main changes: • Uniqueness: up to similarity there are exactly two sixteen-point sets with seven distances, the two pieces of the triangular lattice found by Erdős and Fishburn. This confirms their conjecture for k = 7. • The fifteen-point sets with seven distances are classified: there are sixteen, and one of them is not contained in a sixteen-point set. The 84 fourteen-point sets are also classified. • The same extension search with six distances classifies the sets of at least eleven points with at most six distances. This gives independent proofs of g(5) = 12 and g(6) = 13 and of the known classifications of the maximum sets. • The proof is self-contained. The 228 ten-point distance patterns are enumerated from scratch, and every discarded pattern carries a polynomial-identity certificate that a short program checks. The 13-cycle lemma has a new elementary proof. • All code, certificates and a step-by-step notebook are public, with links to a fixed tagged version.CurrentDec 04, 2026