Pak, I., and R. Pemantle. “On the Longest $k$-Alternating Subsequence”. The Electronic Journal of Combinatorics, Vol. 22, no. 1, Feb. 2015, p. P1.48, doi:10.37236/4480.