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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:A factorial ratio analogous to the Catalan numbers

Source:OEIS conjectures
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

The parity conjecture: "Conjecture: a(n)a(n) is odd iff n=2k−1n = 2^k - 1 for some k≥0k \ge 0."

  • Peter Bala, Mar 01 2023.

Proved and formalized in Lean by Wentao Li, with AI assistance; see [Li26].

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:formal_proof
Cite as:NS.06307 [math.NT] · NS.06307v1 for this version
Declaration:OeisA361033.conjecture_1
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:03627a1e4e3dfd70edcfa226a763722a8d633a57d20847eef0e17248c0c1aed9
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/361033.lean

Formal statement

theorem conjecture_1 (n : ℕ) : Odd (a n) ↔ ∃ k : ℕ, n = 2 ^ k - 1
Show the full Challenge.lean (67 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# A factorial ratio analogous to the Catalan numbers

The sequence is defined by $a(n)=3(4n)!/(n!((n+1)!)^3)$ for $n \ge 0$.

*References:*
- [A361033](https://oeis.org/A361033)
- [Li26] Wentao Li, [Integrality and parity of a factorial ratio](https://github.com/VictorLiwentao/lean-oeis-proofs/blob/0a23974e54b90afd1453ef02c27cf8f617bad940/proofs/new-formalization/A361033/PROOF.md), 2026.
-/

@[expose] public section

namespace OeisA361033

/-- The factorial ratio $3(4n)!/(n!((n+1)!)^3)$. -/
def a (n : ℕ) : ℕ :=
  3 * (4 * n).factorial / (n.factorial * (n + 1).factorial ^ 3)

@[category test, AMS 11]
theorem a_0 : a 0 = 3 := by decide

@[category test, AMS 11]
theorem a_1 : a 1 = 9 := by decide

@[category test, AMS 11]
theorem a_2 : a 2 = 280 := by decide

@[category test, AMS 11]
theorem a_3 : a 3 = 17325 := by decide

@[category test, AMS 11]
theorem a_4 : a 4 = 1513512 := by decide

set_option linter.style.formal_proof_palomar false in
/--
The parity conjecture:
"Conjecture: $a(n)$ is odd iff $n = 2^k - 1$ for some $k \ge 0$."
- Peter Bala, Mar 01 2023.

Proved and formalized in Lean by Wentao Li, with AI assistance; see [Li26].
-/
@[category research solved, AMS 11,
  formal_proof using lean4 at "https://github.com/VictorLiwentao/lean-oeis-proofs/blob/0a23974e54b90afd1453ef02c27cf8f617bad940/LeanOeisProofs/NewFormalization/A361033.lean#L380"]
theorem conjecture_1 (n : ℕ) : Odd (a n) ↔ ∃ k : ℕ, n = 2 ^ k - 1 := by
  sorry

end OeisA361033

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA361033.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-361033
nosorry submit oeis-361033 nosorry/oeis-361033/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.