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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Alternating sum of fourth powers of binomial coefficients

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

Conjecture: Let pp be any odd prime, and let A(p)A(p) be the p×pp \times p determinant with (i,j)(i,j)-entry equal to a(i+j)a(i+j) for all i,j=0,…,p−1i, j = 0, \dots, p-1. Then A(p)≡(−1)(p−1)/2(modp)A(p) \equiv (-1)^{(p-1)/2} \pmod p.

Proved in arXiv:2608.11941.

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

Formal statement

theorem conjecture_1 (p : ℕ) (hp : p.Prime) (hodd : p ≠ 2) :
    let A : Matrix (Fin p) (Fin p) ℤ := fun i j => a (i.val + j.val)
    A.det ≡ (-1 : ℤ) ^ ((p - 1) / 2) [ZMOD p]
Show the full Challenge.lean (90 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Alternating sum of fourth powers of binomial coefficients

The sequence is defined by
$$a(n) = \sum_{k=0}^n \binom{n}{k}^4 (-1)^k.$$

*References:*
- [A228304](https://oeis.org/A228304)
- [arXiv:2608.11941](https://arxiv.org/abs/2608.11941)
-/

@[expose] public section

namespace OeisA228304

open Matrix

/-- Alternating sum of fourth powers of binomial coefficients:
$$a(n) = \sum_{k=0}^n \binom{n}{k}^4 (-1)^k.$$ -/
def a (n : ℕ) : ℤ :=
  ∑ k ∈ Finset.range (n + 1), (-1 : ℤ) ^ k * (n.choose k : ℤ) ^ 4

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

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

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

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

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

/-- Auxiliary sequence:
$$c(n) = \sum_{k=0}^n (-1)^k \binom{n}{k}^2 \binom{2k}{k} \binom{2(n-k)}{n-k}.$$ -/
def c (n : ℕ) : ℤ :=
  ∑ k ∈ Finset.range (n + 1),
    (-1 : ℤ) ^ k * (n.choose k : ℤ) ^ 2 * ((2 * k).choose k : ℤ) *
      ((2 * (n - k)).choose (n - k) : ℤ)

/--
Conjecture: Let $p$ be any odd prime, and let $A(p)$ be the $p \times p$ determinant with
$(i,j)$-entry equal to $a(i+j)$ for all $i, j = 0, \dots, p-1$. Then
$A(p) \equiv (-1)^{(p-1)/2} \pmod p$.

Proved in [arXiv:2608.11941](https://arxiv.org/abs/2608.11941).
-/
@[category research solved, AMS 11]
theorem conjecture_1 (p : ℕ) (hp : p.Prime) (hodd : p ≠ 2) :
    let A : Matrix (Fin p) (Fin p) ℤ := fun i j => a (i.val + j.val)
    A.det ≡ (-1 : ℤ) ^ ((p - 1) / 2) [ZMOD p] := by
  sorry

/--
Conjecture: Let $p$ be any odd prime, and let $C(p)$ be the $p \times p$ determinant with
$(i,j)$-entry equal to $c(i+j)$ for all $i, j = 0, \dots, p-1$. Then $C(p) \equiv 1 \pmod p$.

Proved in [arXiv:2608.11941](https://arxiv.org/abs/2608.11941).
-/
@[category research solved, AMS 11]
theorem conjecture_2 (p : ℕ) (hp : p.Prime) (hodd : p ≠ 2) :
    let C : Matrix (Fin p) (Fin p) ℤ := fun i j => c (i.val + j.val)
    C.det ≡ 1 [ZMOD p] := by
  sorry

end OeisA228304

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