The period-four diagonal of OEIS A376317 and the A215973 relation
The FORMULA section of OEIS A376317 asks whether a two-step change along its period-four diagonal equals a one-step change in OEIS A215973. The identity holds for every integer \(n\ge 0\): \[a_{n+2}-a_n=b_{n+2}-b_{n+1}, \] where \(a_n=P(n+1,n+1)\) and \(b_n\) is indexed from zero. OEIS A376317, FORMULA conjecture The period-four rule uses \(f(d)=0\) when \(4\) divides \(d\), and \(f(d)=1\) otherwise. For non-negative integers \(r,m\), the array starts with \(P(0,m)=1\). For \(r\ge 1\), its entries satisfy \[P(r,m)= \begin{cases} P(r-1,m), & m\le r,\\ P(r,m-1)+P(r-1,m+f(m-r)), & m>r. \end{cases} \] The comparison sequence starts at \(b_0=1\) and is determined for integers \(n\ge 1\) by \(b_n=\sum_{k=0}^{n-1}b_k(1+b_{n-1-k})\). OEIS A215973, sequence definition Let \(A(z)=\sum_{n\ge0}a_nz^n\) and \(B(z)=\sum_{n\ge0}b_nz^n\), with \(z\) a formal variable. The manuscript establishes the exact relation \[B(z)=(1+z)A(z)-\frac{z}{1-z}. \] Thus \(b_n=a_n+a_{n-1}-1\) for every integer \(n\ge1\), with \(a_0=b_0=1\). This gives a way to compute the diagonal directly from A215973 by starting at \(a_0=1\) and using \(a_n=b_n-a_{n-1}+1\). It also explains the conjectured difference, since the shared term \(a_{n+1}\) cancels when consecutive values of \(b\) are subtracted. The same relation determines the array on and above the diagonal. For each integer \(d\ge0\), let \(H_d(z)=\sum_{r\ge0}P(r,r+d)z^r\) be the series at distance \(d\) from the diagonal. Set \(J=1+zA\) and \(q=A/[(1-z)-z(1+z)A]\). The denominator has constant term \(1\), so the quotient is defined as a formal power series. The four initial series and their extension are \[H_0=J,\qquad H_1=A,\qquad H_2=A+zqJ,\qquad H_3=H_2+zqA, \qquad H_{4k+i}=q^kH_i \quad(k\ge0,\ i\in\{0,1,2,3\}), \] where \(k\) is an integer. Moving four places away from the diagonal therefore multiplies each series by the same factor \(q\). To compute \(P(r,r+d)\), write \(d=4k+i\) and take the coefficient of \(z^r\) in \(q^kH_i\). The series indexed by distance from the diagonal were already used in the related period-two and period-three large Schröder number identities. Periodic boundary arrays and Schröder numbers, period-two and period-three results
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24795994
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint