The skew sum of the permutations π = 2413 and σ = 35142 is 796835142 (the last five entries are equal to σ, while the first four entries come from shifting the entries of π) while their direct sum is 241379586 (the first four entries are equal to π, while the last five come from shifting the entries of σ).
If Mπ and Mσ are the permutation matrices corresponding to π and σ, respectively, then the permutation matrix M π ⊖ σ {\displaystyle M_{\pi \ominus \sigma }} corresponding to the skew sum π ⊖ σ {\displaystyle \pi \ominus \sigma } is given by
and the permutation matrix M π ⊕ σ {\displaystyle M_{\pi \oplus \sigma }} corresponding to the direct sum π ⊕ σ {\displaystyle \pi \oplus \sigma } is given by
where here the symbol "0" is used to represent rectangular blocks of zero entries. Following the example of the preceding section, we have (suppressing all 0 entries) that
and
Skew and direct sums of permutations appear (among other places) in the study of pattern avoidance in permutations. Breaking permutations down as skew and/or direct sums of a maximal number of parts (that is, decomposing into indecomposable parts) is one of several possible techniques used to study the structure of, and so to enumerate, pattern classes.123
Permutations whose decomposition by skew and direct sums into a maximal number of parts, that is, can be built up from the permutations (1), are called separable permutations;4 they arise in the study of sortability theory, and can also be characterized as permutations avoiding the permutation patterns 2413 and 3142.
The skew and direct sums are associative but not commutative, and they do not associate with each other (i.e., for permutations π {\displaystyle \pi } , σ {\displaystyle \sigma } and τ {\displaystyle \tau } we typically have π ⊕ ( σ ⊖ τ ) ≠ ( π ⊕ σ ) ⊖ τ {\displaystyle \pi \oplus (\sigma \ominus \tau )\neq (\pi \oplus \sigma )\ominus \tau } ).
Given permutations π {\displaystyle \pi } and σ, we have
Given a permutation π {\displaystyle \pi } , define its reverse rev ( π ) {\displaystyle \operatorname {rev} (\pi )} to be the permutation whose entries appear in the opposite order of those of π {\displaystyle \pi } when written in one-line notation; for example, the reverse of 25143 is 34152. (As permutation matrices, this operation is reflection across a horizontal axis.) Then the skew and direct sums of permutations are related by
Michael Albert and M. D. Atkinson, Pattern classes and priority queues, arXiv:1202.1542v1 /wiki/Michael_H._Albert ↩
M. D. Atkinson, Bruce E. Sagan, Vincent Vatter, Counting (3+1)-Avoiding permutations, European Journal of Combinatorics, arXiv:1102.5568v1 /wiki/Michael_D._Atkinson ↩
Michael Albert and M. D. Atkinson Simple permutations and pattern restricted permutations. Discrete Math. 300, 1-3 (2005), 1–15. /wiki/Michael_H._Albert ↩
Kitaev, S. (2011) p.57 ↩