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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Congruences a(n+k)≡a(n)(modk)a(n+k) \equiv a(n) \pmod k for hypergeometric values 2F1(n,−n;;−1){}_2F_1(n, -n; ; -1)

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: a(n+k)≡a(n)(modk)a(n+k) \equiv a(n) \pmod{k} for all nn and kk. - Peter Bala, Mar 12 2023

A formal proof has been found with the methods described in arxiv/2605.22763.

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

Formal statement

theorem a_modeq : ∀ (n k : ℕ), Nat.ModEq k (a (n + k)) (a n)
Show the full Challenge.lean (82 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Congruences $a(n+k) \equiv a(n) \pmod k$ for hypergeometric values ${}_2F_1(n, -n; ; -1)$

a: $a(n) = \text{hypergeometric}([n, -n], [], -1)$.
This is equivalent to the combinatorial sum:
$$a(n) = \sum_{k=0}^n \binom{n}{k} \binom{n+k-1}{k} k!$$
The expression uses $\mathbb{N}$ arithmetic throughout, safely handling
the subtraction via `Nat.pred`.

*References:*
- [A278070](https://oeis.org/A278070)
- [arxiv/2605.22763](https://arxiv.org/abs/2605.22763) *Advancing Mathematics Research with AI-Driven Formal Proof Search* by George Tsoukalas et al.
-/

@[expose] public section

namespace OeisA278070


open Nat Finset

/--
a: $a(n) = \text{hypergeometric}([n, -n], [], -1)$.
This is equivalent to the combinatorial sum:
$$a(n) = \sum_{k=0}^n \binom{n}{k} \binom{n+k-1}{k} k!$$
The expression uses $\mathbb{N}$ arithmetic throughout, safely handling
the subtraction via `Nat.pred`.
-/
def a (n : ℕ) : ℕ :=
  (Finset.range (n + 1)).sum fun k =>
    (n.choose k) * ((n + k).pred.choose k) * (k.factorial)


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

@[category test, AMS 11]
lemma a_1 : a 1 = 2 := by rfl

@[category test, AMS 11]
lemma a_2 : a 2 = 11 := by rfl

@[category test, AMS 11]
lemma a_3 : a 3 = 106 := by rfl

@[category test, AMS 11]
lemma a_4 : a 4 = 1457 := by rfl


set_option linter.style.formal_proof_palomar false in
/--
Conjecture: $a(n+k) \equiv a(n) \pmod{k}$ for all $n$ and $k$. - _Peter Bala_, Mar 12 2023

A formal proof has been found with the methods described in
[arxiv/2605.22763](https://arxiv.org/abs/2605.22763).
-/
@[category research solved, AMS 11, formal_proof using formal_conjectures at
"https://github.com/mo271/formal-conjectures/blob/a32396489dcb8f86c3549b93aa358ac6a10a3a1f/FormalConjectures/OEIS/278070.wip.lean#L68"]
theorem a_modeq : ∀ (n k : ℕ), Nat.ModEq k (a (n + k)) (a n) := by
    sorry

end OeisA278070

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

nosorry fetch oeis-278070
nosorry submit oeis-278070 nosorry/oeis-278070/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.