The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A331964 Number of semi-lone-child-avoiding rooted identity trees with n vertices. 12
1, 1, 0, 1, 0, 1, 1, 2, 2, 4, 6, 10, 16, 27, 44, 74, 123, 209, 353, 602, 1026, 1760, 3019, 5203, 8977, 15538, 26930, 46792, 81415, 141939, 247795, 433307, 758672, 1330219, 2335086, 4104064, 7220937, 12718694, 22424283, 39574443, 69903759, 123584852, 218668323 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
COMMENTS
A rooted tree is semi-lone-child-avoiding if there are no vertices with exactly one child unless that child is an endpoint/leaf. It is an identity tree if the branches of any given vertex are all distinct.
LINKS
David Callan, A sign-reversing involution to count labeled lone-child-avoiding trees, arXiv:1406.7784 [math.CO], (30-June-2014).
EXAMPLE
The a(9) = 2 through a(12) = 10 semi-lone-child-avoiding rooted identity trees:
((o)(o(o(o)))) (o(o)(o(o(o)))) ((o)(o(o)(o(o)))) (o(o)(o(o)(o(o))))
(o((o)(o(o)))) (o(o(o)(o(o)))) ((o)(o(o(o(o))))) (o(o)(o(o(o(o)))))
(o(o(o(o(o))))) ((o(o))(o(o(o)))) (o(o(o))(o(o(o))))
((o)((o)(o(o)))) (o((o)(o(o(o))))) (o(o(o)(o(o(o)))))
(o(o)((o)(o(o)))) (o(o(o(o)(o(o)))))
(o(o((o)(o(o))))) (o(o(o(o(o(o))))))
((o)((o)(o(o(o)))))
((o)(o((o)(o(o)))))
((o(o))((o)(o(o))))
(o((o)((o)(o(o)))))
MATHEMATICA
ssei[n_]:=Switch[n, 1, {{}}, 2, {{{}}}, _, Join@@Function[c, Select[Union[Sort/@Tuples[ssei/@c]], UnsameQ@@#&]]/@Rest[IntegerPartitions[n-1]]];
Table[Length[ssei[n]], {n, 15}]
PROG
(PARI) WeighT(v)={Vec(exp(x*Ser(dirmul(v, vector(#v, n, (-1)^(n-1)/n))))-1, -#v)}
seq(n)={my(v=[1, 1]); for(n=2, n-1, v=concat(v, WeighT(v)[n] - v[n])); v} \\ Andrew Howroyd, Feb 09 2020
CROSSREFS
The non-semi version is A000007.
Matula-Goebel numbers of these trees are A331963.
Rooted identity trees are A004111.
Semi-lone-child-avoiding rooted trees are A331934.
Sequence in context: A163733 A198834 A270925 * A084202 A300865 A053637
KEYWORD
nonn
AUTHOR
Gus Wiseman, Feb 04 2020
EXTENSIONS
Terms a(36) and beyond from Andrew Howroyd, Feb 09 2020
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 May 14 23:22 EDT 2024. Contains 372535 sequences. (Running on oeis4.)