Skip to content

Forbidden subset sums in a linear range: an inverse theorem and the Erdős-Graham irregularity problem

Mateo Matijasevick

math.CO

Abstract

For c>0c>0 let fc(n)f_c(n) be the largest size of a set A⊆{1,…,⌊cn⌋}A\subseteq\{1,\dots,\lfloor cn\rfloor\} such that nn is not a sum of distinct elements of AA. Erdős and Graham asked whether fc(n)f_c(n) depends on nn in an irregular way (Erdős Problem \#361). We prove that fc(n)=⌊cn⌋−⌈n/2⌉f_c(n)=\lfloor cn\rfloor-\lceil n/2\rceil for c≥1c\ge 1, while for 0<c<10<c<1 the ratio fc(n)/nf_c(n)/n has lim sup⁡\limsup equal to c/2c/2, attained along odd nn, and, along the integers nn whose least non-divisor equals a prime power qq, tends to max⁡{cq,  c−12+1−cq}whenever 2q−2min⁡{c,1−c}≤1.\max\Bigl\{\frac cq,\; c-\frac12+\frac{1-c}{q}\Bigr\} \qquad\text{whenever } 2^{q-2}\min\{c,1-c\}\le 1 . Consequently fc(n)/nf_c(n)/n converges if and only if c≥1c\ge1; for 0<c<10<c<1 it has at least two limit points, and arbitrarily many as c→0+c\to0^+ or c→1−c\to1^-. For c=1/2c=1/2 the set of limit points is exactly {1/6,1/4}\{1/6,1/4\}. The upper bounds follow from an inverse theorem of independent interest: if s≥1s\ge1, qq is the least positive integer not dividing ss, and ε>0\varepsilon>0, then every A⊆{1,…,E}A\subseteq\{1,\dots,E\} with ∣A∣≥E/q+εT|A|\ge E/q+\varepsilon T has a subset summing to sTsT, uniformly for all sufficiently large TT and all E≤sT/2q−2E\le sT/2^{q-2}. For s=2s=2, this extends Alon&#39;s theorem on subsets of {1,…,N}\{1,\dots,N\} with no subset sum equal to 2N2N. The results for c≥1c\ge1 and the lim sup⁡\limsup, as well as the limits and the inverse theorem for q∈{2,3}q\in\{2,3\}, have been formalized and machine-checked in the Lean~4 proof assistant.

Create a lesson

Metadata

Categories
math.CO, math.NT
Comments
16 pages, 1 figure, Lean verification