Documentation

FormalConjectures.ErdosProblems.«1192»

Erdős Problem 1192 #

References:

noncomputable def Erdos1192.f_r (A : Set ) (r n : ) :

For $A\subset \mathbb{N}$ let $f_r(n)$ count the number of solutions to $n=a_1+\cdots+a_r$ with $a_i\in A$.

Equations
Instances For

    The empty sum ($r = 0$) gives exactly one representation of $0$: the empty tuple.

    theorem Erdos1192.erdos_1192.f_r_empty (r n : ) :
    f_r (r + 1) n = 0

    With an empty set, there are no valid $r$-tuples for $r \geq 1$.

    For $r = 1$, $f_1(\{n\}, n) = 1$: the only $1$-tuple from $\{n\}$ summing to $n$ is $(n)$.

    $f_1(\{0\}, 1) = 0$: can't represent $1$ with a single element from $\{0\}$.

    theorem Erdos1192.erdos_1192 :
    sorry r2, ∃ (A : Set ), (∀ᶠ (n : ) in Filter.atTop, f_r A r n > 0) (fun (x : ) => nFinset.range (x + 1), (f_r A r n) ^ 2) =O[Filter.atTop] fun (x : ) => x

    Does there exist, for all $r\geq 2$, a basis $A$ of order $r$ (so that $f_r(n)>0$ for all large $n$) such that $$\sum_{n\leq x}f_r(n)^2 \ll x$$ for all $x$?

    theorem Erdos1192.erdos_1192.variants.renyi (r : ) :
    r 2∃ (A : Set ), ((fun (x : ) => nFinset.range (x + 1), (f_r A r n) ^ 2) =O[Filter.atTop] fun (x : ) => x) (fun (x : ) => x ^ (1 / r)) =O[Filter.atTop] fun (x : ) => (Nat.count A x)

    Erdős and Rényi proved by the probabilistic method that there exists a set $A$ such that $$\sum_{n\leq x}f_r(n)^2 \ll x$$ and $$\lvert A\cap [1,x]\rvert\gg x^{1/r}$$ for all $x$.

    theorem Erdos1192.erdos_1192.variants.ruzsa :
    ∃ (A : Set ), (∀ᶠ (n : ) in Filter.atTop, f_r A 2 n > 0) (fun (x : ) => nFinset.range (x + 1), (f_r A 2 n) ^ 2) =O[Filter.atTop] fun (x : ) => x

    Ruzsa [Ru90] proved that the answer is yes for $r=2$.