OFFSET
0,5
COMMENTS
Define an integer-valued polynomial p_n(x) = Product_{i=2..n-1} ((n + 1)*x + i) * ((3*n + 1)*(x + x^2) + n) / n!. Then the n-th row describes the numerator of the generating function Sum_{k >= 0} p_n(k) t^k as a rational function.
The cases when n = 0, 1 are a bit special, involving some cancellations.
FORMULA
Numerator of the generating function of values of p_n(x) = Product_{i=2..n-1} ((n + 1) * x + i) * ((3*n + 1) * (x + x^2) + n) / n!.
EXAMPLE
The first few rows are:
1;
1, 1;
1, 5, 1;
1, 19, 19, 1;
1, 65, 193, 65, 1;
1, 216, 1511, 1511, 216, 1;
PROG
(SageMath)
x = polygen(QQ, 'x')
t = x.parent()[['t']].gen()
def row(n):
if n < 2: return [1] * (n + 1)
pn = prod((n+1)*x+i for i in range(2, n)) * ((3*n+1)*(x+x**2)+n) / factorial(n)
poly = (1 - t)**(n + 1) * sum(pn(k) * t**k for k in range(n + 1)).O(n + 1)
return poly.coefficients()
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
F. Chapoton, Apr 25 2026
STATUS
approved
