cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A318187 Number of totally transitive rooted trees with n leaves.

Original entry on oeis.org

2, 2, 4, 8, 16, 32, 62, 122, 234, 451, 857, 1630, 3068, 5772, 10778, 20093, 37259
Offset: 1

Views

Author

Gus Wiseman, Aug 20 2018

Keywords

Comments

A rooted tree is totally transitive if every branch of the root is totally transitive and every branch of a branch of the root is also a branch of the root.

Examples

			The a(5) = 16 totally transitive rooted trees with 5 leaves:
  (o(o)(o(o)(o)))
  (o(o)(o)(o(o)))
  (o(o)(o)(o)(o))
  (o(o)(oo(o)))
  (oo(o)(o(o)))
  (o(o)(o)(oo))
  (oo(o)(o)(o))
  (o(o)(ooo))
  (o(oo)(oo))
  (oo(o)(oo))
  (ooo(o)(o))
  (o(oooo))
  (oo(ooo))
  (ooo(oo))
  (oooo(o))
  (ooooo)
		

Crossrefs

Programs

  • Mathematica
    totralv[n_]:=totralv[n]=If[n==1,{{},{{}}},Join@@Table[Select[Union[Sort/@Tuples[totralv/@c]],Complement[Union@@#,#]=={}&],{c,Select[IntegerPartitions[n],Length[#]>1&]}]];
    Table[Length[totralv[n]],{n,8}]