{
  "id": "3845",
  "ident": "NS.03845",
  "slug": "erdos-978",
  "title": "Erdős Problem 978",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let `f ∈ ℤ[X]` be an irreducible polynomial with positive leading coefficient. Suppose that the\ndegree `k` of `f` is larger than `2` and is not equal to a power of `2`. Then the set of `n` such\nthat `f n` is `(k - 1)`-th power free is infinite, and this is proved in [Er53].",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos978.erdos_978.variants.sub_one",
  "statement_lean": "theorem erdos_978.variants.sub_one {f : ℤ[X]} (hi : Irreducible f) (hd : 2 < f.natDegree)\n    (hp : ∀ (x : ℕ), f.natDegree ≠ 2 ^ x) (hlc : 0 < f.leadingCoeff) :\n    {n : ℕ | Powerfree (f.natDegree - 1) (f.eval (n : ℤ))}.Infinite",
  "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 978\n\n*Reference:*\n - [erdosproblems.com/978](https://www.erdosproblems.com/978)\n - [Ho67] Hooley, C., On the power free values of polynomials. Mathematika (1967), 21--26.\n - [Br11] Browning, T. D., Power-free values of polynomials. Arch. Math. (Basel) (2011), 139--150.\n - [Er53] Erdős, P., Arithmetical properties of polynomials. J. London Math. Soc. (1953), 416--425.\n - [OAI26a] OpenAI, *Squarefree values of quartics and power-free values of polynomials*. OpenAI\n   Math Release preprint (2026).\n   https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Squarefree-values-of-quartics-and-power-free-values-of-polynomials-September-24-2026/manuscript.pdf\n-/\n\n@[expose] public section\n\nopen Polynomial Set\n\nnamespace Erdos978\n\n/-- Let `f ∈ ℤ[X]` be an irreducible polynomial with positive leading coefficient. Suppose that the\ndegree `k` of `f` is larger than `2` and is not equal to a power of `2`. Then the set of `n` such\nthat `f n` is `(k - 1)`-th power free is infinite, and this is proved in [Er53]. -/\n@[category research solved, AMS 11]\ntheorem erdos_978.variants.sub_one {f : ℤ[X]} (hi : Irreducible f) (hd : 2 < f.natDegree)\n    (hp : ∀ (x : ℕ), f.natDegree ≠ 2 ^ x) (hlc : 0 < f.leadingCoeff) :\n    {n : ℕ | Powerfree (f.natDegree - 1) (f.eval (n : ℤ))}.Infinite := by\n  sorry\n\n/-- Let `f ∈ ℤ[X]` be an irreducible polynomial with positive leading coefficient. Suppose that the\ndegree `k` of `f` is larger than `2`, is not equal to a power of `2`, and `f n` has no fixed\n`(k - 1)`-th power divisors other than `1`. Then the set of `n` such that `f n` is `(k - 1)`-th\npower free has positive density, and this is proved in [Ho67]. -/\n@[category research solved, AMS 11]\ntheorem erdos_978.parts.i {f : ℤ[X]} (hi : Irreducible f) (hd : 2 < f.natDegree)\n    (hp2 : ∀ (x : ℕ), f.natDegree ≠ 2 ^ x) (hlc : 0 < f.leadingCoeff)\n    (hp : ∀ (p : ℕ), p.Prime → ∃ n : ℕ, ¬ (p : ℤ) ^ (f.natDegree - 1) ∣ f.eval (n : ℤ)) :\n    HasPosDensity {n : ℕ | Powerfree (f.natDegree - 1) (f.eval (n : ℤ))} := by\n  sorry\n\n/-- If the degree `k` of `f` is larger than or equal to `9`, and `f n` has no fixed `(k - 2)`-th\npower divisors other than `1`, then the set of `n` such that `f n` is `(k - 2)`-th power free has\ninfinitely many elements. This result is proved in [Br11]. -/\n@[category research solved, AMS 11]\ntheorem erdos_978.variants.sub_two {f : ℤ[X]} (hi : Irreducible f) (hd : 9 ≤ f.natDegree)\n    (hp : ∀ (p : ℕ), p.Prime → ∃ n : ℕ, ¬ (p : ℤ) ^ (f.natDegree - 2) ∣ f.eval (n : ℤ)) :\n    {n : ℕ | Powerfree (f.natDegree - 2) (f.eval (n : ℤ))}.Infinite := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nIf $k > 3$ (and $k \\neq 2^l$), then are there infinitely many $n$ for which $f(n)$ is\n$(k-2)$-power-free?\n\nThis was disproved by the DeepMind prover agent.\n-/\n@[category research solved, question, AMS 11,\nformal_proof using formal_conjectures at \"https://github.com/mo271/formal-conjectures/blob/3b5d6ac2555cd63b83d418c29ff040876be9dee0/FormalConjectures/ErdosProblems/978.lean#L64\"]\ntheorem erdos_978.variants.allow_fixed_divisors :\n    ¬ ∀ {f : ℤ[X]}, Irreducible f → f.natDegree > 3 →\n    (¬ ∃ l : ℕ, f.natDegree = 2 ^ l) → 0 < f.leadingCoeff →\n    (¬ ∃ p : ℕ, p.Prime ∧ ∀ n : ℕ, (p : ℤ) ^ (f.natDegree - 1) ∣ f.eval (n : ℤ)) →\n    {n : ℕ | Powerfree (f.natDegree - 2) (f.eval (n : ℤ))}.Infinite := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nIf $k>3$ (and $k \\neq 2^l$), and for all primes $p$ there exists $n$ such that $p^{k-2}\\nmid f(n)$,\nthen are there infinitely many $n$ for which $f(n)$ is $(k-2)$-power-free?\n\nThis was proved by an internal OpenAI model in September 2026 [OAI26a]; see the linked Lean proof,\nwhich gives positive density and does not need $k \\neq 2^l$ or a positive leading coefficient.\n-/\n@[category research solved, question, AMS 11, formal_proof using lean4 at\n  \"https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/NumberTheory/PowerFree/Main.lean#L144\"]\ntheorem erdos_978.parts.ii :\n    ∀ {f : ℤ[X]}, Irreducible f → f.natDegree > 3 →\n    (¬ ∃ l : ℕ, f.natDegree = 2 ^ l) → 0 < f.leadingCoeff →\n    (∀ (p : ℕ), p.Prime → ∃ n : ℕ, ¬ (p : ℤ) ^ (f.natDegree - 2) ∣ f.eval (n : ℤ)) →\n    {n : ℕ | Powerfree (f.natDegree - 2) (f.eval (n : ℤ))}.Infinite := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/-- Does `n ^ 4 + 2` represent infinitely many squarefree numbers?\n\nThis was proved by an internal OpenAI model in September 2026 [OAI26a]; see the linked Lean proof,\nwhich gives positive density for every irreducible quartic with no fixed square divisor. -/\n@[category research solved, question, AMS 11, formal_proof using lean4 at\n  \"https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/NumberTheory/PowerFree/Main.lean#L144\"]\ntheorem erdos_978.parts.iii : {n : ℕ | Squarefree (n ^ 4 + 2)}.Infinite := by\n  sorry\n\nend Erdos978\n",
  "statement_hash": "60dfd39ebd51940f15a792406efdaaa2b2b771b1f1b0c8d14f79d4433d170800",
  "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."
}