A228110 Height after n-th step of the infinite Dyck path in which the k-th ascending line segment has A141285(k) steps and the k-th descending line segment has A194446(k) steps, n >= 0, k >= 1.
0, 1, 0, 1, 2, 1, 0, 1, 2, 3, 2, 1, 0, 1, 2, 1, 2, 3, 4, 5, 4, 3, 2, 1, 0, 1, 2, 3, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 1, 2, 3, 4, 5, 4, 3, 4, 5, 6, 5, 6, 7, 8, 9, 10, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 2, 3, 4, 5, 6, 7, 6, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 14, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
Offset: 0
Examples
Illustration of initial terms (n = 1..59): . 11 ........................................................... . / . / . / 7 .................................. / . /\ / 5 .................... / \ /\/ . /\ / \ /\ / 3 .......... / \ / \ / \/ 2 ..... /\ / \ /\/ \ / 1 .. /\ / \ /\/ \ / \ /\/ . /\/ \/ \/ \/ \/ . Note that the j-th largest peak between two valleys at height 0 is also the partition number A000041(j). Written as an irregular triangle in which row k has length 2*A138137(k), the sequence begins: 0,1; 0,1,2,1; 0,1,2,3,2,1; 0,1,2,1,2,3,4,5,4,3,2,1; 0,1,2,3,2,3,4,5,6,7,6,5,4,3,2,1; 0,1,2,1,2,3,4,5,4,3,4,5,6,5,6,7,8,9,10,11,10,9,8,7,6,5,4,3,2,1; 0,1,2,3,2,3,4,5,6,7,6,5,6,7,8,9,8,9,10,11,12,13,14,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1; ...
Links
- Omar E. Pol, Visualization of regions in a diagram for A006128
Comments