Sapounakis, A., & Tsikouras, P. (2005). Counting peaks and valleys in $k$-colored Motzkin paths. The Electronic Journal of Combinatorics, 12(1), R16. https://doi.org/10.37236/1913