{
  "id": "1913",
  "ident": "NS.01913",
  "slug": "erdos-368",
  "title": "Erdős Problem 368",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "How large is the largest prime factor of $n(n+1)$?\nThe truth is probably $F(n)\\gg (\\log n)^2$ for all $n$.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos368.erdos_368.lower_bound",
  "statement_lean": "theorem erdos_368.lower_bound :\n    ∃ c : ℝ, 0 < c ∧ ∀ n : ℕ, 1 ≤ n → c * Real.log n ^ 2 ≤ (F 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 368\n\n*References:*\n- [erdosproblems.com/368](https://www.erdosproblems.com/368)\n- [Er76d] Erdős, P., Problems and results on number theoretic properties of consecutive\n  integers and related questions. Proceedings of the Fifth Manitoba Conference on Numerical\n  Mathematics (1976), 25–44.\n- [Po18] Pólya, Georg, Zur arithmetischen Untersuchung der Polynome.\n  Math. Z. (1918), 143–148.\n- [Sc67b] Schinzel, A., On two theorems of Gelfond and some of their applications.\n  Acta Arith. (1967/68), 177–236.\n-/\n\n@[expose] public section\n\nnamespace Erdos368\n\nopen Filter\n\n/-- The largest prime factor of $n(n+1)$. -/\ndef F (n : ℕ) : ℕ := (n * (n + 1)).maxPrimeFac\n\n/--\nHow large is the largest prime factor of $n(n+1)$?\nThe truth is probably $F(n)\\gg (\\log n)^2$ for all $n$.\n-/\n@[category research open, AMS 11]\ntheorem erdos_368.lower_bound :\n    ∃ c : ℝ, 0 < c ∧ ∀ n : ℕ, 1 ≤ n → c * Real.log n ^ 2 ≤ (F n : ℝ) := by\n  sorry\n\n/--\nErdős [Er76d] conjectured that, for every $\\epsilon>0$, there are infinitely many $n$\nsuch that $F(n)<(\\log n)^{2+\\epsilon}$.\n-/\n@[category research open, AMS 11]\ntheorem erdos_368.upper_bound :\n    ∀ ε : ℝ, 0 < ε → ∃ᶠ n : ℕ in atTop, (F n : ℝ) < Real.log n ^ (2 + ε) := by\n  sorry\n\n/-- Pólya [Po18] proved that $F(n)\\to\\infty$ as $n\\to\\infty$. -/\n@[category research solved, AMS 11]\ntheorem erdos_368.variants.tendsto : Tendsto F atTop atTop := by\n  sorry\n\n/--\nFor every $\\delta>0$, there are infinitely many $n$ with $F(n)\\leq n^\\delta$.\nThis follows from Schinzel's [Sc67b] observation that, for infinitely many $n$,\n$F(n)\\leq n^{O(1/\\log\\log\\log n)}$.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_368.variants.subpower :\n    ∀ δ : ℝ, 0 < δ → ∃ᶠ n : ℕ in atTop, (F n : ℝ) ≤ (n : ℝ) ^ δ := by\n  sorry\n\n@[category test, AMS 11]\nexample : F 1 = 2 := by decide +kernel\n\n@[category test, AMS 11]\nexample : F 8 = 3 := by decide +kernel\n\n@[category test, AMS 11]\nexample : F 80 = 5 := by decide +kernel\n\n@[category test, AMS 11]\nexample : F 4374 = 7 := by decide +kernel\n\nend Erdos368\n",
  "statement_hash": "441db518b8e8e0b338728b6303469e58375abade04d9f1f86f51010381d79029",
  "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."
}