%I #26 Jan 12 2024 20:23:33
%S 0,1,6,30,260,5445,228564,17288852,2327095296,562985438805,
%T 248555982382840,203515251722217402,313711170518065772088,
%U 922107609498513821505577,5221584862895700871908309960,57411615463478726571189869693160,1232855219250913685154581533108294112
%N Number of n-node labeled graphs with two endpoints.
%D F. Harary and E. Palmer, Graphical Enumeration, (1973), p. 31, problem 1.16(a).
%H Andrew Howroyd, <a href="/A277073/b277073.txt">Table of n, a(n) for n = 1..50</a>
%H Marko R. Riedel, Geoffrey Critzer, Math.Stackexchange.com, <a href="http://math.stackexchange.com/questions/1930410/">Proof of the closed form of the e.g.f. by combinatorial species</a>.
%F E.g.f.: (1/2)*(z^2/(1-z))*A(z) + (1/2)*(z^4/(1-z)^2)*(A''(z)-2*A'(z)+A(z)) + (1/2)*(z^3/(1-z)^3)*(A'(z)-A(z)) where A(z) = exp(1/2*z^2)*Sum_{n>=0} (2^binomial(n, 2)*(z/exp(z))^n/n!).
%p MX := 16:
%p XGF := exp(z^2/2)*add((z/exp(z))^n*2^binomial(n,2)/n!, n=0..MX+5):
%p K1 := 1/2*z^2/(1-z)*XGF:
%p K2 := 1/2*z^4/(1-z)^2*(diff(XGF, z$2)-2*diff(XGF,z)+XGF):
%p K3 := 1/2*z^3/(1-z)^3*(diff(XGF, z)-XGF):
%p XS := series(K1+K2+K3, z=0, MX+1):
%p seq(n!*coeff(XS, z, n), n=1..MX);
%t m = 16;
%t A[z_] := Exp[1/2*z^2]*Sum[2^Binomial[n, 2]*(z/Exp[z])^n/n!, {n, 0, m}];
%t egf = (1/2)*(z^2/(1 - z))*A[z] + (1/2)*(z^4/(1 - z)^2)*(A''[z] - 2*A'[z] + A[z]) + (1/2)*(z^3/(1 - z)^3)*(A'[z] - A[z]);
%t a[n_] := SeriesCoefficient[egf, {z, 0, n}]*n!;
%t Array[a, m] (* _Jean-François Alcover_, Feb 23 2019 *)
%Y Column k=2 of A327369.
%Y Cf. A059167, A277072, A277074.
%K nonn
%O 1,3
%A _Marko Riedel_, Sep 27 2016
|