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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Catalan numbers modulo 66 · a_2

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

No informal statement.

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

Formal statement

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

public import FormalConjecturesUtil

/-!
# Catalan numbers modulo $6$

The sequence $a(n) = C_n \bmod 6$, where $C_n = \frac{1}{n+1} \binom{2n}{n}$ is the $n$-th
Catalan number (A000108).

*References:*
- [A259667](https://oeis.org/A259667)
-/

@[expose] public section

namespace OeisA259667

open Nat

/-- $a(n) = C_n \bmod 6$, where $C_n$ is the $n$-th Catalan number. -/
def a (n : ℕ) : ℕ :=
  _root_.catalan n % 6

@[category test, AMS 11]
theorem a_0 : a 0 = 1 := by
  simp only [a, catalan_eq_centralBinom_div]; decide

@[category test, AMS 11]
theorem a_1 : a 1 = 1 := by
  simp only [a, catalan_eq_centralBinom_div]; decide

@[category test, AMS 11]
theorem a_2 : a 2 = 2 := by
  simp only [a, catalan_eq_centralBinom_div]; decide

@[category test, AMS 11]
theorem a_3 : a 3 = 5 := by
  simp only [a, catalan_eq_centralBinom_div]; decide

@[category test, AMS 11]
theorem a_4 : a 4 = 2 := by
  simp only [a, catalan_eq_centralBinom_div]; decide

/--
It is conjectured that the only $k$ which yield $a(2^k - 1) = 1$ are $k = 0, 1$ and $5$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (k : ℕ) :
    a (2 ^ k - 1) = 1 ↔ k = 0 ∨ k = 1 ∨ k = 5 := by
  sorry

/--
Conjecture: The only $k$ which yield $a(2^k - 1) = 5$ are $k = 2, 8$.
-/
@[category research open, AMS 11]
theorem conjecture_2 (k : ℕ) :
    a (2 ^ k - 1) = 5 ↔ k = 2 ∨ k = 8 := by
  sorry

end OeisA259667

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA259667.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-259667--a-2      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch oeis-259667--a-2
nosorry submit oeis-259667--a-2 nosorry/oeis-259667--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.