OFFSET
0,9
FORMULA
E.g.f. of column k: exp(x * (1+x)^k).
T(0,k) = 1; T(n,k) = (n-1)! * Sum_{j=1..n} j * binomial(k,j-1) * T(n-j,k)/(n-j)!.
EXAMPLE
Square array begins:
1, 1, 1, 1, 1, 1, ...
1, 1, 1, 1, 1, 1, ...
1, 3, 5, 7, 9, 11, ...
1, 7, 19, 37, 61, 91, ...
1, 25, 97, 241, 481, 841, ...
1, 81, 581, 1981, 4881, 10001, ...
PROG
(PARI) T(n, k) = n!*sum(j=0, n, binomial(k*j, n-j)/j!);
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Seiichi Manyama, Mar 06 2023
STATUS
approved