A322329 Triangle read by rows: T(n,k) is the number of nondecreasing Motzkin prefixes (i.e., left factors of nondecreasing Motzkin paths) of length n and final height k (0 <= k <= n).
1, 1, 1, 2, 2, 1, 4, 5, 3, 1, 9, 12, 9, 4, 1, 21, 30, 25, 14, 5, 1, 49, 74, 69, 44, 20, 6, 1, 115, 182, 185, 133, 70, 27, 7, 1, 269, 444, 488, 386, 230, 104, 35, 8, 1, 630, 1078, 1266, 1090, 718, 369, 147, 44, 9, 1, 1474, 2605, 3245, 3006, 2161, 1232, 560, 200, 54, 10, 1
Offset: 0
Examples
Triangle begins: 1; 1, 1; 2, 2, 1; 4, 5, 3, 1; 9, 12, 9, 4, 1; 21, 30, 25, 14, 5, 1; 49, 74, 69, 44, 20, 6, 1; 115, 182, 185, 133, 70, 27, 7, 1; 269, 444, 488, 386, 230, 104, 35, 8, 1; 630, 1078, 1266, 1090, 718, 369, 147, 44, 9, 1; 1474, 2605, 3245, 3006, 2161, 1232, 560, 200, 54, 10, 1; ...
Links
- R. Flórez and J. L. Ramírez, Some enumerations on non-decreasing Motzkin paths, Australasian Journal of Combinatorics, 72(1) (2018), 138-154.
Formula
Riordan array: ((1 - x - 2*x^2 + x^3)/(1 - 2*x - 2*x^2 + 3x^3 - x^5),(x*(1-x)^2*(1+x))/(1 - 2*x - x^2 + 2*x^3 - x^4)).