We study the generating functions for pattern-restricted \(k\)-ary words of length \(n\) corresponding to the longest alternating subsequence statistic in which the pattern is any one of the six permutations of length three.
Citation
Toufik Mansour . Longest alternating subsequences in Pattern-Restricted k-ary Words[J], Online Journal of Analytic Combinatorics, Issue 3, 2008. -. https://doi.org/10.61091/ojac-305.