How many dots can be placed in the integer grid so that the difference vectors determined by pairs of dots remain mutually distinguishable — by slope, by length, or by either? Erdős, Graham, Ruzsa, and Taylor (1992) initiated the quantitative study of this family of questions, proving for the maximum number of grid points with pairwise distinct slopes, and posed three problems: whether the square-root barrier can be broken; whether an array with exactly dots and all pairwise difference vectors distinct exists for every ; and the corresponding extremal question for distinct lengths, which goes back to Erdős and Guy (1970). The square-root challenge was answered affirmatively by Zhang (1993), and the current records stand at versus for the slope variant, and versus for the length variant. This problem asks for the asymptotic orders of and and for a resolution of the every- existence question — all three of which remain open.
Background
Fix a positive integer and consider the square integer grid . Any two grid points determine a difference vector , defined up to overall sign; its slope is in lowest terms (vertical vectors have infinite slope) and its length is the Euclidean norm . A set of grid points has the distinct difference property if no two unordered pairs of points of determine the same vector — equivalently, any two of the difference vectors differ in slope or in length. This is the planar analogue of a Sidon set (also called a Golomb ruler): a set of integers in which all pairwise differences are distinct. Two stronger requirements are studied separately: (i) all slopes are pairwise distinct; (ii) all pairwise Euclidean distances are distinct (in recent literature such sets are called distance Sidon sets).
Two traditions feed these questions. In engineering, an permutation array (one dot in each row and each column) with the distinct difference property is a Costas array, introduced by Costas in 1965 as a frequency-hopping pattern for sonar and radar with ideal auto-correlation properties; an array with one dot per column and the distinct difference property is a sonar sequence. Infinite families of Costas arrays exist — the Welch and Golomb constructions, which build them explicitly from finite fields and produce orders tied to prime powers (see Drakakis's survey) — but it is not known whether they exist in every order: as of 2011 the smallest orders with no known example were 32 and 33. In combinatorial number theory, Erdős and Guy (1970) studied distinct distances between lattice points, and a classical counting theorem of Landau on sums of two squares — the number of integers up to expressible as is — bounds the supply of distinct distances inside the grid: since squared distances between grid points are sums of two squares, determines only distinct distances.
The source paper of this problem — Erdős, Graham, Ruzsa, and Taylor (Combinatorica, 1992) — studied these configurations quantitatively. Writing for the maximum size of a slope-distinct subset of , they proved , and asked whether the square-root barrier can be broken, i.e. whether for some fixed . For sonar sequences with rows they showed that the maximal number of columns satisfies , so arrays with one dot per column in a square grid can hold asymptotically as many dots as the grid side; they closed the paper by asking whether an array with exactly dots and the distinct difference property exists for every . For the length variant — the extremal question raised by Erdős and Guy (1970) — writing for the maximum size of a distance Sidon subset of , the counting bound above gives , while constructions available at the time gave only about ; Lefmann and Thiele (1995) later improved the lower bound to .
The three questions are the slope-, length-, and combined-difference instances of a single extremal objective: how densely can dots be packed into the square grid while keeping pairwise difference vectors mutually distinguishable? Recent work treats them as sibling geometric Sidon subset-selection problems (Balogh–Clemen–Dumitrescu–Liu 2024 for slopes in general point sets; Clemen–Führer–Roche-Newton 2026 and Pohoata–Sheffer 2026 for distance Sidon sets), using incidence geometry (the Szemerédi–Trotter theorem on point-line incidences), additive combinatorics, and hypergraph independence arguments. Nevertheless the asymptotic orders of both and remain undetermined, and the every- existence question remains open.
Problem Statement
All three parts refer to the square integer grid . The difference vector of an unordered pair of distinct dots is , taken up to sign; writing , its slope is in lowest terms when (vertical vectors have infinite slope) and its length is the Euclidean norm . Thus two difference vectors coincide exactly when they agree in both slope and length.
(a) Slope extremal function. Let be the largest cardinality of a set such that the slopes determined by pairs of points of are pairwise distinct. Determine the order of growth of . Currently, for absolute constants ,
and it is open where in the range the true exponent lies, and whether logarithmic factors enter. (The source paper's specific challenge of obtaining sets of size for a fixed was answered affirmatively by Zhang, so the surviving question is the exact order.)
(b) Length extremal function. Let be the largest cardinality of a set such that all Euclidean distances between points of are distinct. Determine the order of growth of . Currently, for absolute constants ,
and it is open whether is polynomially smaller than or, at the other extreme, whether for every fixed .
(c) Dense existence. A set has the distinct difference property if no two distinct unordered pairs of points of determine the same difference vector — equivalently, any two of its difference vectors differ in slope or in length. Does there exist a set of exactly points in with the distinct difference property for every positive integer ? Costas arrays provide examples for infinitely many (satisfying the stronger one-dot-per-row-and-column condition), and the source paper's sonar-sequence bounds show that for arrays with rows and one dot per column the maximal number of columns satisfies , placing density one at the natural boundary; but no construction is known for every , and no is known for which the relaxed question (with no placement restriction) has a negative answer.
References
- Paul Erdős, Ron Graham, Imre Z. Ruzsa, Herbert Taylor: Bounds for arrays of dots with distinct slopes or lengths. Combinatorica 12(1) (1992) 39–44. DOI: 10.1007/BF01191203. https://doi.org/10.1007/BF01191203
- Zhen Zhang: A note on arrays of dots with distinct slopes. Combinatorica 13(1) (1993) 127–128. DOI: 10.1007/BF01202795. https://doi.org/10.1007/BF01202795
- Hanno Lefmann, Torsten Thiele: Point sets with distinct distances. Combinatorica 15(3) (1995) 379–408. DOI: 10.1007/BF01299744. https://doi.org/10.1007/BF01299744
- P. Erdős, R. K. Guy: Distinct distances between lattice points. Elemente der Mathematik 25 (1970) 121–123. Zbl 0222.10053. https://eudml.org/doc/140989
- Marcos Charalambides: A note on distinct distance subsets. Journal of Geometry 104(3) (2013) 439–442. DOI: 10.1007/s00022-013-0176-0. https://doi.org/10.1007/s00022-013-0176-0
- Konstantinos Drakakis: Open problems in Costas arrays. Preprint arXiv:1102.5727 (2011). https://arxiv.org/abs/1102.5727
- Simon R. Blackburn, Tuvi Etzion, Keith M. Martin, Maura B. Paterson: Two-dimensional patterns with distinct differences: constructions, bounds, and maximal anticodes. IEEE Transactions on Information Theory 56(3) (2010) 1216–1229. DOI: 10.1109/TIT.2009.2039046. Preprint arXiv:0811.3832. https://arxiv.org/abs/0811.3832
- József Balogh, Felix Christian Clemen, Adrian Dumitrescu, Dingyuan Liu: Subset selection problems in planar point sets. Preprint arXiv:2412.14287 (2024). https://arxiv.org/abs/2412.14287
- Felix Christian Clemen: Applications of sparse hypergraph colorings. Discrete Mathematics 349(2) (2026) 114822. DOI: 10.1016/j.disc.2025.114822. Preprint arXiv:2406.01499. https://arxiv.org/abs/2406.01499
- Felix Christian Clemen, Jakob Führer, Oliver Roche-Newton: Geometric Sidon problems. Preprint arXiv:2606.05841 (2026). https://arxiv.org/abs/2606.05841
- Cosmin Pohoata, Adam Sheffer: Sets with no isosceles triangles / repeated distances in Atlanta. Blog post on Cosmin Pohoata's blog, 27 April 2026. https://pohoatza.wordpress.com/2026/04/27/sets-with-no-isosceles-triangles-repeated-distances-in-atlanta/
- R. L. Graham: Erratum. Combinatorica 12(4) (1992), page i. DOI: 10.1007/BF01305227. https://doi.org/10.1007/BF01305227
- Máté Jánosik, Artúr Nádor, Zoltán Lóránt Nagy, László Bence Simon: Avoiding configurations of small size in the square grid. Preprint arXiv:2601.14465 (2026). https://arxiv.org/abs/2601.14465
- Ernie Croot, Junzhe Mao, Cosmin Pohoata, Adam Sheffer, Chi Hoi Yip: A combinatorial large sieve for Sidon sets, distances, and norm forms. Preprint arXiv:2606.17487 (2026). https://arxiv.org/abs/2606.17487 (formal version of the result of reference 11)
- S. W. Graham, C. J. Ringrose: Lower bounds for least quadratic non-residues. In: Analytic Number Theory (Progress in Mathematics), Birkhäuser (1990) 269–309. DOI: 10.1007/978-1-4612-3464-7_18. https://doi.org/10.1007/978-1-4612-3464-7_18