Title:Pronic indices for odd coefficients of · a_1
Statement:No informal statement.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.06219 [math.NT] · NS.06219v1 for this version |
| Declaration: | OeisA323557.a_1 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 1; accepted critique: up to 100 |
| Statement hash: | 4f13512861ccf22e200970f7710e9cb25361c35453cd5c0e4f09d449e836c8a1 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/323557.lean |
Formal statement
lemma a_1 : a 1 = 0Show the full Challenge.lean (97 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Pronic indices for odd coefficients of $\sum_{n \ge 0} x^n \frac{(1+x^n)^n}{(1+x^{n+1})^{n+1}}$
Coefficients of G.f. $\sum_{n\ge 0} x^n \cdot \frac{(1 + x^n)^n}{(1 + x^{n+1})^{n+1}}$.
The $m$-th term $a(m)$ is the coefficient of $x^m$, which is explicitly given by the sum:
$$ a(m) = \sum_{n=0}^m \sum_{k=0}^n \binom{n}{k} (-1)^j \binom{n+j}{j},$$
where $j = \frac{m - n(k+1)}{n+1}$, and the term is zero unless $j$ is a natural number.
*References:*
- [A323557](https://oeis.org/A323557)
- [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 OeisA323557
open Nat
/--
Coefficients of G.f. $\sum_{n\ge 0} x^n \cdot \frac{(1 + x^n)^n}{(1 + x^{n+1})^{n+1}}$.
The $m$-th term $a(m)$ is the coefficient of $x^m$, which is explicitly given by the sum:
$$ a(m) = \sum_{n=0}^m \sum_{k=0}^n \binom{n}{k} (-1)^j \binom{n+j}{j},$$
where $j = \frac{m - n(k+1)}{n+1}$, and the term is zero unless $j$ is a natural number.
-/
def a (m : ℕ) : ℤ :=
Finset.sum (Finset.range (m + 1)) fun n =>
Finset.sum (Finset.range (n + 1)) fun k =>
let exp_x_num := n * (k + 1)
if exp_x_num ≤ m then
let remainder := m - exp_x_num
if (n + 1) ∣ remainder then
let j : ℕ := remainder / (n + 1)
let c₁ : ℤ := (n.choose k)
let c₂ : ℤ := (choose (n + j) j)
let sign : ℤ := if Even j then 1 else -1
sign * c₁ * c₂
else
0
else
0
@[category test, AMS 11]
lemma a_0 : a 0 = 1 := by rfl
@[category test, AMS 11]
lemma a_1 : a 1 = 0 := by rfl
@[category test, AMS 11]
lemma a_2 : a 2 = 3 := by rfl
@[category test, AMS 11]
lemma a_3 : a 3 = -2 := by rfl
@[category test, AMS 11]
lemma a_4 : a 4 = 2 := by rfl
set_option linter.style.formal_proof_palomar false in
/--
Conjecture: Odd terms occur only at positions $n(n+1)$ for $n \ge 0$ (verified for initial 32600 terms).
A formal proof has been found with the methods described in
[arxiv/2605.22763](https://arxiv.org/abs/2605.22763).
This statement is equivalent to `OeisA325046.odd_a_implies_pronic`. The two sequences differ
only by the sign $(-1)^j$ on each summand, so they agree modulo $2$ and have the same odd
indices.
-/
@[category research solved, AMS 11, formal_proof using formal_conjectures at
"https://github.com/mo271/formal-conjectures/blob/a32396489dcb8f86c3549b93aa358ac6a10a3a1f/FormalConjectures/OEIS/323557.wip.lean#L193"]
theorem odd_a_implies_pronic (m : ℕ) : Odd (a m) → ∃ n : ℕ, m = n * (n + 1) := by
sorry
end OeisA323557
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA323557.a_1 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_a_1 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk oeis-323557--a-1 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch oeis-323557--a-1 nosorry submit oeis-323557--a-1 nosorry/oeis-323557--a-1/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.