Abstract:
Let An(σ) denote the length of the longest alternating subsequence in a permutation σ in Sn. Under the uniform measure on Sn, this statistic was studied by Stanley. Under the uniform measure on permutations avoiding any particular pattern of length three, it was studied by Firro, Mansour and Wilson. The expected value EAn behaves asymptotically as ⅔ n in the former case and as ½ n in the latter case, regardless of which pattern of length three is to be avoided. We consider here the class of separable permutations, which is the class of permutations that can be decomposed and/or skew-decomposed down to singletons. Equivalently, it is the class of permutations that simultaneously avoid the patterns 2413 and 3142. We show that EAn ~ (2-sqrt(2)) n ≈ 0.5858 n, and also obtain the asymptotic behavior of the variance. We then consider some generalizations of alternating subsequences --- so called up/down-type subsequences. For certain choices of up/down-type subsequences, we can obtain the asymptotic behavior of the expected value of the longest such one under the uniform measure on permutations avoiding a non-monotone pattern of length three.