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. A rooted thrice-partition of n is a choice of a rooted twice-partition of each part in a rooted partition of n.
EXAMPLE
The a(5) = 9 rooted thrice-partitions:
((2)), ((11)), ((1)()), (()()()),
((1))(), (()())(), (())(()),
(())()(),
()()()().
The a(6) = 19 rooted thrice-partitions:
((3)), ((21)), ((111)), ((2)()), ((11)()), ((1)(1)), ((1)()()), (()()()()),
((2))(), ((11))(), ((1)())(), (()()())(), ((1))(()), (()())(()),
((1))()(), (()())()(), (())(())(),
(())()()(),
()()()()().
MATHEMATICA
twire[n_]:=twire[n]=Sum[Times@@PartitionsP/@(ptn-1), {ptn, IntegerPartitions[n-1]}];
thrire[n_]:=Sum[Times@@twire/@ptn, {ptn, IntegerPartitions[n-1]}];
Array[thrire, 30]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 25 2018
STATUS
approved