OFFSET
1,5
LINKS
Alois P. Heinz, Rows n = 1..141, flattened
FORMULA
See program.
EXAMPLE
T(4,1) = 9, because 9 forests on 4 labeled nodes have 1 as the maximum of the number of edges per tree:
.1-2. .1.2. .1.2. .1.2. .1.2. .1.2. .1-2. .1.2. .1.2.
..... ...|. ..... .|... ..\.. ../.. ..... .|.|. ..X..
.4.3. .4.3. .4-3. .4.3. .4.3. .4.3. .4-3. .4.3. .4.3.
Triangle begins:
1;
1, 1;
1, 3, 3;
1, 9, 12, 16;
1, 25, 60, 80, 125;
1, 75, 330, 480, 750, 1296;
MAPLE
A:= (n, k)-> coeff(series(exp(add(j^(j-2) *x^j/j!, j=1..k)), x, n+1), x, n)*n!: T:= (n, k)-> A(n, k+1)-A(n, k): seq(seq(T(n, k), k=0..n-1), n=1..11);
MATHEMATICA
A[n_, k_] := SeriesCoefficient[Exp[Sum[j^(j-2)*x^j/j!, {j, 1, k}]], {x, 0, n}]*n!; T[n_, k_] := A[n, k+1] - A[n, k];
Table[T[n, k], {n, 1, 11}, {k, 0, n-1}] // Flatten (* Jean-François Alcover, May 31 2016, translated from Maple *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Alois P. Heinz, Sep 04 2008
STATUS
approved