OFFSET
0,14
LINKS
Seiichi Manyama, Antidiagonals n = 0..139, flattened
FORMULA
A(n,k) is the coefficient of x^n in the expansion of 1/(n+1) * (1 + x - k*x^2)^(n+1).
A(n,k) = Sum_{j=0..floor(n/2)} (-k)^j * binomial(n,j) * binomial(n-j,j)/(j+1) = Sum_{j=0..floor(n/2)} (-k)^j * binomial(n,2*j) * A000108(j).
(n+2) * A(n,k) = (2*n+1) * A(n-1,k) - (1+4*k) * (n-1) * A(n-2,k).
EXAMPLE
Square array begins:
1, 1, 1, 1, 1, 1, 1, ...
1, 1, 1, 1, 1, 1, 1, ...
1, 0, -1, -2, -3, -4, -5, ...
1, -2, -5, -8, -11, -14, -17, ...
1, -3, -3, 1, 9, 21, 37, ...
1, 1, 21, 61, 121, 201, 301, ...
1, 11, 51, 91, 101, 51, -89, ...
1, 15, -41, -377, -1203, -2729, -5165, ...
MATHEMATICA
T[n_, k_] := Sum[If[k == j == 0, 1, (-k)^j] * Binomial[n, 2*j] * CatalanNumber[j], {j, 0, Floor[n/2]}]; Table[T[k, n - k], {n, 0, 10}, {k, 0, n}] // Flatten (* Amiram Eldar, May 12 2021 *)
CROSSREFS
KEYWORD
sign,tabl
AUTHOR
Seiichi Manyama, May 10 2019
STATUS
approved