Documentation

FormalConjectures.ErdosProblems.«254»

Erdős Problem 254 #

References:

An integer n can be written as a sum of distinct elements of A.

Equations
Instances For
    theorem Erdos254.erdos_254 (A : Set ) :
    (Filter.Tendsto (fun (x : ) => (A Set.Icc 1 (2 * x)).ncard - (A Set.Icc 1 x).ncard) Filter.atTop Filter.atTop ∀ (θ : ), 0 < θθ < 1¬Summable fun (n : A) => distToNearestInt (θ * n)) → ∀ᶠ (m : ) in Filter.atTop, IsSumOfDistinct A m

    Let $A\subseteq \mathbb{N}$ be such that $\lvert A\cap [1,2x]\rvert -\lvert A\cap [1,x]\rvert \to \infty\textrm{ as }x\to \infty$ and $\sum_{n\in A} \{ \theta n\}=\infty$ for every $\theta\in (0,1)$, where $\{x\}$ is the distance of $x$ from the nearest integer. Then every sufficiently large integer is the sum of distinct elements of $A$.

    theorem Erdos254.erdos_254.variants.cassels (A : Set ) :
    (Filter.Tendsto (fun (x : ) => ((A Set.Icc 1 (2 * x)).ncard - (A Set.Icc 1 x).ncard) / Real.log (Real.log x)) Filter.atTop Filter.atTop ∀ (θ : ), 0 < θθ < 1¬Summable fun (n : A) => distToNearestInt (θ * n) ^ 2) → ∀ᶠ (m : ) in Filter.atTop, IsSumOfDistinct A m

    Cassels [Ca60] proved this under the alternative hypotheses $\lim \frac{\lvert A\cap [1,2x]\rvert -\lvert A\cap [1,x]\rvert}{\log\log x}=\infty$ and $\sum_{n\in A} \{ \theta n\}^2=\infty$ for every $\theta\in (0,1)$.