OFFSET
1,3
LINKS
S. Coulomb and M. Bauer, On vertex covers, matchings and random trees
FORMULA
Coulomb and Bauer give a g.f.
MAPLE
umax := 20 ; u := array(0..umax) ; U := proc() global umax, u ; local resul, n ; resul :=0 ; for n from 0 to umax do resul := resul+u[n]*x^n ; od: end: expU := proc() global umax, u ; taylor(exp(U()), x=0, umax+1) ; end: xexpU := proc() global umax, u ; taylor(x*expU(), x=0, umax+1) ; end: exexpU := proc() global umax, u ; local t ; t := xexpU() ; taylor(exp(-t^2+t+3*U()), x=0, umax+1) ; end: A := expand(taylor(U()-x^2*exexpU(), x=0, umax+1)) ; for n from 0 to umax do u[n] := solve(coeff(A, x, n), u[n]) ; od : F := proc() t := xexpU() ; taylor(-(t+U())^2/2+(1+U()*t)*t+U()-U()^2, x=0, umax+1) ; end: egf := F() ; for n from 1 to umax do n!*coeff(egf, x, n) ; od; # R. J. Mathar, Sep 14 2006
MATHEMATICA
nmax = 20; egf := -U^2 - (1/2)*(E^U*x + U)^2 + E^U*x*(E^U*U*x + 1) + U;
U = 1;
Do[U = Normal[x^2*E^(E^(2U)*(-x^2) + E^U*x + 3U) + O[x]^n], {n, 1, nmax}];
Rest[Range[0, nmax - 1]!*CoefficientList[egf + O[x]^nmax, x]] (* Jean-François Alcover, Dec 14 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Ralf Stephan, Jul 30 2004
EXTENSIONS
More terms from R. J. Mathar, Sep 14 2006
STATUS
approved