Addressing a question of Cameron and Erd\Ho s, we show that, for infinitely many values of , the number of subsets of that do not contain a -term arithmetic progression is at most , where is the maximum cardinality of a subset of without a -term arithmetic progression. This bound is optimal up to a constant factor in the exponent. For all values of , we prove a weaker bound, which is nevertheless sufficient to transfer the current best upper bound on to the sparse random setting. To achieve these bounds, we establish a new supersaturation result, which roughly states that sets of size contain superlinearly many -term arithmetic progressions. For integers and , Erd\Ho s asked whether there is a set of integers with no -term arithmetic progression, but such that any -coloring of yields a monochromatic -term arithmetic progression. Ne\v{s}et\v{r}il and R"odl, and independently Spencer, answered this question affirmatively. We show the following density version: for every and , there exists a reasonably dense subset of primes with no -term arithmetic progression, yet every of size contains a -term arithmetic progression. Our proof uses the hypergraph container method, which has proven to be a very powerful tool in extremal combinatorics. The idea behind the container method is to have a small certificate set to describe a large independent set. We give two further applications in the appendix using this idea.

生成讲解博客的中文版本

生成AI智能校验的中文版本