OFFSET
5,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 5..145
EXAMPLE
a(6) = 15: each graph has one 2-node tree and 4 1-node trees, and C(6,2) = 15.
MAPLE
T:= proc(n, k) option remember; `if`(k<0 or k>n, 0,
`if`(n=0, 1, add(binomial(n-1, i)*T(n-1-i, k-1)*
`if`(i<2, 1, i!/2 +(i+1)^(i-1)), i=0..n-k)))
end:
a:= n-> T(n, 5):
seq(a(n), n=5..25);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Aug 25 2012
STATUS
approved