{
  "id": "690",
  "ident": "NS.00690",
  "slug": "erdos-1109",
  "title": "Erdős Problem 1109",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $f(N)$ be the size of the largest subset $A\\subseteq \\{1,\\ldots,N\\}$ such that\nevery $n\\in A+A$ is squarefree. Estimate $f(N)$. In particular, is it true that\n$f(N)\\leq N^{o(1)}$, or even $f(N) \\leq (\\log N)^{O(1)}$?\n\nThis theorem formalizes the subpolynomial bound as `f(N) = O(N^ε)` for every `ε > 0`.",
  "subjects": [
    "math.CO",
    "math.NT",
    "msc:05",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1109.erdos_1109",
  "statement_lean": "theorem erdos_1109 :\n    ∀ ε > (0 : ℝ),\n      (fun N : ℕ => (f N : ℝ)) ≪ fun N : ℕ => (N : ℝ) ^ ε",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 1109\n\n*References:*\n- [erdosproblems.com/1109](https://www.erdosproblems.com/1109)\n- [ErSa87] P. Erdős and A. Sárközy, *On divisibility properties of integers of the form\n  $a+a'$*, Acta Math. Hungar. (1987), 117--122.\n- [Gy01] Katalin Gyarmati, *On divisibility properties of integers of the form $ab+1$*,\n  Period. Math. Hungar. (2001), 71--79.\n- [Ko04] S. V. Konyagin, *Problems of the set of square-free numbers*,\n  Izv. Ross. Akad. Nauk Ser. Mat. (2004), 63--90.\n- [Sa92c] G. N. Sárközy, *On a problem of P. Erdős*, Acta Math. Hungar.\n  (1992), 271--282.\n-/\n\n@[expose] public section\n\nopen Filter Asymptotics\nopen scoped Pointwise\n\nnamespace Erdos1109\n\n/--\n`f N` is the largest size of a subset `A ⊆ {1, ..., N}` such that every element\nof `A + A` is squarefree.\n-/\nnoncomputable def f (N : ℕ) : ℕ :=\n  sSup {k : ℕ | ∃ A : Finset ℕ,\n    A ⊆ Finset.Icc 1 N ∧ (∀ n ∈ A + A, Squarefree n) ∧ A.card = k}\n\n/--\nLet $f(N)$ be the size of the largest subset $A\\subseteq \\{1,\\ldots,N\\}$ such that\nevery $n\\in A+A$ is squarefree. Estimate $f(N)$. In particular, is it true that\n$f(N)\\leq N^{o(1)}$, or even $f(N) \\leq (\\log N)^{O(1)}$?\n\nThis theorem formalizes the subpolynomial bound as `f(N) = O(N^ε)` for every `ε > 0`.\n-/\n@[category research open, question, AMS 5 11]\ntheorem erdos_1109 :\n    ∀ ε > (0 : ℝ),\n      (fun N : ℕ => (f N : ℝ)) ≪ fun N : ℕ => (N : ℝ) ^ ε := by\n  sorry\n\n/--\nIs the stronger polylogarithmic bound $f(N) \\leq (\\log N)^{O(1)}$ true?\n-/\n@[category research open, question, AMS 5 11]\ntheorem erdos_1109.variants.polylog :\n    ∃ C > (0 : ℝ),\n      (fun N : ℕ => (f N : ℝ)) ≪ fun N : ℕ => (Real.log N) ^ C := by\n  sorry\n\n/--\nErdős and Sárközy [ErSa87] proved the lower bound $\\log N \\ll f(N)$.\n-/\n@[category research solved, AMS 5 11]\ntheorem erdos_1109.variants.erdos_sarkozy_lower :\n    (fun N : ℕ => Real.log N) ≪ fun N : ℕ => (f N : ℝ) := by\n  sorry\n\n/--\nErdős and Sárközy [ErSa87] proved the upper bound $f(N) \\ll N^{3/4}\\log N$.\n-/\n@[category research solved, AMS 5 11]\ntheorem erdos_1109.variants.erdos_sarkozy_upper :\n    (fun N : ℕ => (f N : ℝ)) ≪\n      fun N : ℕ => (N : ℝ) ^ ((3 : ℝ) / 4) * Real.log N := by\n  sorry\n\n/--\nKonyagin [Ko04] improved the lower bound to\n$\\log\\log N(\\log N)^2 \\ll f(N)$.\n-/\n@[category research solved, AMS 5 11]\ntheorem erdos_1109.variants.konyagin_lower :\n    (fun N : ℕ => Real.log (Real.log N) * (Real.log N) ^ 2) ≪\n      fun N : ℕ => (f N : ℝ) := by\n  sorry\n\n/--\nKonyagin [Ko04] improved the upper bound to $f(N) \\ll N^{11/15+o(1)}$.\n-/\n@[category research solved, AMS 5 11]\ntheorem erdos_1109.variants.konyagin_upper :\n    ∀ ε > (0 : ℝ), (fun N : ℕ => (f N : ℝ)) ≪\n      fun N : ℕ => (N : ℝ) ^ ((11 : ℝ) / 15 + ε) := by\n  sorry\n\nend Erdos1109\n",
  "statement_hash": "bf4ee0494045ace973b01af8da6c545d06362a8638799dd24e118003c77edeaf",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}