{
  "id": "1108",
  "ident": "NS.01108",
  "slug": "erdos-142",
  "title": "Erdős Problem 142",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Prove an asymptotic formula for $r_k(N)$, the largest possible size of a subset\nof $\\{1, \\dots, N\\}$ that does not contain any non-trivial $k$-term arithmetic progression.\nThat is, find $f_k$ with $r_k(N) / f_k(N) \\to 1$ as $N \\to \\infty$.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": "https://www.erdosproblems.com/142",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos142.erdos_142",
  "statement_lean": "theorem erdos_142 (k : ℕ) : (fun N => (r k N : ℝ)) ~[atTop] erdos_142.answer",
  "challenge_source": "/-\nCopyright 2025 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 142\n\n*Reference:* [erdosproblems.com/142](https://www.erdosproblems.com/142)\n-/\n\n@[expose] public section\n\nopen Asymptotics Filter\n\nnamespace Erdos142\n\nnoncomputable abbrev r := Set.IsAPOfLengthFree.maxCard\n\ndef erdos_142.answer : ℕ → ℝ := sorry\n\n/--\nProve an asymptotic formula for $r_k(N)$, the largest possible size of a subset\nof $\\{1, \\dots, N\\}$ that does not contain any non-trivial $k$-term arithmetic progression.\nThat is, find $f_k$ with $r_k(N) / f_k(N) \\to 1$ as $N \\to \\infty$.\n-/\n@[category research open, question value, AMS 11]\ntheorem erdos_142 (k : ℕ) : (fun N => (r k N : ℝ)) ~[atTop] erdos_142.answer := by\n  sorry\n\n/--\nShow that $r_k(N) = o_k(N / \\log N)$, where $r_k(N)$ the largest possible size of a subset\nof $\\{1, \\dots, N\\}$ that does not contain any non-trivial $k$-term arithmetic progression.\n-/\n@[category research open, AMS 11]\ntheorem erdos_142.variants.lower (k : ℕ) (hk : 1 < k) :\n    (fun N => (r k N : ℝ)) =o[atTop] (fun N : ℕ => N / (N : ℝ).log) := by\n  sorry\n\n\ndef erdos_142.variants.isTheta.answer : ℕ → ℝ := sorry\n\n/--\nDetermine the order of magnitude of $r_k(N)$, the largest possible size of a subset\nof $\\{1, \\dots, N\\}$ that does not contain any non-trivial $k$-term arithmetic progression.\nThat is, find $f_k$ with $r_k(N) \\asymp_k f_k(N)$.\n-/\n@[category research open, question value, AMS 11]\ntheorem erdos_142.variants.isTheta (k : ℕ) :\n    (fun N => (r k N : ℝ)) =Θ[atTop] erdos_142.variants.isTheta.answer := by\n  sorry\n\n\n-- TODO(firsching): at known upper bounds for small k\n\ndef erdos_142.variants.three.answer : ℕ → ℝ := sorry\n\n/--\nProve an asymptotic formula for $r_3(N)$, the largest possible size of a subset\nof $\\{1, \\dots, N\\}$ that does not contain any non-trivial $3$-term arithmetic progression.\nThat is, find $f$ with $r_3(N) / f(N) \\to 1$ as $N \\to \\infty$.\n-/\n@[category research open, question value, AMS 11]\ntheorem erdos_142.variants.three : (fun N => (r 3 N : ℝ)) ~[atTop] erdos_142.variants.three.answer\n    := by\n  sorry\n\nend Erdos142\n",
  "statement_hash": "333a54afa93a43a9e6b1c63c014471da715fcffe6473527ecf06a73251bc8572",
  "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."
}