login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A300352 Number of strict trees of weight n with distinct leaves. 9
1, 1, 2, 2, 3, 6, 8, 11, 17, 40, 48, 76, 109, 159, 400, 470, 745, 1057, 1576, 2103, 5267, 6022, 9746, 13390, 20099, 26542, 39396, 82074, 101387, 152291, 215676, 308937, 423587, 596511, 799022, 1623311, 1960223, 2947722, 4048704, 5845982, 7794809, 11028888 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
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
FORMULA
a(n) = Sum_{i=1..A000009(n)} A294018(A246867(n,i)).
EXAMPLE
The a(8) = 11 strict trees with distinct leaves: 8, (71), ((52)1), ((43)1), (62), ((51)2), (53), ((41)3), (5(21)), (521), (431).
MATHEMATICA
sps[{}]:={{}}; sps[set:{i_, ___}]:=
Join@@Function[s, Prepend[#, s]&/@sps[Complement[set, s]]]/@Cases[Subsets[set], {i, ___}];
str[q_]:=str[q]=If[Length[q]===1, 1, Total[Times@@@Map[str, Select[sps[q], And[Length[#]>1, UnsameQ@@Total/@#]&], {2}]]];
Table[Total[str/@Select[IntegerPartitions[n], UnsameQ@@#&]], {n, 1, 20}]
CROSSREFS
Sequence in context: A193595 A077871 A215450 * A035587 A039870 A100948
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 03 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 21:51 EDT 2024. Contains 371781 sequences. (Running on oeis4.)