Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Recurrence a(n+1)=2n(n+1)a(n)−n4a(n−1)a(n+1) = 2n(n+1)a(n) - n^4 a(n-1) and associated polynomials

Source:OEIS conjectures
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Conjecture, (i): Sn(x)S_n(x) is irreducible over the field of rational numbers for every n=1,2,3,…n = 1, 2, 3, \dots

  • Zhi-Wei Sun, Mar 20 2013
Subjects:Number Theory (math.NT); Commutative Algebra (math.AC)
MSC classes:11, 12
Cite as:NS.05339 [math.NT] · NS.05339v1 for this version
Declaration:OeisA217703.conjecture_1
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:19a5100a58d56302b7d7852ffa574acfb50fc45a1ce1261950b4e4d8f5ab3c38
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/217703.lean

Formal statement

theorem conjecture_1 (n : ℕ) (hn : 1 ≤ n) :
    Irreducible (Polynomial.map (Int.castRingHom ℚ) (polyS n))
Show the full Challenge.lean (110 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Recurrence $a(n+1) = 2n(n+1)a(n) - n^4 a(n-1)$ and associated polynomials

The sequence $a(n)$ is defined by $a(0) = 1$, $a(1) = 0$, and
$a(n+1) = 2n(n+1)a(n) - n^4 a(n-1)$ for $n > 0$.
The associated polynomials $S_n(x) \in \mathbb{Z}[x]$ satisfy $S_0(x) = 1$, $S_1(x) = x$, and
$S_{n+1}(x) = (x + 2n(n+1)) S_n(x) - n^4 S_{n-1}(x)$ for $n > 0$.

*References:*
- [A217703](https://oeis.org/A217703)
- [Sun-Conjectures-ii-iii-](https://github.com/anshM123/Sun-Conjectures-ii-iii-)
  by *Ansh Mishra* and *Aryan Senthilkumar* (2026)
-/

@[expose] public section

namespace OeisA217703

/-- Sequence defined by $a(0)=1$, $a(1)=0$, and
$a(n+1) = 2n(n+1)a(n) - n^4 a(n-1)$ for $n > 0$. -/
def a : ℕ → ℤ
  | 0 => 1
  | 1 => 0
  | k + 2 =>
    let m : ℤ := k + 1
    (2 * m * (m + 1)) * a (k + 1) - (m ^ 4) * a k

@[category test, AMS 11]
theorem a_0 : a 0 = 1 := by rfl

@[category test, AMS 11]
theorem a_1 : a 1 = 0 := by rfl

@[category test, AMS 11]
theorem a_2 : a 2 = -1 := by rfl

@[category test, AMS 11]
theorem a_3 : a 3 = -12 := by rfl

@[category test, AMS 11]
theorem a_4 : a 4 = -207 := by rfl

/-- The polynomial $S_n(x)$ defined by $S_0(x) = 1$, $S_1(x) = x$, and
$S_{n+1}(x) = (x + 2n(n+1)) S_n(x) - n^4 S_{n-1}(x)$ for $n > 0$. -/
noncomputable def polyS : ℕ → Polynomial ℤ
  | 0 => 1
  | 1 => Polynomial.X
  | k + 2 =>
    let m : ℤ := k + 1
    (Polynomial.X + Polynomial.C (2 * m * (m + 1))) * polyS (k + 1) -
      Polynomial.C (m ^ 4) * polyS k

/--
Conjecture, (i): $S_n(x)$ is irreducible over the field of rational numbers
for every $n = 1, 2, 3, \dots$
- _Zhi-Wei Sun_, Mar 20 2013
-/
@[category research open, AMS 11 12]
theorem conjecture_1 (n : ℕ) (hn : 1 ≤ n) :
    Irreducible (Polynomial.map (Int.castRingHom ℚ) (polyS n)) := by
  sorry

/--
Conjecture, (ii): $a(n) = S_n(0)$ is negative if and only if
$1 < n < 58$ or $n > 2177$.
- _Zhi-Wei Sun_, Mar 20 2013

Disproved by Ansh Mishra and Aryan Senthilkumar: $a(81935) > 0$.
-/
@[category research solved, AMS 11]
theorem conjecture_2 :
    ¬ ∀ n : ℕ, (a n < 0 ↔ (1 < n ∧ n < 58) ∨ 2177 < n) := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Conjecture, (iii): $|a(n)|^{1/n} = o(n^2)$ as $n$ tends to infinity.
- _Zhi-Wei Sun_, Mar 20 2013

Disproved and formalized in Lean 4 by Ansh Mishra and Aryan Senthilkumar (with Claude).
-/
@[category research solved, AMS 11 26,
  formal_proof using lean4 at
    "https://github.com/anshM123/Sun-Conjectures-ii-iii-/blob/7016c789cbe3b36aff4a5bcaa3ece16ea9331f8e/lean/DMSolutions/OEIS_A217703/Solution.lean#L19-L23"]
theorem conjecture_3 :
    ¬ Filter.Tendsto (fun n : ℕ => |(a n : ℝ)| ^ (1 / (n : ℝ)) / (n : ℝ) ^ 2)
      Filter.atTop (nhds 0) := by
  sorry

end OeisA217703

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA217703.conjecture_1 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture_1 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch oeis-217703
nosorry submit oeis-217703 nosorry/oeis-217703/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.