OFFSET
1,1
COMMENTS
From two partial functions f,g on [n], form a labeled directed graph with vertex set [n] and edge set: {(x -> f(x)):x in [n]} Union {{(x -> g(x)):x in [n]}. Then a(n) is the number of such graphs that are weakly connected. - Geoffrey Critzer, Dec 06 2021
LINKS
P. Flajolet and R. Sedgewick, Analytic Combinatorics, 2009; page 139.
MATHEMATICA
nn = 10; g[x_] := Sum[(n + 1)^(2 n) x^n/n!, {n, 0, nn}] ;
Drop[Range[0, nn]! CoefficientList[Series[Log[g[x]], {x, 0, nn}], x], 1] (* Geoffrey Critzer, Dec 06 2021 *)
PROG
(PARI) {a(n) = n! * polcoeff( log( sum(m=0, n, (m+1)^(2*m) * x^m/m!) +x*O(x^n)), n)}
for(n=1, 20, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Dec 31 2015
STATUS
approved