\documentclass[11pt,letterpaper]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[margin=1in]{geometry} \usepackage{amsmath,amssymb,amsthm} \usepackage{microtype} \linespread{1.08} \usepackage[skip=0.75\baselineskip,indent=0pt]{parskip} \usepackage{xcolor} \definecolor{linkblue}{RGB}{0,56,164} \usepackage[colorlinks=true,linkcolor=linkblue,citecolor=linkblue,urlcolor=linkblue,bookmarksnumbered=true]{hyperref} \hypersetup{pdftitle={Avoiding Isosceles Triangles in the Integer Grid},pdfauthor={Samuel Korsky}} \urlstyle{same} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newcommand{\F}{\mathbb F} \newcommand{\arxivref}[1]{\href{https://arxiv.org/abs/#1}{arXiv:#1}} \newcommand{\greenpaper}{\href{https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf}{\emph{100 open problems}}} \newcommand{\numberthis}{\stepcounter{equation}\tag{\theequation}} \setlength{\parindent}{0pt} \setlength{\emergencystretch}{1.5em} \raggedbottom \title{Avoiding Isosceles Triangles in the Integer Grid} \author{Samuel Korsky} \date{November 18, 2026} \begin{document} {\setlength{\parskip}{0pt}\maketitle} \smallskip \begin{abstract} \noindent We construct a set of $\Omega(n)$ points in the $n\times n$ integer grid containing no isosceles triangle (including degenerate triangles). For every $\varepsilon>0$, we also construct a set of $\Omega_\varepsilon(n^{2\log_5 3-\varepsilon})$ grid points containing no isosceles right triangle in any orientation, improving upon a bound of K\'arolyi and Solymosi. \end{abstract} \section{Introduction} \label{sec:intro} For a positive integer $n$, write $I_n=\{0,1,\ldots,n-1\}$. A set $A\subset I_n^2$ is \emph{isosceles-free} if $\lVert b-a\rVert_2\ne\lVert c-a\rVert_2$ for every three distinct points $a,b,c\in A$. Thus three equally spaced points on a line are forbidden. Let $F(n)$ be the largest cardinality of such a set. \begin{theorem}\label{thm:main} There is an absolute constant $c>0$ such that $F(n)\ge cn$ for all $n\ge1$. \end{theorem} In 1973, Erd\H{o}s~\cite{erdos} attributed to Riddell the question of how large an isosceles-free subset one can always extract from $m$ arbitrary points in the plane. He singled out the square lattice as a possible extremal example. On page 120 of that paper, he suggested that a method of his and Guy's could yield $cn$ points in the grid, and speculated that for some $\varepsilon>0$ one might even find $n^{1+\varepsilon}$ such points. He also suggested an upper bound with exponent strictly below two. Another paper of Erd\H{o}s and Guy~\cite{erdosguy} concerns the related requirement that \emph{all} pairwise distances be different. In an isosceles-free set a distance may occur repeatedly on disjoint pairs of points. Wu~\cite{wu} studied the rectangular-grid problem with positive-area triangles. Ellenberg~\cite{ellenberg} explicitly asked the square-grid question including collinear triples. Motivated by the problem of reconstructing point configurations from comparisons of distances, Ellenberg and Jain~\cite{ellenbergjain} asked whether, for small $\varepsilon>0$, the $n\times n$ grid contains an isosceles-free set of size $n^{2-\varepsilon}$ that meets every sufficiently large square in the grid. Green records Ellenberg's grid question, brought to his attention by Zachary Chase, at the end of his discussion of Problem 20 in~\cite{green}. A first lower bound comes from a single row, where isosceles triangles are exactly three-term arithmetic progressions. By Behrend's construction~\cite{behrend}, there is an absolute $C>0$ such that $F(n)\ge n\exp(-C\sqrt{\log n})$ for all sufficiently large $n$. Charton, Ellenberg, Wagner and Williamson~\cite{patternboost} sampled points in the whole grid and deleted vertices of surviving triangles to obtain $F(n)\gg n/\sqrt{\log n}$. They also searched small grids computationally and suggested that a random greedy process might yield a linear lower bound. Song~\cite{song} obtained the lower estimate below by sparse hypergraph colouring, and Croot, Mao, Pohoata, Sheffer and Yip~\cite{croot} proved the upper estimate. For an absolute $c_0>0$, their bounds give \[ n\sqrt{\frac{\log\log n}{\log n}} \ll F(n) \ll n^2\exp\!\left(-c_0\cdot\frac{\log n}{\log\log n}\right). \] Theorem~\ref{thm:main} removes the logarithmic loss in the lower bound by a deterministic construction. The sieve of Croot et al.\ uses the fact that in an isosceles-free set, distinct pairs at a fixed distance cannot share a vertex. For some $c_1>0$, they bound the size of a grid set with all pairwise distances distinct by $O(n\exp(-c_1\log n/\log\log n))$. Thus for large $n$ an isosceles-free set as large as in Theorem~\ref{thm:main} must repeat a distance on disjoint pairs. For Riddell's question they announce that for some $\eta>0$ there are $m$-point planar sets whose isosceles-free subsets have size $O(m^{1-\eta})$. For the square grid, it remains open whether $F(n)/n$ is unbounded and whether there is a fixed $\delta>0$ such that $F(n)\ll n^{2-\delta}$. Green also discusses the problem of avoiding isosceles right triangles of arbitrary orientation. Let $R(n)$ denote the largest size of a subset of $I_n^2$ containing no such triangle. In Gaussian integer coordinates, let $z$ be the right-angle vertex and choose the leg vector $w$ whose counterclockwise quarter-turn gives the other leg. The vertices are then $z,z+w,z+iw$. Pilatte~\cite{pilatte} showed that for some $\eta>0$, any subset of the grid avoiding these triangles has size $\ll n^2/(\log n)^{1+\eta}$. The stronger bound of Jaber, Liu, Lovett, Ostuni and Sawhney~\cite{corners} for axis-parallel corners applies here as well, since each such corner is an isosceles right triangle. K\'arolyi and Solymosi~\cite{karolyi} used Gaussian integer digits to show that $R(n)\ge n^{\alpha-o(1)}$, where $\alpha=\log 281/\log(51\sqrt{2})=1.317865\ldots$. Our second theorem improves this exponent. \begin{theorem}\label{thm:right} For every $\varepsilon>0$ there is a constant $c_\varepsilon>0$ such that $R(n)\ge c_\varepsilon n^{2\log_5 3-\varepsilon}$ for all $n\ge1$. \end{theorem} Here $2\log_5 3=1.365212\ldots$. Modulo the Gaussian prime $2-i$, the equation for an isosceles right triangle becomes a midpoint equation. We choose digit vectors on a sphere to rule out nonconstant solutions. \section{Proof of the linear lower bound} \label{sec:proof} For a prime $p$, write $\F_p$ for the field of residues modulo $p$, represented by the integers in $I_p$. We place scaled copies of smaller isosceles-free sets in distinct residue classes on one line modulo $p$. The first lemma forces any noncollinear isosceles triangle into one copy. The second lets us label the copies so that the same holds for equally spaced collinear triples. \begin{lemma}\label{lem:line} Let $m\ge1$ be an integer, let $p>4(m+1)^2$ be prime, and fix $t\in\F_p$. If the vertices of a noncollinear isosceles triangle in $I_{pm}^2$ lie on the line $y-(2m+1)x\equiv t\pmod p$, then they are congruent coordinatewise modulo $p$. \end{lemma} \begin{proof} Let $a$ be the apex and $b,c$ the other vertices. Set $u=b-c$ and $v=b+c-2a$. Both are nonzero because $b\ne c$ and $a$ lies off the line through $b$ and $c$. The two equal sides give \[ u\cdot v=\lVert b-a\rVert_2^2-\lVert c-a\rVert_2^2=0. \] Every difference of two points on the prescribed line is a multiple of $(1,2m+1)$ modulo $p$. This holds for $u$ and also for $v=(b-a)+(c-a)$. Since $0<1+(2m+1)^2
0$ and prove the following stronger claim by induction on $n$. For every $t\in\F_p$, the line $y-(2m+1)x\equiv t\pmod p$ contains an isosceles-free subset of $I_n^2$ of size at least $c(n+1)$. Prescribing the intercept $t$ will let us choose the label of each smaller copy.
Bertrand's postulate gives $p\asymp n^{3/4}$ and hence $m\asymp n^{1/4}$. For $n$ large enough that $3\le m