English

Note on the Number of Almost Ordinary Triangles

Combinatorics 2025-10-07 v1 Computational Geometry Discrete Mathematics

Abstract

Let XX be a set of nn points in the plane, not all on a line. According to the Gallai-Sylvester theorem, XX always spans an \emph{ordinary line}, i.e., one that passes through precisely 2 elements of XX. Given an integer c2,c\ge 2, a \emph{line} spanned by XX is called \emph{cc-ordinary} if it passes through at most cc points of XX. A \emph{triangle} spanned by 3 noncollinear points of XX is called \emph{cc-ordinary} if all 3 lines determined by its sides are \emph{cc-ordinary}. Motivated by a question of Erd\H os, Fulek \emph{et al.}~\cite{FMN+17} proved that there exists an absolute constant c>2c > 2 such that if XX cannot be covered by 2 lines, then it determines at least one cc-ordinary triangle. Moreover, the number of such triangles grows at least linearly in nn. They raised the question whether the true growth rate of this function is superlinear. We prove that if XX cannot be covered by 2 lines, and no line passes through more than nt(n)n-t(n) points of XX, for some function t(n),t(n)\rightarrow\infty, then the number of 1717-ordinary triangles spanned by XX is at least constant times nt(n)n \cdot t(n), i.e., superlinear in nn. We also show that the assumption t(n)t(n)\rightarrow\infty is necessary. If we further assume that no line passes through more than n/2t(n)n/2-t(n) points of XX, then the number of 1717-ordinary triangles grows superquadratically in nn. This statement does not hold if t(n)t(n) is bounded. We close this paper with some algorithmic results. In particular, we provide a O(n2.372)O(n^{2.372}) time algorithm for counting all cc-ordinary triangles in an nn-element point set, for any c<nc<n.

Keywords

Cite

@article{arxiv.2510.03445,
  title  = {Note on the Number of Almost Ordinary Triangles},
  author = {Adrian Dumitrescu and János Pach},
  journal= {arXiv preprint arXiv:2510.03445},
  year   = {2025}
}

Comments

10 pages, 2 figures

R2 v1 2026-07-01T06:16:11.277Z