{
  "id": "5339",
  "ident": "NS.05339",
  "slug": "oeis-217703",
  "title": "Recurrence $a(n+1) = 2n(n+1)a(n) - n^4 a(n-1)$ and associated polynomials",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Conjecture, (i): $S_n(x)$ is irreducible over the field of rational numbers\nfor every $n = 1, 2, 3, \\dots$\n- _Zhi-Wei Sun_, Mar 20 2013",
  "subjects": [
    "math.NT",
    "math.AC",
    "msc:11",
    "msc:12"
  ],
  "tags": [],
  "collection": "oeis",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "OeisA217703.conjecture_1",
  "statement_lean": "theorem conjecture_1 (n : ℕ) (hn : 1 ≤ n) :\n    Irreducible (Polynomial.map (Int.castRingHom ℚ) (polyS 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# Recurrence $a(n+1) = 2n(n+1)a(n) - n^4 a(n-1)$ and associated polynomials\n\nThe sequence $a(n)$ is defined by $a(0) = 1$, $a(1) = 0$, and\n$a(n+1) = 2n(n+1)a(n) - n^4 a(n-1)$ for $n > 0$.\nThe associated polynomials $S_n(x) \\in \\mathbb{Z}[x]$ satisfy $S_0(x) = 1$, $S_1(x) = x$, and\n$S_{n+1}(x) = (x + 2n(n+1)) S_n(x) - n^4 S_{n-1}(x)$ for $n > 0$.\n\n*References:*\n- [A217703](https://oeis.org/A217703)\n- [Sun-Conjectures-ii-iii-](https://github.com/anshM123/Sun-Conjectures-ii-iii-)\n  by *Ansh Mishra* and *Aryan Senthilkumar* (2026)\n-/\n\n@[expose] public section\n\nnamespace OeisA217703\n\n/-- Sequence defined by $a(0)=1$, $a(1)=0$, and\n$a(n+1) = 2n(n+1)a(n) - n^4 a(n-1)$ for $n > 0$. -/\ndef a : ℕ → ℤ\n  | 0 => 1\n  | 1 => 0\n  | k + 2 =>\n    let m : ℤ := k + 1\n    (2 * m * (m + 1)) * a (k + 1) - (m ^ 4) * a k\n\n@[category test, AMS 11]\ntheorem a_0 : a 0 = 1 := by rfl\n\n@[category test, AMS 11]\ntheorem a_1 : a 1 = 0 := by rfl\n\n@[category test, AMS 11]\ntheorem a_2 : a 2 = -1 := by rfl\n\n@[category test, AMS 11]\ntheorem a_3 : a 3 = -12 := by rfl\n\n@[category test, AMS 11]\ntheorem a_4 : a 4 = -207 := by rfl\n\n/-- The polynomial $S_n(x)$ defined by $S_0(x) = 1$, $S_1(x) = x$, and\n$S_{n+1}(x) = (x + 2n(n+1)) S_n(x) - n^4 S_{n-1}(x)$ for $n > 0$. -/\nnoncomputable def polyS : ℕ → Polynomial ℤ\n  | 0 => 1\n  | 1 => Polynomial.X\n  | k + 2 =>\n    let m : ℤ := k + 1\n    (Polynomial.X + Polynomial.C (2 * m * (m + 1))) * polyS (k + 1) -\n      Polynomial.C (m ^ 4) * polyS k\n\n/--\nConjecture, (i): $S_n(x)$ is irreducible over the field of rational numbers\nfor every $n = 1, 2, 3, \\dots$\n- _Zhi-Wei Sun_, Mar 20 2013\n-/\n@[category research open, AMS 11 12]\ntheorem conjecture_1 (n : ℕ) (hn : 1 ≤ n) :\n    Irreducible (Polynomial.map (Int.castRingHom ℚ) (polyS n)) := by\n  sorry\n\n/--\nConjecture, (ii): $a(n) = S_n(0)$ is negative if and only if\n$1 < n < 58$ or $n > 2177$.\n- _Zhi-Wei Sun_, Mar 20 2013\n\nDisproved by Ansh Mishra and Aryan Senthilkumar: $a(81935) > 0$.\n-/\n@[category research solved, AMS 11]\ntheorem conjecture_2 :\n    ¬ ∀ n : ℕ, (a n < 0 ↔ (1 < n ∧ n < 58) ∨ 2177 < n) := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nConjecture, (iii): $|a(n)|^{1/n} = o(n^2)$ as $n$ tends to infinity.\n- _Zhi-Wei Sun_, Mar 20 2013\n\nDisproved and formalized in Lean 4 by Ansh Mishra and Aryan Senthilkumar (with Claude).\n-/\n@[category research solved, AMS 11 26,\n  formal_proof using lean4 at\n    \"https://github.com/anshM123/Sun-Conjectures-ii-iii-/blob/7016c789cbe3b36aff4a5bcaa3ece16ea9331f8e/lean/DMSolutions/OEIS_A217703/Solution.lean#L19-L23\"]\ntheorem conjecture_3 :\n    ¬ Filter.Tendsto (fun n : ℕ => |(a n : ℝ)| ^ (1 / (n : ℝ)) / (n : ℝ) ^ 2)\n      Filter.atTop (nhds 0) := by\n  sorry\n\nend OeisA217703\n",
  "statement_hash": "19a5100a58d56302b7d7852ffa574acfb50fc45a1ce1261950b4e4d8f5ab3c38",
  "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."
}