Given a linear equation of the form with integer coefficients , we are interested in maximising the number of solutions to this equation in a set , for sets of a given size. We prove that, for any choice of constants and , the maximum number of solutions is at least . Furthermore, we show that this is optimal, in the following sense. For any there are choices of and for which any large set of integers has at most $\left(\frac{1}{12} + \varepsilon\right)|S|^2$ solutions. For equations in variables, we also show an analogous result. Set Then, for any choice of constants , there are sets with at least solutions to $a_1x_1 + \dots + a_kx_k = 0a_1, \dots, a_k$ for which any large set must have no more than $(\frac{\sigma_k}{k^{k-1}} + \varepsilon)|S|^{k-1}\varepsilon > 0$.

生成讲解博客的中文版本

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