OFFSET
0,3
FORMULA
n*T(n,k) = 3 * Sum_{j=0..k} (-1)^j * binomial(k,j)*(3*n-2-2*j)*T(n-1-j,k) for n > k.
T(n,k) = (-1)^n * Sum_{j=0..n} 9^j * binomial(-1/3,j) * binomial(k*j,n-j).
EXAMPLE
Square array begins:
1, 1, 1, 1, 1, 1, ...
3, 3, 3, 3, 3, 3, ...
18, 15, 12, 9, 6, 3, ...
126, 90, 57, 27, 0, -24, ...
945, 585, 297, 78, -75, -165, ...
7371, 3969, 1629, 207, -438, -444, ...
PROG
(PARI) T(n, k) = (-1)^n*sum(j=0, n, 9^j*binomial(-1/3, j)*binomial(k*j, n-j));
CROSSREFS
KEYWORD
sign,tabl
AUTHOR
Seiichi Manyama, Mar 26 2023
STATUS
approved