OFFSET
0,3
COMMENTS
Linearly arrange the cycles over all permutations of {1,2,...,n} (these are called alignments in [Flajolet and Sedgewick]) then select a root.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..150
Philippe Flajolet and Robert Sedgewick, Analytic Combinatorics, Cambridge Univ. Press, 2009, page 119.
FORMULA
E.g.f.: x/( (1-x)*(1 - log(1/(1-x)))^2 ).
a(n) = n*A007840(n).
MAPLE
b:= proc(n) b(n):= n!*`if`(n=0, 1, add(b(k)/(k!*(n-k)), k=0..n-1)) end:
a:= n-> n*b(n):
seq(a(n), n=0..20); # Alois P. Heinz, Nov 06 2012
MATHEMATICA
nn=20; a=Log[1/(1-x)]; Range[0, nn]!CoefficientList[Series[x D[1/(1-a), x] , {x, 0, nn}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Geoffrey Critzer, Nov 06 2012
STATUS
approved