A301706 Number of rooted thrice-partitions of n.
1, 1, 2, 4, 9, 19, 43, 91, 201, 422, 918, 1896, 4089, 8376, 17793, 36445, 76446, 155209, 324481, 655426, 1355220, 2741092, 5617505, 11291037, 23086423, 46227338, 93753196, 187754647, 378675055, 754695631, 1518414812, 3016719277, 6037006608, 11984729983
Offset: 1
Keywords
Examples
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))()(), (()())()(), (())(())(), (())()()(), ()()()()().
Crossrefs
Programs
-
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]
Comments