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.
1970-2025 CP (Manitoba, Canada) unless otherwise stated.