English

A note on the distinct distances problem over finite fields

Combinatorics 2025-10-14 v1 Discrete Mathematics

Abstract

We study a finite-field analogue of the Erd\H{o}s distinct distances problem under the Hamming metric. For a set SFqnS\subseteq \mathbb{F}_q^n let Δ(S)\Delta(S) denote the set of Hamming distances determined by SS. We prove the lower bound Δ(S)    logS2log(2nq), |\Delta(S)| \;\ge\; \frac{\log |S|}{2\log(2nq)}, and show this bound is tight when S=O(poly(n))|S|=O(\text{poly}(n)), where the constant of proportionality depends only on qq. We then also study the problem of finding a large \emph{rainbow set}, that is, a subset SFqnS\subseteq \mathbb{F}_q^n for which all (S2)\binom{|S|}{2} pairwise Hamming distances spanned by SS are distinct. In contrast to the Euclidean setting, we show that a set with many distinct distances does not imply the existence of a large rainbow set, by giving an explicit construction. Nevertheless, we establish the existence of large rainbow sets, and prove that every large set in Fqn\mathbb{F}_q^n necessarily contains a non-trivial rainbow subset.

Keywords

Cite

@article{arxiv.2510.10869,
  title  = {A note on the distinct distances problem over finite fields},
  author = {Nataly Brukhim and Ariel Bruner and Orit E. Raz},
  journal= {arXiv preprint arXiv:2510.10869},
  year   = {2025}
}
R2 v1 2026-07-01T06:32:48.333Z