OFFSET
1,3
COMMENTS
A rooted partition of n is an integer partition of n - 1. A rooted twice-partition of n is a choice of a rooted partition of each part in a rooted partition of n.
FORMULA
O.g.f.: 1/(1 - x) + Sum_{n > 0} (-1/(1 - x) + Product_{k >= 0} 1/(1 - x^(n * k + 1))).
EXAMPLE
The a(5) = 7 rooted twice-partitions: (3), (111), (2)(), (11)(), (1)(1), (1)()(), ()()()().
MATHEMATICA
nn=50;
ser=(1-nn)/(1-x)+Sum[Product[1/(1-x^(d k+1)), {k, 0, nn}], {d, nn}];
CoefficientList[Series[ser, {x, 0, nn}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 26 2018
STATUS
approved