Documentation

FormalConjectures.ErdosProblems.«848»

Erdős Problem 848 #

Is the maximum size of a set $A \subseteq \{1, \dots, N\}$ such that $ab + 1$ is never squarefree (for all $a, b \in A$) achieved by taking those $n \equiv 7 \pmod{25}$?

References:

A set $A$ has the non-squarefree product property if $ab + 1$ is not squarefree for all $a, b ∈ A$.

Equations
Instances For

    The candidate extremal set: $\{n ∈ \{0, \dots, N-1\} : n ≡ 7 (mod 25)\}$.

    Equations
    Instances For

      The Erdős Problem 848 statement for a fixed $N$: any set $A ⊆ \{0, \dots, N-1\}$ with the non-squarefree product property has cardinality at most $|A₇(N)|$.

      Equations
      Instances For
        theorem Erdos848.erdos_848 :
        True ∀ (N : ), Erdos848For N

        Is the maximum size of a set $A ⊆ \{1, \dots, N\}$ such that $ab + 1$ is never squarefree (for all $a, b ∈ A$) achieved by taking those $n ≡ 7 \pmod{25}$?

        This asks whether Erdos848 N holds for all $N$ (formulated using A ⊆ Finset.range N).

        This was solved for all sufficiently large $N$ by Sawhney in this note. In fact, Sawhney proves something slightly stronger, that there exists some constant $c>0$ such that if $\lvert A\rvert \geq (\frac{1}{25}-c)N$ and $N$ is large then $A$ is contained in either $\{ n\equiv 7\pmod{25}\}$ or $\{n\equiv 18\pmod{25}\}$.

        There exists $N₀$ such that for all $N ≥ N₀$, if $A ⊆ \{1, \dots, N\}$ satisfies that $ab + 1$ is never squarefree for all $a, b ∈ A$, then $|A| ≤ |\{n ≤ N : n ≡ 7 \pmod{25}\}|$.

        More precisely, Sawhney proves: there exist absolute constants $η > 0$ and $N₀$ such that for all $N ≥ N₀$, if $|A| ≥ (1/25 - η)N$ then $A ⊆ \{n : n ≡ 7 \pmod{25}\}$ or $A ⊆ \{n : n ≡ 18 \pmod{25}\}$.

        A complete formal Lean 4 proof is available at: https://github.com/The-Obstacle-Is-The-Way/erdos-banger