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.

User: Torsten Muetze

Torsten Muetze's wiki page.

Torsten Muetze has authored 11 sequences. Here are the ten most recent ones:

A365510 Number of n-vertex binary trees that do not contain 0((00)[0(00)]) as a subtree.

Original entry on oeis.org

1, 2, 5, 14, 41, 123, 376, 1168, 3678, 11716, 37688, 122261, 399533, 1314023
Offset: 1

Author

Torsten Muetze, Sep 07 2023

Keywords

Comments

By 'binary tree' we mean a rooted, ordered tree which is either empty, denoted by 0, or it has both a left subtree L and a right subtree R (which can be empty), and then it is denoted by (LR) if it is attached by a contiguous edge to its parent, [LR] if attached by a non-contiguous edge, or LR if it is does not have a parent, i.e., if is the root. A contiguous edge in the pattern tree corresponds to a parent-child relation in the host tree (as in Rowland's paper), whereas a non-contiguous edge in the pattern tree corresponds to an ancestor-descendant relation in the host tree (as in the paper by Dairyko, Pudwell, Tyner, and Wynn).
Number of n-vertex binary trees that do not contain P as a subtree, where P is one of 0((00)[(00)0]), 0((0[0(00)])0), 0((0[(00)0])0), (00)(0[0(00)]), (00)(0[(00)0]).

Crossrefs

Cf. A007051 for pattern 0[[00][0[00]]], i.e., same tree shape, but all edges non-contiguous.
Cf. A159768 for pattern 0((00)(0(00))), i.e., same tree shape, but all edges contiguous.

A365508 Number of n-vertex binary trees that do not contain 0[0(0[0(00)])] as a subtree.

Original entry on oeis.org

1, 2, 5, 14, 41, 123, 375, 1157, 3603, 11304, 35683, 113219, 360805, 1154140
Offset: 1

Author

Torsten Muetze, Sep 07 2023

Keywords

Comments

By 'binary tree' we mean a rooted, ordered tree which is either empty, denoted by 0, or it has both a left subtree L and a right subtree R (which can be empty), and then it is denoted by (LR) if it is attached by a contiguous edge to its parent, [LR] if attached by a non-contiguous edge, or LR if it is does not have a parent, i.e., if is the root. A contiguous edge in the pattern tree corresponds to a parent-child relation in the host tree (as in Rowland's paper), whereas a non-contiguous edge in the pattern tree corresponds to an ancestor-descendant relation in the host tree (as in the paper by Dairyko, Pudwell, Tyner, and Wynn).
Number of n-vertex binary trees that do not contain P as a subtree, where P is one of 0[0(0((00)0))], 0[0((00)(00))], 0[0((0(00))0)], 0[(00)(0(00))], 0[(00)((00)0)], 0[(0(00))(00)], 0[((00)0)(00)], 0[(0((00)0))0], 0[((00)(00))0], 0[((0(00))0)0], 0(([0(00)]0)0), 0(([(00)0]0)0).
Number of restricted growth strings of set partitions of {1,...,n} that avoid the two patterns 1212 and p, where p is one of 12232, 12113, 12322, 11213.

Crossrefs

Cf. A007051 for pattern 0[0[0[0[00]]]], i.e., same tree shape, but all edges non-contiguous.
Cf. A036766 for pattern 0(0(0(0(00)))), i.e., same tree shape, but all edges contiguous.

A365509 Number of n-vertex binary trees that do not contain 0(0[0(0(00))]) as a subtree.

Original entry on oeis.org

1, 2, 5, 14, 41, 124, 383, 1202, 3819, 12255, 39651, 129190, 423469, 1395425
Offset: 1

Author

Torsten Muetze, Sep 07 2023

Keywords

Comments

By 'binary tree' we mean a rooted, ordered tree which is either empty, denoted by 0, or it has both a left subtree L and a right subtree R (which can be empty), and then it is denoted by (LR) if it is attached by a contiguous edge to its parent, [LR] if attached by a non-contiguous edge, or LR if it is does not have a parent, i.e., if is the root. A contiguous edge in the pattern tree corresponds to a parent-child relation in the host tree (as in Rowland's paper), whereas a non-contiguous edge in the pattern tree corresponds to an ancestor-descendant relation in the host tree (as in the paper by Dairyko, Pudwell, Tyner, and Wynn).
Number of n-vertex binary trees that do not contain 0(0[((00)0)0]) as a subtree.

Crossrefs

Cf. A007051 for pattern 0[0[0[0[00]]]], i.e., same tree shape, but all edges non-contiguous.
Cf. A036766 for pattern 0(0(0(0(00)))), i.e., same tree shape, but all edges contiguous.

A355572 Largest LCM of partitions of n into odd parts.

Original entry on oeis.org

1, 1, 3, 3, 5, 5, 7, 15, 15, 21, 21, 35, 35, 45, 105, 105, 105, 105, 165, 165, 315, 315, 385, 385, 495, 1155, 1155, 1365, 1365, 1365, 1365, 3465, 3465, 4095, 4095, 5005, 5005, 6435, 15015, 15015, 15015, 15015, 19635, 19635, 45045, 45045, 45045, 45045, 58905, 58905, 69615, 69615
Offset: 1

Author

Torsten Muetze, Jul 07 2022

Keywords

Comments

The largest LCM is attained for a partition of n into powers of distinct odd primes and 1's.

Examples

			The partitions of n=8 into odd parts are 7+1, 5+3, 5+1+1+1, 3+3+1+1, 3+1+1+1+1+1, 1+1+1+1+1+1+1+1, and the partition with largest LCM among those is 5+3, which has LCM(5,3)=5*3=15, so a(8)=15.
		

Crossrefs

Programs

  • PARI
    a(n) = my(x=1); forpart(p=n, if (!#select(x->((x%2)==0), Vec(p)), x = max(x, lcm(Vec(p))))); x; \\ Michel Marcus, Jul 08 2022

A355573 Largest LCM of partitions of n with a nonzero even number of even parts.

Original entry on oeis.org

2, 2, 4, 6, 6, 12, 12, 20, 30, 30, 60, 60, 84, 84, 140, 210, 210, 420, 420, 420, 420, 840, 840, 1260, 1260, 1540, 2310, 2520, 4620, 4620, 5460, 5460, 9240, 9240, 13860, 13860, 16380, 16380, 27720, 30030, 32760, 60060, 60060, 60060, 60060, 120120, 120120, 180180, 180180, 180180, 180180
Offset: 4

Author

Torsten Muetze, Jul 07 2022

Keywords

Comments

The largest LCM is attained for a partition of n into powers of distinct odd primes, 2^k for some k>0, 2, and 1's.

Examples

			The partitions of n=8 with a nonzero even number of even parts are 6+2, 4+4, 4+2+1+1, 3+2+2+1, 2+2+2+2, 2+2+1+1+1+1, and the partition with largest LCM among those is 3+2+2+1, which has LCM(3,2,2,1)=3*2=6, so a(8)=6.
		

Crossrefs

A330040 Number of non-isomorphic cover graphs of lattice quotients of essential lattice congruences of the weak order on the symmetric group S_n.

Original entry on oeis.org

1, 1, 3, 19, 748, 2027309
Offset: 1

Author

Torsten Muetze, Nov 28 2019

Keywords

Examples

			For n=3, the weak order on S_3 has the cover relations 123<132, 123<213, 132<312, 213<231, 312<321, 231<321, and there are four essential lattice congruences, namely {}, {132=312}, {213=231}, {132=312,213=231}. The cover graph of the first one is a 6-cycle, the cover graph of the middle two is a 5-cycle, and the cover graph of the last one is a 4-cycle. These are 3 non-isomorphic graphs, showing that a(3)=3.
		

A330039 Number of essential lattice congruences of the weak order on the symmetric group S_n.

Original entry on oeis.org

1, 1, 4, 47, 3322, 11396000
Offset: 1

Author

Torsten Muetze, Nov 28 2019

Keywords

Examples

			For n=3, the weak order on S_3 has the cover relations 123<132, 123<213, 132<312, 213<231, 312<321, 231<321, and there are a(3)=4 essential lattice congruences, namely {}, {132=312}, {213=231}, {132=312,213=231}.
		

A330042 Number of non-isomorphic regular cover graphs of lattice quotients of essential lattice congruences of the weak order on the symmetric group S_n.

Original entry on oeis.org

1, 1, 3, 10, 51, 335, 2909
Offset: 1

Author

Torsten Muetze, Nov 28 2019

Keywords

Examples

			For n=3, the weak order on S_3 has the cover relations 123<132, 123<213, 132<312, 213<231, 312<321, 231<321, and there are four essential lattice congruences, namely {}, {132=312}, {213=231}, {132=312,213=231}. The cover graph of the first one is a 6-cycle, the cover graph of the middle two is a 5-cycle, and the cover graph of the last one is a 4-cycle. These are 3 non-isomorphic regular graphs, showing that a(3)=3.
		

A259839 Number of order-preserving Hamiltonian paths in the n-cube (Gray codes); see the comments for the precise definition of order-preserving.

Original entry on oeis.org

1, 1, 1, 1, 1, 10, 123, 1492723
Offset: 0

Author

Torsten Muetze, Jul 06 2015

Keywords

Comments

An order-preserving Hamiltonian path in the n-cube is a listing S_1,...,S_N of all N:=2^n many subsets of [n]:={1,2,...,n}, such that if S_j is a subset of S_i then j <= i+1. For the counting we ignore paths that differ only by renaming elements of the ground set (=automorphisms of the n-cube), i.e., without loss of generality every such path starts as follows: S_1={}, S_2={1}, S_3={1,2}, S_4={2}, S_5={2,3}, S_6={3}, S_7={3,4}, S_8={4},..., S_{2n-2}={n-1}, S_{2n-1}={n-1,n}, S_{2n}={n} (after visiting the set {n}, there are multiple ways to proceed).
It is shown in [Felsner, Trotter 95] that an order-preserving Hamiltonian path is level-accurate in the following sense: After visiting a set of size k, the path will never visit a set of size (k-2) (*).
For odd n we will have S_N={1,2,...,n} (i.e., |S_N|=n) and for even n we will have |S_N|=n-1.
Hamiltonian paths that have property (*) have been constructed in [Savage, Winkler 95] for all n (but these paths are not order-preserving).
For n=8,9,10 we know that a(n)>=1. It is unknown whether a(n)>=1 for n>=11 (i.e., it is not known whether such order-preserving paths exist). Some partial results have been obtained in [Biro, Howard 09].

Examples

			For n=4 the a(4)=1 solution is S_1={}, S_2={1}, S_3={1,2}, S_4={2}, S_5={2,3}, S_6={3}, S_7={3,4}, S_8={4}, S_9={2,4}, S_10={1,2,4}, S_11={1,4}, S_12={1,3,4}, S_13={1,3}, S_14={1,2,3}, S_15={1,2,3,4}, S_16={2,3,4}.
		

A217258 Threshold for the P(n)-avoidance edge-coloring game with two colors and fixed tree size restriction, where P(n) denotes the path on n edges (see the comments and reference for precise definition).

Original entry on oeis.org

1, 3, 7, 10, 17, 21, 31, 39, 49, 55, 71, 79, 97
Offset: 1

Author

Torsten Muetze, Mar 17 2013

Keywords

Comments

The game is played on an edge-colored graph by two players called Builder and Painter. The game starts with a graph on infinitely many vertices with no edges. In each step, Builder adds one new edge to the graph, but he must not create any cycles, and all components (=trees) may have at most k edges (k is fixed throughout the game). Painter immediately and irrevocably colors each new edge red or blue. Painter's goal is to avoid creating a monochromatic (i.e., completely red or completely blue) path P(n) on n edges (n is also fixed throughout the game). Builder's goal is to force Painter to create such a monochromatic P(n). a(n) is defined as the minimal k for which Builder wins this P(n)-avoidance game with two colors and tree size restriction k.

Examples

			For n=8, we have a(8)=39, meaning that the P(8)-avoidance game with two colors and tree size restriction k is a win for Builder for all k>=39, and a win for Painter for all k<39.
		

References

  • M. Belfrage, T. Mütze, and R. Spöhel, Probabilistic one-player Ramsey games via deterministic two-player games, SIAM J. Discrete Math., 26(3) (2012), 1031-1049.

Crossrefs

Cf. A221222 (vertex-coloring variant of this game).

Formula

a(n) >= n + ceiling(n/2)*(n-1) for all n.
a(n) >= (8/15+o(1))*n^2 as n tends to infinity (the term o(1) tends to 0).
a(n) <= (9+5*sqrt(3))/6*n^(2*log_2(1+sqrt(3))) = Theta(n^2.899...).