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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Recurrence with fourth powers of binomial coefficients · a_2

Source:OEIS conjectures
Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Statement:

Value of the sequence a at 2.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.05041 [math.NT] · NS.05041v1 for this version
Declaration:OeisA176477.a_2
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
Statement hash:8522a6850de40705a0ce4415ba9d57b81a376b328669aa9d14b8d762e1723701
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/176477.lean

Formal statement

theorem a_2 : a 2 = 181
Show the full Challenge.lean (87 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Recurrence with fourth powers of binomial coefficients

The sequence is defined by $a(1) = 2$, and for $n \ge 2$,
$$(2n+1)^3 a(n) = 32n^3 a(n-1) + (21n^3 + 22n^2 + 8n + 1) \binom{2n-1}{n}^4.$$

*References:*
- [A176477](https://oeis.org/A176477)
- Z.-W. Sun, "Open Conjectures on Congruences", arXiv preprint
  [arXiv:0911.5665](https://arxiv.org/abs/0911.5665) [math.NT], 2009-2011.
- T. Adamczewski, "OEIS Open: How many conjectures can language models turn into theorems?",
  [arXiv:2608.11941](https://arxiv.org/abs/2608.11941) [cs.AI], 2026.
-/

@[expose] public section

namespace OeisA176477

/-- Rational recurrence sequence $a(n)$. -/
def a : ℕ → ℚ
  | 0 => 0
  | 1 => 2
  | n + 2 =>
    let idx : ℚ := n + 2
    let prev := a (n + 1)
    (32 * idx ^ 3 * prev +
      (21 * idx ^ 3 + 22 * idx ^ 2 + 8 * idx + 1) *
        ((2 * (n + 2) - 1).choose (n + 2) : ℚ) ^ 4) /
      (2 * idx + 1) ^ 3

/-- Value of the sequence `a` at 1. -/
@[category test, AMS 11]
theorem a_1 : a 1 = 2 := by rfl

/-- Value of the sequence `a` at 2. -/
@[category test, AMS 11]
theorem a_2 : a 2 = 181 := by decide +native

set_option linter.style.formal_proof_palomar false in
/--
Each term $a(n)$ is a positive integer.
- _Zhi-Wei Sun_, Apr 06 2010

Proved in the OEIS Open project, see T. Adamczewski, OEIS Open: How many conjectures can
language models turn into theorems?, [arXiv:2608.11941](https://arxiv.org/abs/2608.11941).
-/
@[category research solved, AMS 11,
  formal_proof using lean4 at "https://github.com/epoch-research/LeanOpenProblems-results/blob/fd09021e79869476ef83cda231312f1a2a89c8d7/runs/oeis-open-lite-gpt6astra-37ly1phzfwj2ech4/oeis_a176477_conjecture/Submission/Spec.lean#L58383"]
theorem conjecture1 (n : ℕ) (hn : 1 ≤ n) : (a n).den = 1 ∧ 0 < a n := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
$a(n)$ is odd if and only if $n = 2, 2^2, 2^3, \dots$.
- _Zhi-Wei Sun_, Apr 06 2010

Proved in the OEIS Open project, see T. Adamczewski, OEIS Open: How many conjectures can
language models turn into theorems?, [arXiv:2608.11941](https://arxiv.org/abs/2608.11941).
-/
@[category research solved, AMS 11,
  formal_proof using lean4 at "https://github.com/epoch-research/LeanOpenProblems-results/blob/fd09021e79869476ef83cda231312f1a2a89c8d7/runs/oeis-open-lite-gpt6astra-37ly1phzfwj2ech4/oeis_a176477_conjecture/Submission/Spec.lean#L58383"]
theorem conjecture2 (n : ℕ) (hn : 1 ≤ n) :
    ((a n).den = 1 ∧ Odd (a n).num) ↔ ∃ m : ℕ, 1 ≤ m ∧ n = 2 ^ m := by
  sorry

end OeisA176477

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

nosorry desk oeis-176477--a-2      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch oeis-176477--a-2
nosorry submit oeis-176477--a-2 nosorry/oeis-176477--a-2/Solution.lean --wait

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.