OFFSET
0,2
COMMENTS
a(n) is also the number of subtrees of the complete graph K_{n+1} which contain a fixed edge. For n=2, the a(2)=3 solutions are the 3 subtrees of complete graph K_3 which contain a fixed edge (i.e. the edge itself and 2 copies of K_{1,2}). - Kellie J. MacPhee, Jul 25 2013
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..150
FORMULA
a(n) = Sum_{k=0..n} 2*(n-k+2)^(n-k-1)*C(n, k).
E.g.f.: exp(x)*(-LambertW(-x)/x)^2.
a(n) ~ 2*exp(2+exp(-1))*n^(n-1). - Vaclav Kotesovec, Jul 08 2013
MAPLE
a:= n-> add(2*(n-j+2)^(n-j-1)*binomial(n, j), j=0..n):
seq (a(n), n=0..20); # Alois P. Heinz, Oct 30 2012
MATHEMATICA
CoefficientList[Series[E^x*(-LambertW[-x]/x)^2, {x, 0, 20}], x]* Range[0, 20]! (* Vaclav Kotesovec, Jul 08 2013 *)
PROG
(PARI) x='x+O('x^50); Vec(serlaplace(exp(x)*(-lambertw(-x)/x)^2)) \\ G. C. Greubel, Nov 16 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Nov 05 2003
STATUS
approved
