#A proof for A395454
This page is part of the OEIS proof collection.
Let \(E(j,i)\) be the second-order Eulerian numbers in the indexing of A201637, so \(E(0,0)=1,\) \(E(0,i+1)=0,\) \(E(j+1,0)=1\) and \[E(j+1,i+1)=(i+2)E(j,i+1)+(2j-i)E(j,i).\] Put \(\tilde E_j(t)=\sum_{i=0}^{j}E(j,j-i)t^i,\) and for an integer \(\lambda\) define \[P^{(\lambda)}_n(t)\coloneqq\sum_{j=0}^{n}\binom{n}{j}(\lambda t)^{n-j}\tilde E_j(t).\] The coefficient of \(t^k\) is \(\sum_j\lambda^{n-j}\binom{n}{j}E(j,n-k).\) Hence \(\lambda=-1\) gives the row polynomials \(R_n(t)\) of A395454, with the row index \(n\geq0\) used in its examples, and \(\lambda=1\) gives the rows of A395452. For example, \(R_2(t)=2t\) and \(R_3(t)=6t+2t^2.\)
Theorem (X. Wang, 2026, [Wan26]).
For every integer \(\lambda\) and \(n\geq2,\) \[P^{(\lambda)}_n=\bigl((n-1)+(n+\lambda)t\bigr)P^{(\lambda)}_{n-1} +(t-t^2)\bigl(P^{(\lambda)}_{n-1}\bigr)' -2\lambda(n-1)t\,P^{(\lambda)}_{n-2}.\] In particular, \[R_n=(n-1)(1+t)R_{n-1}+(t-t^2)R_{n-1}'+2(n-1)t\,R_{n-2},\qquad n\geq2.\]
Proof
The reversed second-order Eulerian polynomials satisfy \(\tilde E_{j+1}=\bigl(j+(j+1)t\bigr)\tilde E_j+(t-t^2)\tilde E_j'.\) Substitute this into the binomial sum for \(P^{(\lambda)}_n,\) and use \(\binom{n}{j}=\binom{n-1}{j}+\binom{n-1}{j-1}\) and \(j\binom{n}{j}=n\binom{n-1}{j-1}\); the terms collect into the stated recurrence.
The formula recorded in A395454, \[P(n)=(n-2t+nt-2)P(n-1)+(t-t^2)P'(n-1)+t(2n-4)P(n-2),\] is the case \(\lambda=-1\) with the shifted index \(P(n)=R_{n-1},\) for \(n\geq3.\) With the row labels of the examples it fails already at \(n=3,\) where the right side is \(4t\) but \(R_3=6t+2t^2.\) Evaluating at \(t=1\) shows that the row sums satisfy \(a_n=2(n-1)(a_{n-1}+a_{n-2}),\) the recurrence of A053871.
Wang’s proof is written in Lean, and a port is part of the RealRooted Lean library. The case \(\lambda=0\) is the classical recurrence for \(\tilde E_n.\)
Bibliography
- [Wan26]Ximing Wang. A Lean formalization of the OEIS A395454 recurrence. Release oeis-a395454-v1.0.0, 2026.
.bib
@misc{Wang2026A395454, author = {Ximing Wang}, title = {A {L}ean formalization of the {OEIS} {A395454} recurrence}, year = {2026}, howpublished = {Release oeis-a395454-v1.0.0}, url = {https://github.com/vexpaer/justsomepaper/releases/tag/oeis-a395454-v1.0.0} }