OFFSET
0,4
LINKS
Alois P. Heinz, Columns k = 0..36, flattened
EXAMPLE
Triangle T(n,k) begins:
: 1;
: 1;
: 1;
: 3, 1;
: 4, 1;
: 10, 5, 1;
: 60, 15, 6, 1;
: 140, 21, 7, 1;
: 280, 224, 28, 8, 1;
: 1260, 630, 336, 36, 9, 1;
: 12600, 3780, 1050, 480, 45, 10, 1;
MAPLE
b:= proc(n, i) option remember; `if`(i*(i+1)/2<n, 0, `if`(n=0, 1,
b(n, i-1) +`if`(i>n, 0, binomial(n, i)*b(n-i, i-1))))
end:
T:= (n, k)-> b(n, k) -`if`(k=0, 0, b(n, k-1)):
seq(seq(T(n, k), n=k..k*(k+1)/2), k=0..7);
MATHEMATICA
b[n_, i_] := b[n, i] = If[i*(i+1)/2<n, 0, If[n==0, 1, b[n, i-1] + If[i>n, 0, Binomial[n, i]*b[n-i, i-1]]]]; T[n_, k_] := b[n, k] - If[k==0, 0, b[n, k-1]]; Table[T[n, k], {k, 0, 7}, {n, k, k*(k+1)/2}] // Flatten (* Jean-François Alcover, Dec 18 2016, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Alois P. Heinz, Sep 10 2015
STATUS
approved