A081114 Triangle read by rows: T(n,k) = n*T(n-1,k) + n - k starting at T(n,n)=0.
0, 1, 0, 4, 1, 0, 15, 5, 1, 0, 64, 23, 6, 1, 0, 325, 119, 33, 7, 1, 0, 1956, 719, 202, 45, 8, 1, 0, 13699, 5039, 1419, 319, 59, 9, 1, 0, 109600, 40319, 11358, 2557, 476, 75, 10, 1, 0, 986409, 362879, 102229, 23019, 4289, 679, 93, 11, 1, 0, 9864100, 3628799, 1022298, 230197, 42896, 6795, 934, 113, 12, 1, 0
Offset: 0
Examples
Triangle begins 0; 1, 0; 4, 1, 0; 15, 5, 1, 0; 64, 23, 6, 1, 0; 325, 119, 33, 7, 1, 0;
Programs
-
PARI
T(n,k) = if (k==n, 0, n*T(n-1,k) + n - k); tabl(nn) = {for (n=0, nn, for (k=0, n, print1(T(n, k), ", ");); print(););} \\ Michel Marcus, Jun 16 2019
Formula
Extensions
More terms from Michel Marcus, Jun 16 2019
Comments