OFFSET
1,4
FORMULA
T(n,k) = n!*(n-1)*(n-2)*...*(n-k+1)*(-1)^k*Bk/k! where Bk is a Bernoulli number and T(n,0) = (n-1)! and T(n,m) = 0 if m >= n.
EXAMPLE
Triangle begins:
1;
1, 1;
2, 3, 1;
6, 12, 6, 0;
24, 60, 40, 0, -4;
...
MATHEMATICA
Table[If[k == 0, (n - 1)!, n!*Product[n - j, {j, k - 1}]*(-1)^k*BernoulliB[k]/k!], {n, 10}, {k, 0, n - 1}] // Flatten (* Michael De Vlieger, Jun 27 2020 *)
PROG
(PARI) T(n, k) = if (k==0, (n-1)!, n!*prod(j=1, k-1, n-j)*(-1)^k*bernfrac(k)/k!);
tabl(nn) = for(n=1, nn, for (k=0, n-1, print1(T(n, k), ", ")); print); \\ Michel Marcus, Jun 25 2020
CROSSREFS
KEYWORD
sign,tabl
AUTHOR
John O. Oladokun, Jun 25 2020
STATUS
approved