English

Counting subsets of integers free of arithmetic configurations

Combinatorics 2026-07-20 v1 Number Theory

Abstract

Cameron and Erd\H{o}s asked if the number of sets free of arithmetic progressions of length kk is 2rk(n)(1+o(1))2^{r_k(n)(1+o(1))}, where rk(n)r_k(n) is the maximum cardinality of a kk-AP-free subset of {1,,n}\{1, \dots, n\}. Balogh, Liu and Sharifzadeh made significant progress on this question showing that it is 2O(rk(n))2^{O(r_k(n))} for an infinite sequence of nn. We improve their result in two ways. On the one hand, we prove that, for k5k\geq 5, the number of kk-AP-free sets in [n][n] is 2rk(n)(1+o(1))2^{r_k(n)(1+o(1))} for an infinite sequence of nn, solving the question of Cameron and Erd\H{o}s for infinitely many values. On the other hand, we also prove that for k3k \geq 3 and all nn the number of kk-AP-free sets in [n][n] is 2O(rk(n))2^{O(r_k(n))}. These results are in fact special cases of a general framework that we develop to count families of sets excluding certain arithmetic patterns, which applies as long as the corresponding extremal threshold satisfies certain Behrend-type lower bounds. As further examples, we get analogous results for solution sets to almost all systems of linear equations as well as counting versions of the multidimensional Szemer\'edi theorem.

Keywords

Cite

@article{arxiv.2607.17746,
  title  = {Counting subsets of integers free of arithmetic configurations},
  author = {Patrick Morris and Miquel Ortega and Juanjo Rué},
  journal= {arXiv preprint arXiv:2607.17746},
  year   = {2026}
}

Comments

30 pages