A372592
Irregular triangle read by rows, where the n-th row gives the number of steps in the hydra game when the initial hydra is each of the A000108(n) ordered trees with n edges (ordered by lexicographic order of their corresponding Dyck words as in A063171) and new heads are grown to the right.
Original entry on oeis.org
0, 1, 2, 3, 3, 4, 5, 7, 11, 4, 5, 6, 8, 12, 7, 9, 11, 15, 23, 31, 79, 447, 1114111, 5, 6, 7, 9, 13, 8, 10, 12, 16, 24, 32, 80, 448, 1114112, 9, 11, 13, 17, 25, 15, 19, 23, 31, 47, 63, 159, 895, 2228223, 79, 191, 447, 2303, 53247, 1114111, 45079976738815, 6065988000108893953800078394579416901568357495071628808248312306073599
Offset: 0
Triangle begins:
0;
1;
2, 3;
3, 4, 5, 7, 11;
4, 5, 6, 8, 12, 7, 9, 11, 15, 23, 31, 79, 447, 1114111;
...
For n = 4, k = 10, the hydra game for the initial tree corresponding to the bracket string "(()(()))" (the 10th Dyck word on 4 pairs of brackets) is shown below. The root is denoted by "R", internal nodes by "o", the head to be chopped off by "X", other heads by "H". Numbers below the arrows show how many steps that are required to go from the tree on the left to the tree on the right.
.
X
/
H o H H H H H X X
\ / \ / \ / \ / \
o o--X o H o o X
| | |/ | | |
R => R => R--X => R => R => R => R
T(4,10) = 1 + 1 + 2 + 6 + 12 + 1 = 23.
Last elements on each row give
A372101.
A372593
Irregular triangle read by rows, where the n-th row gives the number of steps in the hydra game when the initial hydra is each of the A000108(n) ordered trees with n edges (ordered by lexicographic order of their corresponding Dyck words as in A063171) and new heads are grown to the left.
Original entry on oeis.org
0, 1, 2, 3, 3, 4, 5, 6, 9, 4, 5, 6, 7, 10, 7, 8, 9, 10, 14, 18, 19, 25, 49, 5, 6, 7, 8, 11, 8, 9, 10, 11, 15, 19, 20, 26, 50, 9, 10, 11, 12, 16, 12, 13, 14, 15, 20, 25, 26, 33, 60, 30, 31, 32, 33, 41, 49, 50, 60, 110, 175, 176, 195, 330, 1230
Offset: 0
Triangle begins:
0;
1;
2, 3;
3, 4, 5, 6, 9;
4, 5, 6, 7, 10, 7, 8, 9, 10, 14, 18, 19, 25, 49;
...
For n = 4, k = 10, the hydra game for the initial tree corresponding to the bracket string "(()(()))" (the 10th Dyck word on 4 pairs of brackets) is shown below. The root is denoted by "R", internal nodes by "o", the head to be chopped off by "X", other heads by "H". A number connected to the root represents that number of leaves, each connected to the root. Numbers below the arrows show how many steps that are required to go from the tree on the left to the tree on the right.
.
X
/
H o H H X H X X
|/ \|/ \| \
o o H o o X
| | \| | |
R => R => H--R => 5--R => 9--R => R
A(4,10) = 1 + 1 + 1 + 1 + 10 = 14.
Last elements on each row give
A372421.
A372594
Irregular triangle read by rows, where the n-th row gives the number of steps in the hydra game (the version described in A180368) when the initial hydra is each of the A000108(n) ordered trees with n edges (ordered by lexicographic order of their corresponding Dyck words as in A063171).
Original entry on oeis.org
0, 1, 2, 3, 3, 4, 4, 7, 8, 4, 5, 5, 8, 9, 5, 6, 8, 15, 16, 9, 17, 37, 38, 5, 6, 6, 9, 10, 6, 7, 9, 16, 17, 10, 18, 38, 39, 6, 7, 7, 10, 11, 9, 10, 16, 31, 32, 17, 33, 69, 70, 10, 11, 18, 35, 36, 38, 75, 614, 615, 39, 77, 631, 161914, 161915
Offset: 0
Triangle begins:
0;
1;
2, 3;
3, 4, 4, 7, 8;
4, 5, 5, 8, 9, 5, 6, 8, 15, 16, 9, 17, 37, 38;
...
In the examples below, the hydra games for some initial trees are shown. The root is denoted by "R", internal nodes by "o", the head to be chopped off by "X", other heads by "H". Numbers below the arrows show how many steps that are required to go from the tree on the left to the tree on the right.
(n,k) = (2,2), corresponding to the 2nd Dyck word on 2 pairs of brackets, "(())":
X
|
o H X X
| |/ |
R => R => R => R
T(2,2) = 1 + 1 + 1 = 3.
.
(n,k) = (3,4), corresponding to the 4th Dyck word on 3 pairs of brackets, "(()())":
H X H X
\ / \ /
o o o
\ \ /
R => R => R
T(3,4) = 1 + 2*T(2,2) = 7.
.
(n,k) = (4,10), corresponding to the 10th Dyck word on 4 pairs of brackets, "(()(()))":
X
|
o H X H H
| |/ | |
H--o H--o H--o o--X
\ \ \ /
R => R => R => R
T(4,10) = 1 + 1 + 2*T(3,4) = 16.
Last elements on each row give
A180368.
A372478
Number of steps required to kill a Kirby-Paris hydra composed of a linear graph with n edges where, after removing the rightmost head at step s, s new subtrees sprout from the head's grandparent node (see comments).
Original entry on oeis.org
In the following tree diagrams R is the root, o is a node and H is a head (leaf). Head chopping (leaf removal) is denoted by X.
For n = 2, the sequence of the 3 choppings is:
.
H X
\ \
o o H H X X
\ \ / \ / \
R R R R
.
For n = 3, the sequence of the 37 choppings is:
.
H X
\ \
o o H H X H H H H X H H
\ \ / \| | / \ | / \ |
o o o o o o o o H H H o o X X X X
\ \ \|/ \|/ / / / \|/ / / /
R R R R------ R------
.
H X H X
\ | \ \
o o H (8) H o X (9) X o H (18) H X (19) X
\|/ ... / \ / ... / \ / ... / \ ... /
R------ R------ R--------- ---R---
.
Last element in each row of
A372595.
Showing 1-4 of 4 results.
Comments