OFFSET
0,6
COMMENTS
This sequence is initially dominated by A300352 but eventually becomes much greater.
A strict tree of weight n > 0 is either a single node of weight n, or a sequence of two or more strict trees with strictly decreasing weights summing to n.
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..500
FORMULA
EXAMPLE
The a(8) = 7 strict trees with odd leaves: (71), (53), (((51)1)1), (((31)3)1), (((31)1)3), ((31)31), (((((31)1)1)1)1).
MATHEMATICA
d[n_]:=d[n]=If[EvenQ[n], 0, 1]+Sum[Times@@d/@y, {y, Select[IntegerPartitions[n], Length[#]>1&&UnsameQ@@#&]}];
Table[d[n], {n, 40}]
PROG
(PARI) seq(n)={my(v=vector(n)); v[1]=1; for(n=2, n, v[n] = polcoef(x/(1-x^2) + prod(k=1, n-1, 1 + v[k]*x^k + O(x*x^n)), n)); concat([1], v)} \\ Andrew Howroyd, Aug 25 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 03 2018
STATUS
approved
