OFFSET
1,3
COMMENTS
G.f. of row n in triangle A201949 equals Product_{k=0..n-1} (1 + k*x + x^2).
FORMULA
E.g.f.: Sum_{n>=0} -log(1 - x)^(2*n+1) / (n!*(n+1)!). - Paul D. Hanna, Feb 25 2019
a(n) = [x^(n-1)] Product_{k=0..n-1} (1 + k*x + x^2).
a(n) = A201949(n,n-1). - Alois P. Heinz, Dec 11 2025
EXAMPLE
E.g.f.: A(x) = x + x^2/2! + 5*x^3/3! + 24*x^4/4! + 139*x^5/5! + 945*x^6/6! + 7377*x^7/7! + 65016*x^8/8! + 638418*x^9/9! + 6910650*x^10/10! + ...
Triangle A201949 begins:
[1],
[(1), 0, 1],
[1,(1), 2, 1, 1],
[1, 3, (5), 6, 5, 3, 1],
[1, 6, 15, (24), 28, 24, 15, 6, 1],
[1, 10, 40, 90,(139), 160, 139, 90, 40, 10, 1], ...
where coefficients in parenthesis form the initial terms of this sequence.
MAPLE
T:= proc(n, k) option remember; `if`(k<0 or k>2*n, 0,
`if`(n=0 and k=0, 1, T(n-1, k)+(n-1)*T(n-1, k-1)+T(n-1, k-2)))
end:
a:= n-> T(n, n-1):
seq(a(n), n=1..23); # Alois P. Heinz, Dec 11 2025
PROG
(PARI) {a(n) = polcoeff( prod(j=0, n-1, 1 + j*x + x^2), n-1)}
for(n=1, 30, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Dec 06 2011
EXTENSIONS
Offset changed to 1 to agree with the e.g.f. - Paul D. Hanna, Feb 25 2019
STATUS
approved
