English

Avoiding right angles and certain Hamming distances

Combinatorics 2020-12-16 v1 Number Theory

Abstract

In this paper we show that the largest possible size of a subset of Fqn\mathbb{F}_q^n avoiding right angles, that is, distinct vectors x,y,zx,y,z such that xzx-z and yzy-z are perpendicular to each other is at most O(nq2)O(n^{q-2}). This improves on the previously best known bound due to Naslund \cite{Naslund} and refutes a conjecture of Ge and Shangguan \cite{Ge}. A lower bound of nq/3n^{q/3} is also presented. It is also shown that a subset of Fqn\mathbb{F}_q^n avoiding triangles with all right angles can have size at most O(n2q2)O(n^{2q-2}). Furthermore, asymptotically tight bounds are given for the largest possible size of a subset AFqnA\subseteq \mathbb{F}_q^n for which xyx-y is not self-orthogonal for any distinct x,yAx,y\in A. The exact answer is determined for q=3q=3 and n2(mod3)n\equiv 2\pmod {3}. Our methods can also be used to bound the maximum possible size of a binary code where no two codewords have Hamming distance divisible by a fixed prime qq. Our lower- and upper bounds are asymptotically tight and both are sharp in infinitely many cases.

Cite

@article{arxiv.2012.08232,
  title  = {Avoiding right angles and certain Hamming distances},
  author = {Balázs Bursics and Dávid Matolcsi and Péter Pál Pach and Jakab Schrettner},
  journal= {arXiv preprint arXiv:2012.08232},
  year   = {2020}
}
R2 v1 2026-06-23T20:59:00.677Z