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!)
A320270 Number of unlabeled balanced semi-binary rooted trees with n nodes. 5
1, 1, 2, 2, 3, 4, 6, 7, 10, 13, 19, 25, 35, 46, 65, 88, 124, 171, 242, 334, 470, 653, 921, 1287, 1822, 2565, 3640, 5144, 7311, 10360, 14734, 20918, 29781, 42361, 60389, 86069, 122893, 175479, 250922, 358863 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
An unlabeled rooted tree is semi-binary if all out-degrees are <= 2, and balanced if all leaves are the same distance from the root. The number of semi-binary trees with n nodes is equal to the number of binary trees with n+1 leaves; see A001190.
LINKS
EXAMPLE
The a(1) = 1 through a(7) = 6 balanced semi-binary rooted trees:
o (o) (oo) ((oo)) (((oo))) ((o)(oo)) ((oo)(oo))
((o)) (((o))) ((o)(o)) ((((oo)))) (((o)(oo)))
((((o)))) (((o)(o))) (((((oo)))))
(((((o))))) ((((o)(o))))
(((o))((o)))
((((((o))))))
MATHEMATICA
saur[n_]:=If[n==1, {{}}, Join@@Table[Select[Union[Sort/@Tuples[saur/@ptn]], SameQ@@Length/@Position[#, {}]&], {ptn, Select[IntegerPartitions[n-1], Length[#]<=2&]}]];
Table[Length[saur[n]], {n, 20}]
CROSSREFS
Sequence in context: A274312 A238861 A309212 * A274156 A094860 A213816
KEYWORD
nonn
AUTHOR
Gus Wiseman, Oct 08 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 28 14:15 EDT 2024. Contains 372087 sequences. (Running on oeis4.)