OFFSET
2,1
LINKS
Alois P. Heinz, Rows n = 2..101, flattened
Marko Riedel, Counting the number of rooted trees of a certain height
Marko Riedel, Maple code for sequence (EGF)
J. Riordan, Enumeration of trees by height and diameter, IBM J. Res. Dev. 4 (1960), 473-478. [broken link]
J. Riordan, Enumeration of trees by height and diameter, IBM J. Res. Dev. 4 (1960), 473-478.
J. Riordan, The enumeration of trees by height and diameter, IBM Journal 4 (1960), 473-478. (Annotated scanned copy)
FORMULA
Riordan reference gives recurrence.
EXAMPLE
2;
3, 6;
4, 36, 24;
5, 200, 300, 120;
6, 1170, 3360, 2520, 720;
7, 7392, 38850, 43680, 22680, 5040;
MAPLE
gf:= proc(k) gf(k):= `if`(k=0, x, x*exp(gf(k-1))) end:
A:= proc(n, k) A(n, k):= n!*coeff(series(gf(k), x, n+1), x, n) end:
T:= (n, d)-> A(n, d) -A(n, d-1):
seq(seq(T(n, d), d=1..n-1), n=2..12); # Alois P. Heinz, Sep 21 2012
MATHEMATICA
gf[k_] := gf[k] = If[k == 0, x, x*E^gf[k - 1]]; a[n_, k_] := n!*Coefficient[ Series[gf[k], {x, 0, n + 1}], x, n]; t[n_, d_] := a[n, d] - a[n, d - 1]; Table[t[n, d], {n, 2, 12}, {d, 1, n - 1}] // Flatten (* Jean-François Alcover, Jan 15 2013, translated from Alois P. Heinz's Maple program *)
CROSSREFS
KEYWORD
AUTHOR
EXTENSIONS
More terms from Pab Ter (pabrlos(AT)yahoo.com), May 27 2004
STATUS
approved