OFFSET
0,8
LINKS
Seiichi Manyama, Antidiagonals n = 0..139, flattened
FORMULA
A(n,k) is the coefficient of x^n in the expansion of (1 - k*x - k*x^2)^n.
A(n,k) = Sum_{j=0..floor(n/2)} (-k)^(n-j) * binomial(n,j) * binomial(n-j,j) = Sum_{j=0..floor(n/2)} (-k)^(n-j) * binomial(n,2*j) * binomial(2*j,j).
n * A(n,k) = -k * (2*n-1) * A(n-1,k) - k * (k+4) * (n-1) * A(n-2,k).
EXAMPLE
Square array begins:
1, 1, 1, 1, 1, 1, 1, ...
0, -1, -2, -3, -4, -5, -6, ...
0, -1, 0, 3, 8, 15, 24, ...
0, 5, 16, 27, 32, 25, 0, ...
0, -11, 48, 567, 2176, 5625, 11664, ...
0, 41, 384, 189, -4864, -24375, -74304, ...
0, -29, -1920, -11259, -23552, 9375, 228096, ...
MATHEMATICA
A[n_, k_] := (-k)^n*Hypergeometric2F1[(1-n)/2, -n/2, 1, -4/k]; A[0, _] = 1; A[_, 0] = 0; Table[A[n-k, k], {n, 0, 10}, {k, n, 0, -1}] // Flatten (* Jean-François Alcover, May 07 2019 *)
CROSSREFS
KEYWORD
sign,tabl
AUTHOR
Seiichi Manyama, May 05 2019
STATUS
approved