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.

Showing 1-4 of 4 results.

A290689 Number of transitive rooted trees with n nodes.

Original entry on oeis.org

1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 88, 143, 229, 370, 592, 955, 1527, 2457, 3929, 6304, 10081
Offset: 1

Views

Author

Gus Wiseman, Oct 19 2017

Keywords

Comments

A rooted tree is transitive if every proper terminal subtree is also a branch of the root. First differs from A206139 at a(13) = 143.
Regarding the notation, a rooted tree is a finite multiset of rooted trees. For example, the rooted tree (o(o)(oo)) is short for {{},{{}},{{},{}}}. Each "o" is a leaf. Each pair of parentheses corresponds to a non-leaf node (such as the root). Its contents "(...)" represent a branch. - Gus Wiseman, Nov 16 2024

Examples

			The a(7) = 8 7-node transitive rooted trees are: (o(oooo)), (oo(ooo)), (o(o)((o))), (o(o)(oo)), (ooo(oo)), (oo(o)(o)), (oooo(o)), (oooooo).
		

Crossrefs

The restriction to identity trees (A004111) is A279861, ranks A290760.
These trees are ranked by A290822.
The anti-transitive version is A306844, ranks A324758.
The totally transitive case is A318185 (by leaves A318187), ranks A318186.
A version for integer partitions is A324753, for subsets A324736.
The ordered version is A358453, ranks A358457, undirected A358454.

Programs

  • Mathematica
    nn=18;
    rtall[n_]:=If[n===1,{{}},Module[{cas},Union[Sort/@Join@@(Tuples[rtall/@#]&/@IntegerPartitions[n-1])]]];
    Table[Length[Select[rtall[n],Complement[Union@@#,#]==={}&]],{n,nn}]

Extensions

a(20) from Robert Price, Sep 13 2018
a(21)-a(22) from Robert P. P. McKone, Dec 16 2023

A318185 Number of totally transitive rooted trees with n nodes.

Original entry on oeis.org

1, 1, 1, 2, 3, 5, 7, 12, 17, 28, 41, 65, 96, 150, 221, 342, 506, 771, 1142, 1731, 2561, 3855, 5702, 8538, 12620, 18817, 27774, 41276, 60850, 90139
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. Unlike transitive rooted trees (A290689), every terminal subtree of a totally transitive rooted tree is itself totally transitive.

Examples

			The a(8) = 12 totally transitive rooted trees:
  (o(o)(o(o)))
  (o(o)(o)(o))
  (o(o)(ooo))
  (o(oo)(oo))
  (oo(o)(oo))
  (ooo(o)(o))
  (o(ooooo))
  (oo(oooo))
  (ooo(ooo))
  (oooo(oo))
  (ooooo(o))
  (ooooooo)
The a(9) = 17 totally transitive rooted trees:
  (o(o)(oo(o)))
  (oo(o)(o(o)))
  (o(o)(o)(oo))
  (oo(o)(o)(o))
  (o(o)(oooo))
  (o(oo)(ooo))
  (oo(o)(ooo))
  (oo(oo)(oo))
  (ooo(o)(oo))
  (oooo(o)(o))
  (o(oooooo))
  (oo(ooooo))
  (ooo(oooo))
  (oooo(ooo))
  (ooooo(oo))
  (oooooo(o))
  (oooooooo)
		

Crossrefs

Programs

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

A318186 Totally transitive numbers. Matula-Goebel numbers of totally transitive rooted trees.

Original entry on oeis.org

1, 2, 4, 6, 8, 12, 14, 16, 18, 24, 28, 32, 36, 38, 42, 48, 54, 56, 64, 72, 76, 78, 84, 96, 98, 106, 108, 112, 114, 126, 128, 144, 152, 156, 162, 168, 192, 196, 212, 216, 222, 224, 228, 234, 252, 256, 262, 266, 288, 294, 304, 312, 318, 324, 336, 342, 366, 378
Offset: 1

Views

Author

Gus Wiseman, Aug 20 2018

Keywords

Comments

A number x is totally transitive if (1) whenever prime(y) divides x it follows that y is totally transitive and (2) if prime(y) divides x and prime(z) divides y then prime(z) also divides x.

Examples

			The sequence of all totally transitive rooted trees together with their Matula-Goebel numbers begins:
   1: o
   2: (o)
   4: (oo)
   6: (o(o))
   8: (ooo)
  12: (oo(o))
  14: (o(oo))
  16: (oooo)
  18: (o(o)(o))
  24: (ooo(o))
  28: (oo(oo))
  32: (ooooo)
  36: (oo(o)(o))
  38: (o(ooo))
  42: (o(o)(oo))
  48: (oooo(o))
  54: (o(o)(o)(o))
  56: (ooo(oo))
  64: (oooooo)
  72: (ooo(o)(o))
  76: (oo(ooo))
  78: (o(o)(o(o)))
  84: (oo(o)(oo))
  96: (ooooo(o))
  98: (o(oo)(oo))
		

Crossrefs

Programs

  • Mathematica
    subprimes[n_]:=If[n==1,{},Union@@Cases[FactorInteger[n],{p_,_}:>FactorInteger[PrimePi[p]][[All,1]]]];
    trmgQ[n_]:=Or[n==1,And[Divisible[n,Times@@subprimes[n]],And@@Cases[FactorInteger[n],{p_,_}:>trmgQ[PrimePi[p]]]]];
    Select[Range[100],trmgQ]

A318234 Number of inequivalent leaf-colorings of totally transitive rooted trees with n nodes.

Original entry on oeis.org

1, 1, 2, 5, 13, 34, 87
Offset: 1

Views

Author

Gus Wiseman, Aug 21 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

			Inequivalent representatives of the a(6) = 34 leaf-colorings:
  (11(11))  (11111)  (111(1))  (1(111))  (1(1)(1))
  (11(12))  (11112)  (111(2))  (1(112))  (1(1)(2))
  (11(22))  (11122)  (112(1))  (1(122))  (1(2)(2))
  (11(23))  (11123)  (112(2))  (1(123))  (1(2)(3))
  (12(11))  (11223)  (112(3))  (1(222))
  (12(12))  (11234)  (123(1))  (1(223))
  (12(13))  (12345)  (123(4))  (1(234))
  (12(33))
  (12(34))
		

Crossrefs

Showing 1-4 of 4 results.