betaFeedback

WorksMathematics

Distributions of Mesh Patterns of Short Lengths on Separable Permutations

Abstract

This paper contributes to the long line of research on the distribution of mesh patterns in permutations. We extend these studies to separable permutations and carry out a comprehensive analysis of mesh patterns of length at most~2. For mesh patterns of length~1, we determine the distributions for all six equivalence classes. In addition, we obtain the joint distribution for the patterns in the class containing the well-known permutation statistic known as the strict fixed point. Furthermore, computer experiments suggest that at most 124 pairs of mesh patterns of type 12 and 21 with identical shading are equidistributed. Using symmetry operations, we partition these pairs into 38 equivalence classes with respect to distribution. By explicitly determining 24 of these distributions (in many cases, in fact, joint equidistributions of the respective pairs), we reduce the number of equivalence classes to~31, which turns out to be the true number of equivalence classes. Enumerating 14 of these classes is left as an open problem.

Introduction

A permutation of length nn is a rearrangement of the set [n]:={1,2,…,n}[n] := \{1,2,\ldots,n\}. Denote by SnS_n the set of permutations of [n][n] and let ε\varepsilon be the empty permutation. A pattern is a permutation. A permutation π1π2⋯πn∈Sn\pi_1\pi_2\cdots\pi_n \in S_n avoids a pattern p=p1p2⋯pk∈Skp = p_1p_2\cdots p_k \in S_k if there is no subsequence πi1πi2⋯πik\pi_{i_1}\pi_{i_2}\cdots\pi_{i_k} such that πij<πim\pi_{i_j} < \pi_{i_m} if and only if pj<pmp_j < p_m. Let Sn(p)S_n(p) denote the set of pp-avoiding permutations of length nn. For a permutation π=π1π2⋯πn\pi= \pi_1\pi_2\cdots\pi_n, its reverse is the permutation πr=πnπn−1⋯π1\pi^r = \pi_n\pi_{n-1}\cdots\pi_1 and its complement is the permutation πc=c(π1)c(π2)⋯c(πn)\pi^c = c(\pi_1)c(\pi_2)\cdots c(\pi_n) where c(x)=n+1−xc(x) = n + 1 - x. Also, the length of a permutation π\pi, denoted by ∣π∣|\pi|, is the number of elements in π\pi. For example, for π=423156\pi= 423156, ∣π∣=6|\pi| = 6, πr=651324\pi^r = 651324, and πc=354621\pi^c = 354621. Finally, for a sequence σ\sigma of distinct numbers, the reduced form of σ\sigma, denoted red⁡(σ)\operatorname{red}(\sigma), is obtained by replacing the ii-th smallest number in σ\sigma by ii. For example, red⁡(4295)=2143\operatorname{red}(4295) = 2143.

The concept of a mesh pattern was introduced by Brändén and Claesson [5]. The study of mesh patterns has become a prominent area of research within the theory of patterns in permutations, which has attracted significant attention (see [12]). For enumerative results related to mesh patterns, see, for example, [2, 11, 13, 14, 15, 17, 20].

A mesh pattern of length kk is a pair (τ,R)(\tau, R), where τ∈Sk\tau\in S_k and RR is a subset of ⟦0,k⟧×⟦0,k⟧\llbracket0,k\rrbracket\times\llbracket0,k\rrbracket, where ⟦0,k⟧\llbracket0,k\rrbracket denotes the interval of integers from 0 to kk. Let (i,j)(i,j) be the box whose corners have coordinates (i,j),(i,j+1),(i+1,j+1)(i,j),(i,j+1),(i+1,j+1), and (i+1,j)(i+1,j), and let the horizontal lines (resp., vertical lines) represent the values (resp., positions) in the pattern. Mesh patterns can be drawn by shading the boxes in RR. A mesh pattern with τ=123\tau= 123 and R={(0,0),(1,2),(2,1),(3,0)}R = \{(0,0),(1,2),(2,1),(3,0)\} is drawn as follows

Mesh pattern with shaded boxes

Figure 1.

Given a permutation π=π1π2⋯πn∈Sn\pi= \pi_1\pi_2\cdots\pi_n \in S_n, a subsequence π′=πi1πi2⋯πik\pi' = \pi_{i_1}\pi_{i_2}\cdots\pi_{i_k} is an occurrence of a mesh pattern p=(τ,R)p = (\tau, R) in π\pi if (i) π′\pi' is order-isomorphic to τ\tau, and (ii) the shaded regions defined by RR contain no elements of π\pi that are not in π′\pi'. Otherwise, π\pi is said to avoid pp, denoted by π∈Sn(p)\pi\in S_n(p). For example, consider the mesh pattern p=(123,{(0,0),(1,2),(2,1),(3,1)})p = (123,\{(0,0),(1,2),(2,1),(3,1)\}). The permutation 23154 contains two occurrences of pp, whereas the permutation 14325 avoids pp. We let p(π)p(\pi) denote the number of occurrences of (mesh) pattern pp in π\pi.

Two patterns q1q_1 and q2q_2 are Wilf-equivalent, denoted q1∼q2q_1 \sim q_2, if ∣Sn(q1)∣=∣Sn(q2)∣|S_n(q_1)| = |S_n(q_2)|. Moreover, q1q_1 and q2q_2 are called equidistributed, denoted q1∼dq2q_1 \sim_d q_2, if the number of permutations of length nn with kk occurrences of q1q_1 is equal to that with kk occurrences of q2q_2 for any nonnegative integers nn and kk. The stricter notion of joint equidistribution of two patterns, denoted q1∼jdq2q_1 \sim_{jd} q_2, means that the number of nn-permutations with kk occurrences of q1q_1 and ℓ\ell occurrences of q2q_2 is equal to that with ℓ\ell occurrences of q1q_1 and kk occurrences of q2q_2.

For n≥2n \ge2, a permutation π1π2⋯πn\pi_1\pi_2\cdots\pi_n is irreducible if there is no ii, 2≤i≤n2 \le i \le n, such that any element in π1⋯πi−1\pi_1\cdots\pi_{i-1} is less than each element in πi⋯πn\pi_i\cdots\pi_n. For example, the permutation 42513 is irreducible. By definition, the permutation 1 is irreducible. A permutation is reducible if it is not irreducible. The empty permutation ε\varepsilon is neither reducible nor irreducible. Each reducible permutation can be cut into irreducible pieces called irreducible components, or just components. For example, the components of the permutation 312546978 are 312, 54, 6, and 978.

Suppose π=π1π2⋯πm∈Sm\pi= \pi_1\pi_2\cdots\pi_m \in S_m and σ=σ1σ2⋯σn∈Sn\sigma= \sigma_1\sigma_2\cdots\sigma_n \in S_n. We define the direct sum (or simply, sum) ⊕\oplus, and the skew sum ⊖\ominus by building the permutations π⊕σ\pi\oplus\sigma and π⊖σ\pi\ominus\sigma as follows:

(π⊕σ)i={πiif 1≤i≤m,σi−m+mif m+1≤i≤m+n.(\pi\oplus\sigma)_i = \begin{cases} \pi_i & \text{if } 1 \le i \le m,\\ \sigma_{i-m} + m & \text{if } m+1 \le i \le m+n. \end{cases}
(π⊖σ)i={πi+nif 1≤i≤m,σi−mif m+1≤i≤m+n.(\pi\ominus\sigma)_i = \begin{cases} \pi_i + n & \text{if } 1 \le i \le m,\\ \sigma_{i-m} & \text{if } m+1 \le i \le m+n. \end{cases}

For example, 14325⊕4231=14325978614325 \oplus4231 = 143259786 and 14325⊖4231=58769423114325 \ominus4231 = 587694231.

The separable permutations are those which can be built from the permutation 1 by repeatedly applying the ⊕\oplus and ⊖\ominus operations. Bose, Buss and Lubiw [4] introduced the notion of separable permutation in 1998, and it is well-known [12] that the set of all separable permutations of length n≥1n \ge1 is precisely Sn(2413,3142)S_n(2413, 3142) (we assume here that by definition, the empty permutation ε\varepsilon is not separable). Separable permutations appear in the literature in various contexts (see [6] for references).

Clearly, the reverse, or complement, or (usual group theoretic) inverse, or any composition of these operations applied to a separable permutation gives a separable permutation. It is not difficult to see that any π∈Sn(2413,3142)\pi\in S_n(2413, 3142) has the following structure (see also Figure 1 for a schematic representation, where a permutation is viewed as a diagram with a dot in position (i,πi)(i,\pi_i) for each element πi\pi_i of π\pi):

π=L1L2⋯LmnRmRm−1⋯R1\pi= L_1L_2\cdots L_m n R_mR_{m-1}\cdots R_1

where

  1. 1≤i≤m1 \le i \le m, LiL_i and RiR_i are non-empty (≠ε\ne\varepsilon), with possible exception for LmL_m and R1R_1, separable permutations which are intervals in π\pi (that is, consist of all elements in {a,a+1,…,b}\{a,a+1,\ldots,b\} for some aa and bb);

  1. R1<L1<R2<L2<⋯<Rm<LmR_1 < L_1 < R_2 < L_2 < \cdots< R_m < L_m, where A<BA < B, for two permutations AA and BB, means that each element of AA is less than every element of BB. In particular, R1R_1, if it is not empty, contains 1.

For example, if π=2165743\pi= 2165743 then L1=21L_1 = 21, L2=65L_2 = 65, R1=εR_1 = \varepsilon and R2=43R_2 = 43. Note that a separable permutation is irreducible if and only if R1≠εR_1 \ne\varepsilon.

Figure 1 (PDF p. 4). A schematic representation of the permutation diagrams corresponding to separable permutations. Each LiL_i and RjR_j is a separable permutation.

Throughout this paper, we use the abbreviation “g.f.” to denote a generating function. We denote by F(x)F(x) the generating function (g.f.) for separable permutations:

F(x):=∑n≥1∣Sn(3142,2413)∣xn=1−x−1−6x+x22.(1)F(x) := \sum_{n \ge1} |S_n(3142, 2413)|x^n = \frac{1-x-\sqrt{1-6x+x^2}}{2}. \tag*{(1)}

The notation F(x,t)F(x,t), and likewise F(x,t1,t2)F(x,t_1,t_2), is local to each theorem and its proof: the marked pattern or patterns are specified there. Throughout the paper, F(x)F(x) always denotes the series in (1).

Symmetry operations

Clearly, applying the reverse, complement, or (usual group-theoretic) inverse operation, or any composition of these operations, to a separable permutation yields a separable permutation. For a given mesh pattern (τ,R)(\tau,R) of length nn, we define

(τ,R)r=(τr,Rr),(τ,R)c=(τc,Rc),(τ,R)i=(τi,Ri).(\tau,R)^r=(\tau^r,R^r),\qquad(\tau,R)^c=(\tau^c,R^c),\qquad(\tau,R)^i=(\tau^i,R^i).

where τi\tau^i is the usual inverse, and Rr={(n−x,y):(x,y)∈R}R^r=\{(n-x,y):(x,y)\in R\}, Rc={(x,n−y):(x,y)∈R}R^c=\{(x,n-y):(x,y)\in R\}, and Ri={(y,x):(x,y)∈R}R^i=\{(y,x):(x,y)\in R\}.

Hence, reverse is a reflection around the vertical center line, complement is a reflection around the horizontal center line, and inverse is the reflection around the southwest-tonortheast diagonal. Figure 2 illustrates applications of these operations on the pattern p=(312,{(0,1),(1,3),(2,2)})p = (312, \{(0, 1), (1, 3), (2, 2)\}).

Several symmetries of a mesh pattern

Figure 2. Several symmetries of a mesh pattern.

Distributions of statistics on separable permutations

For a permutation π=π1π2⋯πn\pi= \pi_1\pi_2 \cdots\pi_n, the descent (resp., ascent) statistic on π\pi, des⁡(π)\operatorname{des}(\pi) (resp., asc⁡(π)\operatorname{asc}(\pi)), is defined as the number of i∈{1,2,…,n−1}i \in\{1,2,\ldots,n-1\} such that πi>πi+1\pi_i > \pi_{i+1} (resp., πi<πi+1\pi_i < \pi_{i+1}). For example, des⁡(561423)=2\operatorname{des}(561423)=2 and asc⁡(25134)=3\operatorname{asc}(25134)=3.

The following lemma will be used in Theorem 17 below. It gives the distribution of descents (equivalently, by using reverse, ascents) on separable permutations.

Lemma 1 [8 Cor. 2.4]. The g.f.

Q(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tasc⁡(π)=∑n≥1xn∑π∈Sn(2413,3142)tdes⁡(π)Q(x,t) := \sum_{n \ge1} x^n \sum_{\pi\in S_n(2413,3142)} t^{\operatorname{asc}(\pi)} = \sum_{n \ge1} x^n \sum_{\pi\in S_n(2413,3142)} t^{\operatorname{des}(\pi)}

satisfies the functional equation

tQ3(x,t)+txQ2(x,t)+((1+t)x−1)Q(x,t)+x=0(2)tQ^3(x,t) + txQ^2(x,t) + ((1+t)x-1)Q(x,t) + x = 0 \tag*{(2)}

For a permutation π=π1π2⋯πn\pi= \pi_1\pi_2 \cdots\pi_n, πi\pi_i is a right-to-left maximum (resp., right-to-left minimum) if πi>πj\pi_i > \pi_j (resp., πi<πj\pi_i < \pi_j) for all j>ij > i. In particular, πn\pi_n is a right-to-left maximum and a right-to-left minimum. The number of right-to-left maxima (resp., right-to-left minima) is denoted by rmax⁡(π)\operatorname{rmax}(\pi) (resp., rmin⁡(π)\operatorname{rmin}(\pi)). For example, rmax⁡(436512)=3\operatorname{rmax}(436512)=3 and rmin⁡(326154)=2\operatorname{rmin}(326154)=2. Also, πi\pi_i is a left-to-right maximum (resp., left-to-right minimum), denoted by lmax⁡(π)\operatorname{lmax}(\pi) (resp., lmin⁡(π)\operatorname{lmin}(\pi)) if πi>πj\pi_i > \pi_j (resp., πi<πj\pi_i < \pi_j) for all j<ij < i. In particular, π1\pi_1 is a left-to-right maximum and a left-to-right minimum. For example, lmax⁡(325164)=lmin⁡(326154)=3\operatorname{lmax}(325164)=\operatorname{lmin}(326154)=3.

In this paper, we will frequently make use of the following theorem from [6], which describes the distributions of four permutation statistics on separable permutations, as well as on their reducible and irreducible subclasses.

Theorem 1 ([6 Thm. 5]). The g.f. G(x,t):=∑πx∣π∣tstat⁡(π)G(x,t) := \sum_{\pi} x^{|\pi|}t^{\operatorname{stat}(\pi)} giving the distribution of any statistic stat⁡∈{lmax⁡,rmax⁡,lmin⁡,rmin⁡}\operatorname{stat} \in\{\operatorname{lmax},\operatorname{rmax},\operatorname{lmin},\operatorname{rmin}\} on separable permutations is

4(x4+54−14x2−6x+1−tx)2+x2−6x+1−x−1−x2−6x+1+4tx+x−32(x2−6x+1−x−1)(3)\frac{4\sqrt{\left(\frac{x}{4}+\frac{5}{4}-\frac{1}{4}\sqrt{x^2-6x+1-tx}\right)^2}+\sqrt{x^2-6x+1}-x-1-\sqrt{x^2-6x+1+4tx+x-3}}{2\left(\sqrt{x^2-6x+1}-x-1\right)} \tag*{(3)}

The distributions of stat⁡\operatorname{stat} on irreducible and reducible separable permutations are given in Table 1.

g.f.irreduciblereducible
G2(x,t)1+G(x,t)+xt\frac{G^2(x,t)}{1+G(x,t)}+xtstat⁡∈{rmax⁡,lmin⁡}\operatorname{stat} \in\{\operatorname{rmax},\operatorname{lmin}\}stat⁡∈{lmax⁡,rmin⁡}\operatorname{stat} \in\{\operatorname{lmax},\operatorname{rmin}\}
G(x,t)1+G(x,t)−xt\frac{G(x,t)}{1+G(x,t)}-xtstat⁡∈{lmax⁡,rmin⁡}\operatorname{stat} \in\{\operatorname{lmax},\operatorname{rmin}\}stat⁡∈{rmax⁡,lmin⁡}\operatorname{stat} \in\{\operatorname{rmax},\operatorname{lmin}\}

Table 1. Distributions of statistics in Theorem 1.

Distribution of mesh patterns in the literature

Kitaev and Zhang [14] initiated a systematic study of the distributions of short mesh patterns (of length at most 2) in permutations, extending the earlier work of [11] on the systematic study of mesh pattern avoidance in permutations. These investigations were later extended to certain infinite families of mesh patterns in [15]. The systematic study of mesh patterns of length 3 was initiated in [17] and subsequently continued in [18, 19]. Other contributions to the literature on distributions of mesh patterns include [7, 9, 10]. The distribution of mesh patterns on a particular subclass of permutations, namely king permutations, was studied in [16].

Results in this paper

In this paper, we first determine the distributions of all mesh patterns of length 1 (see Table 2 and the references therein). In one instance, Theorem 7, we derive the joint equidistribution of strict fixed points and reverse strict fixed points. We then classify the mesh patterns 12 and 21 with identical shadings into 31 equivalence classes based on their distributions; these classes are listed in Table 3–5, with further mergers described in Table 7. These results are obtained using symmetry operations as well as by explicitly determining distributions of mesh patterns (we derived 24 distributions). In many cases, we are also able to determine the joint distributions of the corresponding pairs. Interestingly, although the distributions of the patterns [mesh pattern] and [mesh pattern] are the same, the joint distributions of the pairs { [mesh pattern], [mesh pattern] } and { [mesh pattern], [mesh pattern] } are different.

Nr.PatternRef.Nr.PatternRef.Nr.PatternRef.
N1[mesh pattern]N5[mesh pattern]N9[mesh pattern]
N2[mesh pattern]N6[mesh pattern]N10[mesh pattern]
N3[mesh pattern]Thm. 2N7[mesh pattern]Thm. 5N11[mesh pattern]Thm. 6
N4[mesh pattern]N8[mesh pattern]N12[mesh pattern]
N13[mesh pattern]N15[mesh pattern]Thm. 3N16[mesh pattern]Thm. 4
N14[mesh pattern]Thm. 7

Table 2. Symmetry-induced equidistribution classes for mesh patterns of length 1.

Nr.PatternsRef.Nr.PatternsRef.Nr.PatternsRef.
S1mesh patternThm. 10S2mesh patternThm. 11S3mesh pattern
S4mesh patternS5mesh patternThm. 21S6mesh pattern
S7mesh patternS8mesh pattern

Table 3. Symmetry-induced equidistribution classes of mesh patterns with a single pattern per class, and references to their known enumeration.

Nr.PatternsNr.PatternsNr.PatternsNr.PatternsNr.Patterns
S2S17S18S19S20
S113S114S115S116S9
S10S29S30S31S32
S11S12S117S118S119
S120S121S122S123S124
S21S22S23S24S25
S26S27S28S37S38
S39S40S41S42S43
S44S57S58S59S60
S65S66S67S68

Table 7. Equidistribution classes after further merging.

Distribution of mesh pattern of length 1 on separable permutations

There are 24=162^4 = 16 mesh patterns of length 1. Under inverse, reverse, and complement, these patterns fall into six equidistribution classes, listed in Table 2. For each class, we determine the corresponding distribution. In addition, we compute the joint distribution of the patterns [mesh pattern] and [mesh pattern]. In Table 2, mesh patterns that are equidistributed by the reverse, complement, or inverse operations, are grouped together within the same frame.

In a separable permutation, occurrences of the patterns [mesh pattern], [mesh pattern], [mesh pattern], and [mesh pattern] correspond, respectively, to left-to-right maxima, left-to-right minima, right-to-left maxima, and right-to-left minima. Consequently, we can use Theorem 1 to obtain the following result, which establishes the distributions of the mesh patterns N1–N4.

Theorem 2. For p∈{p \in\{[mesh pattern], [mesh pattern], [mesh pattern], [mesh pattern]}\}, and G(x,t)G(x,t) given by (3), we have

∑n≥1xn∑π∈Sn(2413,3142)tp(π)=G(x,t).\sum_{n \ge1} x^n \sum_{\pi\in\mathfrak{S}_n(2413,3142)} t^{p(\pi)} = G(x,t).

The proof of the following theorem is immediate from the fact that each element in a permutation contributes an occurrence of the pattern N15.

Theorem 3. We have

∑n≥1xn∑π∈Sn(2413,3142)t⊕(π)=F(xt)=1−tx−1−6tx+t2x22.\sum_{n\ge1} x^n \sum_{\pi\in S_n(2413,3142)} t^{\oplus(\pi)} = F(xt) = \frac{1-tx-\sqrt{1-6tx+t^2x^2}}{2}.

Theorem 4 (Pattern N16). We have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)t■(π)=1+(2t−3)x−1−6x+x22.F(x,t):=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\blacksquare(\pi)}=\frac{1+(2t-3)x-\sqrt{1-6x+x^2}}{2}.

Proof. Clearly, the only separable permutation that contains the pattern ■\blacksquare is 1, so

F(x,t)=tx+F(x)−x.(4)F(x,t)=tx+F(x)-x. \tag*{(4)}

By substituting (1) into (4), we obtain the desired result.

Theorem 5 (Patterns N5–N8). For p∈{■,■,■,■}p\in\{\blacksquare,\blacksquare,\blacksquare,\blacksquare\}, we have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tp(π)=t(1−x−1−6x+x2)2.F(x,t):=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{p(\pi)}=\frac{t(1-x-\sqrt{1-6x+x^2})}{2}.

Proof. W.l.o.g., consider N5 = ■\blacksquare. It occurs exactly once, as the leftmost element, in any separable permutation, so F(x,t)=tF(x)F(x,t)=tF(x), and the result follows by (1).

Theorem 6 (Patterns N9–N12). For p∈{■,■,■,■}p\in\{\blacksquare,\blacksquare,\blacksquare,\blacksquare\}, we have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tp(π)=12(1−x−1−6x+x2−(t−1)x(x−3+1−6x+x2)).\begin{aligned} F(x,t)&:=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{p(\pi)}\\ &=\frac{1}{2}\left(1-x-\sqrt{1-6x+x^2}-(t-1)x\left(x-3+\sqrt{1-6x+x^2}\right)\right). \end{aligned}

Proof. W.l.o.g., consider the pattern N9 = ■\blacksquare. Only the element 1 occurring at the end of a permutation can be an occurrence of the pattern ■\blacksquare, and in this position, 1 cannot be part of an occurrence of the patterns 2413 or 3142. Hence, if A(x)A(x) denotes the g.f. for separable permutations that end with their smallest element, we have

F(x,t)=tA(x)+F(x)−A(x).(5)F(x,t)=tA(x)+F(x)-A(x). \tag*{(5)}

Moreover, any permutation counted by A(x)A(x) can be generated by taking any separable permutation or the empty permutation and adjoining the new smallest element to its right, so A(x)=x(F(x)+1)A(x)=x(F(x)+1). Together with (1) and (5), this gives the desired result.

Occurrences of the pattern N13\mathrm{N}_{13} are known as strict fixed points. The avoidance of this pattern on permutations was studied in [3], and its distribution in [14]. We extend the study of the distribution of strict fixed points to separable permutations. Since separable permutations are invariant under the reverse operation, the distribution of the pattern N13\mathrm{N}_{13} coincides with that of the pattern N14\mathrm{N}_{14}. Moreover, we obtain the joint distribution of the patterns N13\mathrm{N}_{13} and N14\mathrm{N}_{14}. The following theorem establishes the distributions of the mesh patterns N13\mathrm{N}_{13} and N14\mathrm{N}_{14}, as well as their joint distribution.

Theorem 7 (Patterns N13 and N14). We have N13∼jdN14\mathrm{N}_{13} \sim_{jd} \mathrm{N}_{14}. Moreover, if

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tN13(π)=∑n≥1xn∑π∈Sn(2413,3142)tN14(π)F(x,t):=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\mathrm{N}_{13}(\pi)} =\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\mathrm{N}_{14}(\pi)}

and

F(x,t1,t2):=∑n≥1xn∑π∈Sn(2413,3142)t1N13(π)t2N14(π),F(x,t_1,t_2):=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t_1^{\mathrm{N}_{13}(\pi)}t_2^{\mathrm{N}_{14}(\pi)},

then

F(x,t)=1+(4t−3)x−1+(x−6)x3+(3−4t)x+1+(x−6)x(6)F(x,t)=\frac{1+(4t-3)x-\sqrt{1+(x-6)x}}{3+(3-4t)x+\sqrt{1+(x-6)x}} \tag*{(6)}
F(x,t1,t2)=14(4t1t2x+(−1+(3−4t1)x+1−6x+x2)23+(3−4t1)x+1−6x+x2+(−1+(3−4t2)x+1−6x+x2)23+(3−4t2)x+1−6x+x2).(7)F(x,t_1,t_2)=\frac{1}{4}\left(4t_1t_2x+\frac{\left(-1+(3-4t_1)x+\sqrt{1-6x+x^2}\right)^2}{3+(3-4t_1)x+\sqrt{1-6x+x^2}}+\frac{\left(-1+(3-4t_2)x+\sqrt{1-6x+x^2}\right)^2}{3+(3-4t_2)x+\sqrt{1-6x+x^2}}\right). \tag*{(7)}

Proof. The joint equidistribution follows by applying the reverse operation that swaps occurrences of the patterns. Then we utilize the structure of a separable permutation π\pi of length nn shown in Figure 1 and consider two cases, depending on whether π\pi is reducible or not.

Case 1. In the reducible case (see Figure 3a), the block BB must be nonempty, and can be any separable permutation. Case 1 can be divided into two subcases: (a) A=εA=\varepsilon and B≠εB\ne\varepsilon. In this subcase, we obtain the term xt1F(x,t1)xt_1F(x,t_1), since the element nn contributes an occurrence of the pattern ▪◻ but not of ◻▪. Moreover, because of nn, no element in BB can be an occurrence of ◻▪, while nn cannot destroy any occurrence of the pattern ▪◻ in BB.

Figure 3. Related to the proof of Theorem 7.

(b) A≠εA\ne\varepsilon and B≠εB\ne\varepsilon. In this subcase, to be disjoint from (a), AA has at least one element to the right of nn, and by the structure shown in Figure 1, the minimum element mm of AA lies to the right of nn. Therefore, in this subcase we obtain the term

F(x)−x2F(x,t1).\frac{F(x)-x}{2}F(x,t_1).

Indeed,

  • BB contributes the term F(x,t1)F(x,t_1), since, because of nn, it cannot contribute any occurrences of the pattern ◻▪, and is otherwise independent of the rest of π\pi.

  • Since B≠εB\ne\varepsilon, the rest of π\pi cannot contribute any occurrences of ◻▪. Moreover, because of mm (resp., nn), no element to the left (resp., to the right) of nn, including nn itself, can contribute an occurrence of the pattern ▪◻. Therefore, AA together with nn, being an irreducible permutation of length at least 2, contributes the term F(x)−x2\frac{F(x)-x}{2} (by reversal symmetry, half of separable permutations are reducible and half are irreducible).

Case 2. In the irreducible case (see Figure 3b), the block BB is nonempty, except in the trivial case n=1n=1, and can be any separable permutation. We consider three subcases.

(a) A=B=εA=B=\varepsilon, then π=1\pi=1 giving the term t1t2xt_1t_2x.

(b) A=εA=\varepsilon and B≠εB\ne\varepsilon, which gives xt2F(x,t2)xt_2F(x,t_2) by reversing the permutations in Case 1(a).

(c) A≠εA\ne\varepsilon and B≠εB\ne\varepsilon, which gives F(x)−x2F(x,t2)\frac{F(x)-x}{2}F(x,t_2) by reversing the permutations in Case 1(b).

Combining the two cases above, we obtain

F(x,t1,t2)=xt1t2+xt1F(x,t1)+xt2F(x,t2)+F(x)−x2(F(x,t1)+F(x,t2)).(8)F(x,t_1,t_2)=xt_1t_2+xt_1F(x,t_1)+xt_2F(x,t_2)+\frac{F(x)-x}{2}\left(F(x,t_1)+F(x,t_2)\right). \tag*{(8)}

Letting t2=1t_2=1 in (8), we get

F(x,t1)=xt1+xt1F(x,t1)+xF(x)+F(x)−x2(F(x,t1)+F(x)).(9)F(x,t_1)=xt_1+xt_1F(x,t_1)+xF(x)+\frac{F(x)-x}{2}\left(F(x,t_1)+F(x)\right). \tag*{(9)}

Substituting (1) into (9), solving for F(x,t1)F(x,t_1), and then replacing t1t_1 by tt yields (6). Finally, substituting F(x,t1)F(x,t_1) and F(x,t2)F(x,t_2), both given by (6), into (8) yields (7).

Equidistribution of mesh patterns of length 2 with the same shading on separable permutations

There are n!⋅2(n+1)2n! \cdot2^{(n+1)^2} mesh patterns of length nn, and for n=2n=2 there are already 1024 distinct patterns, among which 29=5122^9 = 512 have distinct shadings. Computer experiments indicate that, on separable permutations, when the patterns 12 and 21 are regarded as mesh patterns with selectively shaded boxes, at most 124 equidistributed pairs can exist.

In this section, we employ symmetry operations and generating function methods to prove that the 124 pairs of mesh patterns presented in Table 3–Table 6 are equidistributed. These pairs are further classified into 38 distinct symmetry-induced classes according to the corresponding symmetry operations.

Nr.patternsNr.PatternsNr.PatternsNr.PatternsRef.
S113mesh pattern; mesh patternS114mesh pattern; mesh patternS115mesh pattern; mesh patternS116mesh pattern; mesh patternThm. 8
S117mesh pattern; mesh patternS118mesh pattern; mesh patternS119mesh pattern; mesh patternS120mesh pattern; mesh patternThm. 9
S121mesh pattern; mesh patternS122mesh pattern; mesh patternS123mesh pattern; mesh patternS124mesh pattern; mesh pattern

Table 6. Symmetry-induced equidistribution classes of mesh patterns proved via generating functions.

Symmetry operations

Out of the 124 equidistributed pairs obtained, 112 pairs can be naturally derived through (composition of) symmetry operations. The explicit correspondences and symmetry-induced groupings of these pairs are presented in Table 3–5.

For the patterns 12 and 21, both the reverse and the complement operations transform one into the other; that is, applying either operation maps 12 to 21, and vice versa. In all pairs of mesh patterns listed in Table 3–5, the shaded regions are symmetric with respect to the horizontal or vertical axis, corresponding to the complement and reverse operations, respectively. Consequently, for each of the 112 pairs of mesh patterns shown in these three tables, the two patterns within each pair are equidistributed under the action of the reverse or complement symmetry.

In Table 3, the single pair of mesh patterns is invariant under all three symmetries. In Table 4, each frame contains two such pairs that can be mapped to each other by one of the inverse, complement, or reverse operations. Similarly, in Table 5, each frame comprises four pairs of mesh patterns that can be mutually mapped and readily verified via these three symmetries or their compositions.

Nr.PatternsNr.PatternsRef.Nr.PatternsNr.PatternsRef.
S9mesh patternS10mesh patternThm. 12S11mesh patternS12mesh patternThm. 13
S13mesh patternS14mesh patternThm. 17S15mesh patternS16mesh pattern

Table 4. Symmetry-induced equidistribution classes of mesh patterns with two patterns per class, and references to their known enumeration.

Nr.PatternsNr.PatternsNr.PatternsNr.PatternsRef.
S17mesh patternS18mesh patternS19mesh patternS20mesh patternThm. 14
S21mesh patternS22mesh patternS23mesh patternS24mesh patternThm. 15
S25mesh patternS26mesh patternS27mesh patternS28mesh patternThm. 15
S29mesh patternS30mesh patternS31mesh patternS32mesh patternThm. 12
S33mesh patternS34mesh patternS35mesh patternS36mesh patternThm. 22
S37mesh patternS38mesh patternS39mesh patternS40mesh patternThm. 23
S41mesh patternS42mesh patternS43mesh patternS44mesh patternThm. 24
S45mesh patternS46mesh patternS47mesh patternS48mesh patternThm. 18
S49mesh patternS50mesh patternS51mesh patternS52mesh patternThm. 16
S53mesh patternS54mesh patternS55mesh patternS56mesh patternThm. 25
S57mesh patternS58mesh patternS59mesh patternS60mesh patternThm. 26
S61mesh patternS62mesh patternS63mesh patternS64mesh patternThm. 19
S65mesh patternS66mesh patternS67mesh patternS68mesh patternThm. 20
S69mesh patternS70mesh patternS71mesh patternS72mesh patternThm. 27

Table 5.

Nr.PatternsNr.PatternsNr.PatternsNr.PatternsRef.
S73mesh patternS74mesh patternS75mesh patternS76mesh patternThm. 28
S77mesh patternS78mesh patternS79mesh patternS80mesh patternThm. 29
S81mesh patternS82mesh patternS83mesh patternS84mesh pattern
S85mesh patternS86mesh patternS87mesh patternS88mesh pattern
S89mesh patternS90mesh patternS91mesh patternS92mesh pattern
S93mesh patternS94mesh patternS95mesh patternS96mesh pattern
S97mesh patternS98mesh patternS99mesh patternS100mesh pattern
S101mesh patternS102mesh patternS103mesh patternS104mesh pattern
S105mesh patternS106mesh patternS107mesh patternS108mesh pattern
S109mesh patternS110mesh patternS111mesh patternS112mesh pattern

Table 5 (PDF p. 13). Symmetry-induced equidistribution classes of mesh patterns, with four patterns per class, and references to their known enumeration.

The generating functions method

Unlike the other pairs of mesh patterns, the equidistribution of each pair in Table 6 cannot be established solely by symmetry arguments. Instead, we employ generating function techniques to provide a proof.

In Table 6, pairs of mesh patterns sharing the same equidistribution are grouped within the same frame. It suffices to prove equidistribution for only one pair of patterns in each frame; the remaining pairs are obtained by the inverse, reverse, and complement operations.

Theorem 8 (Pairs S113–S116). We have [mesh pattern] ∼jd\sim_{jd} [mesh pattern]. Moreover,

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)t[meshpattern](π)=∑n≥1xn∑π∈Sn(2413,3142)t[meshpattern](π)F(x,t) := \sum_{n\geq1} x^n \sum_{\pi\in S_n(2413,3142)} t^{[mesh pattern](\pi)} = \sum_{n\geq1} x^n \sum_{\pi\in S_n(2413,3142)} t^{[mesh pattern](\pi)}
=12(1−x−1−6x+x2+(t−1)x2(3−x−1−6x+x2)).(10)= \frac{1}{2}\left(1-x-\sqrt{1-6x+x^2}+(t-1)x^2\left(3-x-\sqrt{1-6x+x^2}\right)\right). \tag*{(10)}
F(x,t1,t2):=∑n≥1xn∑π∈Sn(2413,3142)t1occ⁡mesh 1(π)t2occ⁡mesh 2(π)=12(1−x−1−6x+x2+(t1+t2−2)x2(3−x−1−6x+x2)).\begin{aligned} F(x,t_1,t_2)&:=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t_1^{\operatorname{occ}_{\scriptscriptstyle\text{mesh }1}(\pi)}t_2^{\operatorname{occ}_{\scriptscriptstyle\text{mesh }2}(\pi)}\\ &=\frac{1}{2}\left(1-x-\sqrt{1-6x+x^2}+(t_1+t_2-2)x^2\left(3-x-\sqrt{1-6x+x^2}\right)\right). \end{aligned}

Proof. Clearly, if a separable permutation π=π1⋯πn\pi=\pi_1\cdots\pi_n has an occurrence of the pattern (resp., the other pattern), then π1π2=(n−1)n\pi_1\pi_2=(n-1)n (resp., π1π2=n(n−1)\pi_1\pi_2=n(n-1)) is the only occurrence of the pattern in π\pi, and π3⋯πn\pi_3\cdots\pi_n is any separable permutation in Sn−2S_{n-2}. Therefore, the map that swaps nn and n−1n-1 in all permutations of length nn establishes the joint equidistribution ∼jd\sim_{jd}.

Consider the pattern, and let A(x,t)A(x,t) be the g.f. for permutations with one occurrence of the pattern. Then, from the above, A(x,t)=tx2(F(x)+1)A(x,t)=tx^2(F(x)+1), and

F(x,t)=A(x,t)+(F(x)−A(x,1))=(t−1)x2(F(x)+1)+F(x).(11)F(x,t)=A(x,t)+(F(x)-A(x,1))=(t-1)x^2(F(x)+1)+F(x). \tag*{(11)}

Substituting (1) into (11) yields (10).

Finally, because both patterns cannot occur in the same permutation, we have

F(x,t1,t2)=A(x,t1)+A(x,t2)+(F(x)−2A(x,1))=(t1+t2−2)x2(F(x)+1)+F(x).(12)\begin{aligned} F(x,t_1,t_2)&=A(x,t_1)+A(x,t_2)+(F(x)-2A(x,1))\\ &=(t_1+t_2-2)x^2(F(x)+1)+F(x). \tag*{(12)} \end{aligned}

and the formula for F(x,t1,t2)F(x,t_1,t_2) is obtained by substituting (1) into (12).

Theorem 9 (Pairs S117–S124). We have ∼jd\sim_{jd}. Moreover,

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tocc⁡(π)=∑n≥1xn∑π∈Sn(2413,3142)tocc⁡(π)=14(tx2(x−3+1−6x+x2)2)\begin{aligned} F(x,t)&:=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\operatorname{occ}(\pi)} =\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\operatorname{occ}(\pi)}\\ &=\frac{1}{4}\left(tx^2\left(x-3+\sqrt{1-6x+x^2}\right)^2\right) \end{aligned}
−x2(x−3+1−6x+x2)2−2(x−1+1−6x+x2)(13)-x^2\left(x-3+\sqrt{1-6x+x^2}\right)^2-2\left(x-1+\sqrt{1-6x+x^2}\right) \tag*{(13)}
F(x,t1,t2):=∑n≥1xn∑π∈Sn(2413,3142)t1occ⁡1(π)t2occ⁡2(π)=F(x)+x2((t1+t2)(1−x)+(t1t2+1)x−2)(F(x)+1)2,(14)\begin{aligned} F(x,t_1,t_2)&:=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t_1^{\operatorname{occ}_1(\pi)}t_2^{\operatorname{occ}_2(\pi)}\\ &=F(x)+x^2\left((t_1+t_2)(1-x)+(t_1t_2+1)x-2\right)(F(x)+1)^2, \tag*{(14)} \end{aligned}

where F(x)F(x) is given by (1).

Proof. Clearly, if a separable permutation π\pi contains an occurrence of the pattern P1\mathsf{P}_1 (resp., P2\mathsf{P}_2), then for some element mm, we can write π=A1mB\pi=A1mB (resp., π=Am1B\pi=Am1B), where each element of AA, if any, is larger than mm and each element of BB, if any, is smaller than mm. Moreover, each mesh pattern can occur at most once in π\pi, and the reduced forms of AA and BB can be any separable permutations (π\pi is separable if and only if both AA and BB are separable). Therefore, if A(x,t)A(x,t) is the g.f. for permutations with exactly one occurrence of either pattern, then

F(x,t)=A(x,t)+(F(x)−A(x,1)),F(x,t)=A(x,t)+(F(x)-A(x,1)),

and

A(x,t)=tx2(F(x)+1)2,(15)A(x,t)=tx^2(F(x)+1)^2, \tag*{(15)}

from which, together with (1), we obtain (13) and P1∼dP2\mathsf{P}_1\sim_d\mathsf{P}_2.

To deal with the joint distribution, first observe that the only way both patterns can occur in the same permutation π\pi is if π=A(m+1)1mB\pi=A(m+1)1mB, where every element in AA, if any, is larger than m+1m+1, and every element in BB, if any, is smaller than mm. The g.f. for such permutations is clearly t1t2x3(F(x)+1)2t_1t_2x^3(F(x)+1)^2. Now, the g.f. for permutations containing P1\mathsf{P}_1 (resp., P2\mathsf{P}_2), but not P2\mathsf{P}_2 (resp., P1\mathsf{P}_1), is A(x,t1)−t1x3(F(x)+1)2A(x,t_1)-t_1x^3(F(x)+1)^2 (resp., A(x,t2)−t2x3(F(x)+1)2A(x,t_2)-t_2x^3(F(x)+1)^2). Moreover, the g.f. for separable permutations avoiding both patterns is

F(x)−(2A(x,1)−x3(F(x)+1)2).F(x)-(2A(x,1)-x^3(F(x)+1)^2).

Combining the four generating functions we have that F(x,t1,t2)F(x,t_1,t_2) is given by

A(x,t1)+A(x,t2)−(t1+t2)x3(F(x)+1)2+t1t2x3(F(x)+1)2+F(x)−(2A(x,1)−x3(F(x)+1)2),A(x,t_1)+A(x,t_2)-(t_1+t_2)x^3(F(x)+1)^2+t_1t_2x^3(F(x)+1)^2+F(x)-(2A(x,1)-x^3(F(x)+1)^2),

and formula (14) is obtained by applying (15). Since F(x,t1,t2)=F(x,t2,t1)F(x,t_1,t_2)=F(x,t_2,t_1), we have P1∼jdP2\mathsf{P}_1\sim_{jd}\mathsf{P}_2.

Distribution of mesh pattern of length 2 on separable permutations

In this section, we determine the distributions of 21 increasing (resp., decreasing) mesh patterns of length 2 on separable permutations. For the pairs of mesh patterns presented in Table 3–5, we select the first pair of patterns in each class (that is, within each frame) as the representative pair for determining the corresponding distribution, since the equidistribution of all pairs has already been established. In our analysis, we always choose the pattern 12 as the representative.

“Trivial” distributions

By a “trivial” distribution we mean the situation when either the pattern in question can occur at most once, or the pattern’s occurrences can be easily inferred from the shape of the pattern. There are nine classes of pairs of such patterns:

S1 = [mesh pattern]; S2 = [mesh pattern]; S9 = [mesh pattern]; S11 = [mesh pattern];

S17 = [mesh pattern]; S21 = [mesh pattern]; S25 = [mesh pattern]; S29 = [mesh pattern];

S49 = [mesh pattern].

Theorem 10 (Pair S1). We have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tocc⁡S1(π)=∑n≥1xn∑π∈Sn(2413,3142)tocc⁡S1(π)=12(1−x+2(t−1)x2−1−6x+x2).(16)F(x,t):=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\operatorname{occ}_{\mathrm{S1}}(\pi)} =\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\operatorname{occ}_{\mathrm{S1}}(\pi)} =\frac{1}{2}\left(1-x+2(t-1)x^2-\sqrt{1-6x+x^2}\right). \tag*{(16)}
F(x,t1,t2):=∑n≥1xn∑π∈Sn(2413,3142)t1occ⁡S1(π)t2occ⁡S1(π)=(t1+t2−2)x2+1−x−1−6x+x22.F(x,t_1,t_2):=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t_1^{\operatorname{occ}_{\mathrm{S1}}(\pi)}t_2^{\operatorname{occ}_{\mathrm{S1}}(\pi)} =(t_1+t_2-2)x^2+\frac{1-x-\sqrt{1-6x+x^2}}{2}.

Proof. The only separable permutation that contains the pattern [mesh pattern] is 12. Hence,

F(x,t)=tx2+F(x)−x2.(17)F(x,t)=tx^2+F(x)-x^2. \tag*{(17)}

By substituting (1) into (17), we obtain (16). Also, it is clear that

F(x,t1,t2)=t1x2+t2x2+F(x)−2x2,F(x,t_1,t_2)=t_1x^2+t_2x^2+F(x)-2x^2,

which, together with (1), leads to the desired result.

Theorem 11 (Pair S2). Theorem 8 also holds for the mesh patterns [mesh pattern] and [mesh pattern].

Proof. The pattern [mesh pattern] can occur at most once in any permutation π=π1⋯πn\pi=\pi_1\cdots\pi_n. In this case, we must have π1=1\pi_1=1 and πn=n\pi_n=n and red⁡(π2⋯πn−1)\operatorname{red}(\pi_2\cdots\pi_{n-1}) can be any separable permutation of length n−2n-2. If A(x,t)A(x,t) is the g.f. of separable permutations with one occurrence of the pattern, then all formulas and functional relations in the proof of Theorem 8 are exactly the same, leading to the desired result.

The following lemma is an immediate corollary of the fact that separable permutations are closed under reversal and under the complement.

Lemma 2. For every n≥2n\ge2, exactly half of the separable permutations of length nn have their first element larger than their last element. Likewise, exactly half begin with an ascent, and half begin with a descent.

Theorem 12 (Pairs S9, S10, S29–S32). We have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)t[mesh pattern](π)=∑n≥1xn∑π∈Sn(2413,3142)t[mesh pattern](π)=∑n≥1xn∑π∈Sn(2413,3142)t[mesh pattern](π)=x+14(1+t)(1−3x−1−6x+x2).(18)\begin{aligned} F(x,t)&:=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{[mesh\ pattern](\pi)}\\ &=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{[mesh\ pattern](\pi)}\\ &=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{[mesh\ pattern](\pi)}\\ &=x+\frac{1}{4}(1+t)\left(1-3x-\sqrt{1-6x+x^2}\right). \tag*{(18)} \end{aligned}
F(x,t1,t2):=∑n≥1xn∑π∈Sn(2413,3142)t1[mesh pattern](π)t2[mesh pattern](π)=∑n≥1xn∑π∈Sn(2413,3142)t1[mesh pattern](π)t2[mesh pattern](π)=x+14(t1+t2)(1−3x−1−6x+x2).\begin{aligned} F(x,t_1,t_2)&:=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t_1^{[mesh\ pattern](\pi)}t_2^{[mesh\ pattern](\pi)}\\ &=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t_1^{[mesh\ pattern](\pi)}t_2^{[mesh\ pattern](\pi)}\\ &=x+\frac{1}{4}(t_1+t_2)\left(1-3x-\sqrt{1-6x+x^2}\right). \end{aligned}

Proof. The pattern [mesh pattern] can occur at most once in a permutation, in which case the first element is smaller than the last one. If A(x,t)A(x,t) denotes the generating function for separable permutations of length at least 2 with exactly one occurrence of the pattern, then, by Lemma 2, we have

A(x,t)=tF(x)−x2.(19)A(x,t)=t\frac{F(x)-x}{2}. \tag*{(19)}

Substituting (19) into (11) (which also holds for the pattern [mesh pattern]), we obtain

F(x,t)=(t+1)(F(x)−x)2+x.(20)F(x,t)=\frac{(t+1)(F(x)-x)}{2}+x. \tag*{(20)}

Furthermore, substituting (1) into (20) yields (18). The formula for the joint distribution follows from the easy to see equation F(x,t1,t2)=x+A(x,t1)+A(x,t2)F(x,t_1,t_2)=x+A(x,t_1)+A(x,t_2).

Finally, the arguments for the pattern [mesh pattern] are essentially identical, with the only difference being that an occurrence of this pattern must be formed by the leftmost two elements, which form an ascent.

Interestingly, although the distribution of the mesh pattern [mesh pattern] in the next theorem is the same as that of the mesh pattern [mesh pattern], the joint distributions of these patterns within their respective pairs are different. This is because, in one case, both patterns in the pair can occur in the same permutation, whereas in the other case this is not possible.

Theorem 13 (Pairs S11 and S12). We have [mesh pattern] ∼jd\sim_{jd} [mesh pattern]. Moreover,

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)t[meshpattern](π)=∑n≥1xn∑π∈Sn(2413,3142)t[meshpattern](π)=14(tx2(x−3+1−6x+x2)2−x2(x−3+1−6x+x2)2−2(x−1+1−6x+x2));(21)\begin{aligned} F(x,t)&:=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{[mesh pattern](\pi)} =\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{[mesh pattern](\pi)}\\ &=\frac{1}{4}\left(tx^2\left(x-3+\sqrt{1-6x+x^2}\right)^2-x^2\left(x-3+\sqrt{1-6x+x^2}\right)^2-2\left(x-1+\sqrt{1-6x+x^2}\right)\right); \tag*{(21)} \end{aligned}
F(x,t1,t2):=∑n≥1xn∑π∈Sn(2413,3142)t1[meshpattern](π)t2[meshpattern](π)=(t1+t2−2)x2(F(x)+1)2+F(x),(22)F(x,t_1,t_2):=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t_1^{[mesh pattern](\pi)}t_2^{[mesh pattern](\pi)} =(t_1+t_2-2)x^2(F(x)+1)^2+F(x), \tag*{(22)}

where F(x)F(x) is given by (1).

Proof. An occurrence of the pattern [mesh pattern] in a permutation π=π1⋯πn\pi=\pi_1\cdots\pi_n can only be formed by the smallest and largest elements. In this case, π=A1nB\pi=A1nB, where every element in AA, if any, is smaller than every element in BB, if any, in order to avoid the pattern 3142. There cannot be more than one occurrence of the pattern. If A(x,t)A(x,t) is the g.f. for the number of separable permutations with one occurrence of the pattern, then clearly A(x,t)A(x,t) satisfies (15) (there are F(x)+1F(x)+1 ways to generate AA, and independently the same number of ways to generate BB). Then, (21) can be obtained using the same arguments as those in the proof of Theorem 9.

To complete the proof, we observe that

F(x,t1,t2)=A(x,t1)+A(x,t2)+(F(x)−2A(x,1))=(t1+t2−2)x2(F(x)+1)2+F(x).F(x,t_1,t_2)=A(x,t_1)+A(x,t_2)+(F(x)-2A(x,1))=(t_1+t_2-2)x^2(F(x)+1)^2+F(x).

Theorem 14 (Pairs S17–S20). The formulas in Theorem 8 also hold for pairs S17–S20.

Proof. It is sufficient to consider the pair S17. The pattern S17\mathsf{S}_{17} can occur at most once in any permutation π=π1⋯πn\pi=\pi_1\cdots\pi_n. In this case, we must have π1=n−1\pi_1=n-1 and πn=n\pi_n=n and red⁡(π2⋯πn−1)\operatorname{red}(\pi_2\cdots\pi_{n-1}) can be any separable permutation of length n−2n-2. If A(x,t)A(x,t) is the g.f. of separable permutations with one occurrence of the pattern, then all formulas and functional relations in the proof of Theorem 8 are exactly the same, giving the desired result.

Theorem 15 (Pairs S21–S28). We have

F(x,t)=∑n≥1xn∑π∈Sn(2413,3142)tS21(π)=∑n≥1xn∑π∈Sn(2413,3142)tS22(π)=∑n≥1xn∑π∈Sn(2413,3142)tS27(π)=∑n≥1xn∑π∈Sn(2413,3142)tS28(π)=12(1+(t−1)x)(1−x−1−6x+x2).(23)\begin{aligned} F(x,t) &=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\mathsf{S}_{21}(\pi)} =\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\mathsf{S}_{22}(\pi)}\\ &=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\mathsf{S}_{27}(\pi)} =\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\mathsf{S}_{28}(\pi)}\\ &=\frac{1}{2}(1+(t-1)x)\left(1-x-\sqrt{1-6x+x^2}\right). \tag*{(23)} \end{aligned}
F(x,t1,t2):=∑n≥1xn∑π∈Sn(2413,3142)t1S21(π)t2S22(π)=∑n≥1xn∑π∈Sn(2413,3142)t1S27(π)t2S28(π)=12(1+(t1+t2−2)x)(1−x−1−6x+x2).\begin{aligned} F(x,t_1,t_2) &:=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)} t_1^{\mathsf{S}_{21}(\pi)}t_2^{\mathsf{S}_{22}(\pi)}\\ &=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)} t_1^{\mathsf{S}_{27}(\pi)}t_2^{\mathsf{S}_{28}(\pi)}\\ &=\frac{1}{2}(1+(t_1+t_2-2)x)\left(1-x-\sqrt{1-6x+x^2}\right). \end{aligned}

Proof. If the mesh pattern S21\mathsf{S}_{21} occurs in a permutation π\pi, then the occurrence must be unique and formed by the elements 1 and 2 placed consequently in increasing order. Let π′\pi' be the permutation obtained from π\pi by removing the element 2 and decreasing each element larger than 1 by 1. Clearly, π\pi is separable if and only if π′\pi' is separable. Hence, if the g.f. for the number of separable permutations with one occurrence of the pattern is A(x,t)A(x,t), then

A(x,t)=txF(x),(24)A(x,t)=txF(x), \tag*{(24)}

where F(x)F(x) counts the choices for π′\pi' and xx corresponds to the element 2. Substituting (24) into (11) (which also holds for the pattern S22\mathsf{S}_{22}), we obtain

F(x,t)=(t−1)xF(x)+F(x).(25)F(x,t)=(t-1)xF(x)+F(x). \tag*{(25)}

Furthermore, substituting (1) into (25) yields (23). Finally, the formula for the joint distribution follows from

F(x,t1,t2)=A(x,t1)+A(x,t2)+(F(x)−2A(x,1)).F(x,t_1,t_2)=A(x,t_1)+A(x,t_2)+(F(x)-2A(x,1)).

On the other hand, if the mesh pattern occurs in a permutation π=π1⋯πn\pi= \pi_1 \cdots\pi_n, n≥2n \ge2, then the occurrence must be unique and formed by the elements π1=1\pi_1 = 1 and πn\pi_n. Let π′′\pi'' be the permutation obtained from π\pi by removing the element 11 and decreasing every other element by 11. Clearly, π\pi is separable if and only if π′′\pi'' is separable. Hence, the g.f. for the number of separable permutations with one occurrence of the pattern is exactly A(x,t)A(x,t) satisfying (24), and all other formulas derived by us for the pattern remain exactly the same, completing our proof.

Theorem 16 (Pairs S49–S52). We have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tpattern(π)=∑n≥1xn∑π∈Sn(2413,3142)tpattern(π)=12(t(1+x2−1−6x+x2−x(4−1−6x+x2))+x(3−x−1−6x+x2)).(26)\begin{aligned} F(x,t) &:= \sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\text{pattern}(\pi)} =\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\text{pattern}(\pi)}\\ &=\frac{1}{2}\left(t\left(1+x^2-\sqrt{1-6x+x^2}-x\left(4-\sqrt{1-6x+x^2}\right)\right)\right.\\ &\qquad\left.+x\left(3-x-\sqrt{1-6x+x^2}\right)\right). \tag*{(26)} \end{aligned}
F(x,t1,t2):=∑n≥1xn∑π∈Sn(2413,3142)t1pattern1(π)t2pattern2(π)=(1−t1t2)x+12((t1+t2)x+t1t2(1−2x))(1−x−1−6x+x2).F(x,t_1,t_2):=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t_1^{\text{pattern}_1(\pi)}t_2^{\text{pattern}_2(\pi)} =(1-t_1t_2)x+\frac{1}{2}\left((t_1+t_2)x+t_1t_2(1-2x)\right)\left(1-x-\sqrt{1-6x+x^2}\right).

Proof. By inspecting the pattern, we observe that the smallest element 11, together with its adjacent element to the right (if it exists), forms a pattern, as illustrated in Figure 4a. Therefore, a permutation avoids this pattern if and only if it ends with the smallest element 11, as shown in Figure 4b, and we denote its g.f. by C(x)C(x). Consequently, the g.f. F(x,t)F(x,t) can be expressed as follows:

Figure 4. Related to the proof of Theorem 16.

F(x,t)=C(x)+t(F(x)−C(x)),(27)F(x,t)=C(x)+t(F(x)-C(x)), \tag*{(27)}

since the pattern [mesh pattern] can occur at most once in a permutation.

Since the block CC may be empty, the g.f. C(x)C(x) for the separable permutations avoiding this pattern is given by:

C(x)=x(F(x)+1).(28)C(x) = x(F(x) + 1). \tag*{(28)}

Substituting (28) into (27), we obtain

F(x,t)=F(x)(x+t(1−x))+x(1−t).(29)F(x,t) = F(x)\left(x+t(1-x)\right)+x(1-t). \tag*{(29)}

Furthermore, substituting (1) into (29) yields (26).

To derive the joint distribution of the patterns, we observe that any permutation is either 11, or of the form 1B1B with BB nonempty, or of the form A1A1 with AA nonempty, or of the form A1BA1B with both AA and BB nonempty. The corresponding generating functions for these cases are xx, t1xF(x)t_1xF(x), t2xF(x)t_2xF(x), and t1t2(F(x)−2xF(x)−x)t_1t_2(F(x)-2xF(x)-x), respectively, which leads to the desired result.

Distributions via functional equations

In this section, we investigate four classes of pairs of mesh patterns whose occurrences in separable permutations may appear more than once, making their distributions considerably more intricate. To determine their distributions, we establish the corresponding functional equations by analyzing all admissible configurations. The pairs are as follows:

S13=[mesh pattern]; S45=[mesh pattern]; S61=[mesh pattern]; S65=[mesh pattern].S13 = [\text{mesh pattern}];\ S45 = [\text{mesh pattern}];\ S61 = [\text{mesh pattern}];\ S65 = [\text{mesh pattern}].

Theorem 17 (Pairs S13 and S14). Let

F(x,t)=∑n≥1xn∑π∈Sn(2413,3142)tocc⁡S13(π)=∑n≥1xn∑π∈Sn(2413,3142)tocc⁡S14(π).F(x,t)=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\operatorname{occ}_{S13}(\pi)} =\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\operatorname{occ}_{S14}(\pi)}.

Then, F(x,t)F(x,t) satisfies

tF3(x,t)+txF2(x,t)+((1+t)x−1)F(x,t)+x=0.tF^3(x,t)+txF^2(x,t)+((1+t)x-1)F(x,t)+x=0.

Proof. Occurrences of the pattern [mesh pattern] are precisely the occurrences of ascents, so the result follows from Lemma 1, proved in [8].

Theorem 18 (Pairs S45–48). We have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tocc⁡S45(π)=∑n≥1xn∑π∈Sn(2413,3142)tocc⁡S48(π)F(x,t):=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\operatorname{occ}_{S45}(\pi)} =\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\operatorname{occ}_{S48}(\pi)}
=2((4(t−1)−1)x3+1−6x+x2+x(f1(x,t))+x2(f2(x)))(x−3−1−6x+x2)(3+(3−4t)x+1−6x+x2)(30)= \frac{2\left((4(t-1)-1)x^3+\sqrt{1-6x+x^2}+x\left(f_1(x,t)\right)+x^2\left(f_2(x)\right)\right)}{\left(x-3-\sqrt{1-6x+x^2}\right)\left(3+(3-4t)x+\sqrt{1-6x+x^2}\right)} \tag*{(30)}

where

f1(x,t)=−6+1−6x+x2+2t(1−1−6x+x2)f_1(x,t)=-6+\sqrt{1-6x+x^2}+2t\left(1-\sqrt{1-6x+x^2}\right),

f2(x,t)=11−41−6x+x2−2t(5−21−6x+x2)f_2(x,t)=11-4\sqrt{1-6x+x^2}-2t\left(5-2\sqrt{1-6x+x^2}\right).

Proof. An occurrence of the pattern must involve the element 1, and another element mm to its right. Moreover, to avoid the pattern 3142, all elements to the left of 1 must be smaller than those to the right of mm, as illustrated in Figure 5. Now, the element mm is an occurrence of the pattern in the permutation CmBCmB. Hence, the number of occurrences of the pattern in the permutation A1CmBA1CmB is the same as that of the pattern in CmBCmB. Let S(x,t)S(x,t) denote the g.f. in (6). If A(x,t)A(x,t) is the g.f. of separable permutations with at least one occurrence of the pattern, then

Figure 5. Related to the proof of Theorem 18.

A(x,t)=x(S(x,t)−S(x,0))(F(x)+1),(31)A(x,t)=x(S(x,t)-S(x,0))(F(x)+1), \tag*{(31)}

where xx corresponds to the element 1, and F(x)+1F(x)+1 corresponds to the possibly empty block AA; note that S(x,t)−S(x,0)S(x,t)-S(x,0) is the distribution with at least one occurrence of the pattern.

Adding the contributions from permutations with and without an occurrence, we obtain

F(x,t)=x(S(x,t)−S(x,0))(F(x)+1)+(F(x)−x(S(x,1)−S(x,0))(F(x)+1))=F(x)+x(S(x,t)−S(x,1))(F(x)+1).(32)\begin{aligned} F(x,t)&=x(S(x,t)-S(x,0))(F(x)+1)+(F(x)-x(S(x,1)-S(x,0))(F(x)+1))\\ &=F(x)+x(S(x,t)-S(x,1))(F(x)+1). \tag*{(32)} \end{aligned}

Finally, substituting (1) and (6) into (32) yields (30).

Theorem 19 (Pairs S61–S64). We have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tocc⁡(π)=∑n≥1xn∑π∈Sn(2413,3142)tocc⁡(π)F(x,t):=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\operatorname{occ}(\pi)} =\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\operatorname{occ}(\pi)}
=x(x−3+1−6x+x2)(tx−3+1−6tx+t2x2)tx2−3−1−6x+x2−1−6tx+t2x2+f1(x,t)−xf2(x,t)(33)= \frac{x\left(x-3+\sqrt{1-6x+x^{2}}\right)\left(tx-3+\sqrt{1-6tx+t^{2}x^{2}}\right)}{tx^{2}-3-\sqrt{1-6x+x^{2}}-\sqrt{1-6tx+t^{2}x^{2}}+f_{1}(x,t)-xf_{2}(x,t)} \tag*{(33)}

where

f1(x,t)=1−6x+x21−6tx+t2x2,f_{1}(x,t)=\sqrt{1-6x+x^{2}}\sqrt{1-6tx+t^{2}x^{2}},
f2(x,t)=1−1−6tx+t2x2+t(1−1−6x+x2).f_{2}(x,t)=1-\sqrt{1-6tx+t^{2}x^{2}}+t\left(1-\sqrt{1-6x+x^{2}}\right).

Proof. In a permutation π=π1⋯πn\pi=\pi_{1}\cdots\pi_{n}, the element nn, together with each element to its left, forms an occurrence of the pattern [mesh pattern]. For n≥2n\ge2, separable permutations can be divided into two cases according to the position of the second largest element n−1n-1, as illustrated in Figure 6. Specifically, the block AA in Figure 6a and the block BB in Figure 6b must be nonempty (each containing at least the element $n-1). We denote by f1(x,t)f_{1}(x,t) and f2(x,t)f_{2}(x,t) the generating functions corresponding to the structures illustrated in Figure 6a and Figure 6b, respectively.

Figure 6. Related to the proof of Theorem 19.

In the situation of Figure 6a, there are three cases to consider.

(a) The blocks BB, CC, and DD are empty, while AA is nonempty. In this case, since any element in the block AA, together with the element nn, contributes an occurrence of the pattern [mesh pattern], the block AA can be represented by F(xt)F(xt), while the element nn contributes the term xx. Thus, we obtain the term

xF(xt).xF(xt).

(b) The blocks CC and DD are empty, while AA and BB is nonempty. Similar to case (a), the block AA can be represented by F(xt)F(xt), while the element nn contributes the term xx. Clearly, the elements in the block BB are independent of this pattern, and hence BB is represented by F(x)F(x). Hence, in this case, we have the term

xF(xt)F(x).xF(xt)F(x).

(c) The blocks AA and BB are nonempty, while among the blocks CC and DD, at least CC is nonempty. In this case, after removing AA and BB, the element nn together with all the remaining elements in π\pi, still is a separable permutation in which the second largest element n−1n-1 lies to the left of nn; hence, it has the g.f. f1(x,t)f_1(x,t). Similar to the previous cases, the block AA contributes the term F(xt)F(xt), while the block BB contributes the term F(x)F(x). Therefore, this case gives the term

F(xt)F(x)f1(x,t).F(xt)F(x)f_1(x,t).

Combining cases (a)–(c), we have

f1(x,t)=xF(xt)+xF(xt)F(x)+F(xt)F(x)f1(x,t).(34)f_1(x,t)=xF(xt)+xF(xt)F(x)+F(xt)F(x)f_1(x,t). \tag*{(34)}

When the element n−1n-1 is to the right of the largest element nn, as shown in Figure 6b, similar to the analysis of f1(x,t)f_1(x,t), we obtain

f2(x,t)=xF(x)+xF(xt)F(x)+F(xt)F(x)f2(x,t).(35)f_2(x,t)=xF(x)+xF(xt)F(x)+F(xt)F(x)f_2(x,t). \tag*{(35)}

It is clear that F(x,t)F(x,t) can be expressed as follows:

F(x,t)=x+f1(x,t)+f2(x,t),(36)F(x,t)=x+f_1(x,t)+f_2(x,t), \tag*{(36)}

where the permutation 1 contributes the term xx.

Substituting (34) and (35) into (36), we obtain

F(x,t)=x+xF(xt)+xF(x)+2xF(xt)F(x)+F(xt)F(x)(f1(x,t)+f2(x,t))=x+xF(xt)+xF(x)+2xF(xt)F(x)+F(xt)F(x)(F(x,t)−x)=x+xF(xt)+xF(x)+xF(xt)F(x)+F(xt)F(x)F(x,t).(37)\begin{aligned} F(x,t)&=x+xF(xt)+xF(x)+2xF(xt)F(x)+F(xt)F(x)\left(f_1(x,t)+f_2(x,t)\right)\\ &=x+xF(xt)+xF(x)+2xF(xt)F(x)+F(xt)F(x)\left(F(x,t)-x\right)\\ &=x+xF(xt)+xF(x)+xF(xt)F(x)+F(xt)F(x)F(x,t). \tag*{(37)} \end{aligned}

Solving this equation for F(x,t)F(x,t) and substituting (1) yields (33).

Theorem 20 (Pairs S65–S68). We have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tS⁡65–68(π)=∑n≥1xn∑π∈Sn(2413,3142)tS⁡65–68(π)=3−x−4tx+1−6x+x2−4f(x,t)2t(1+x−1−6x+x2).(38)\begin{aligned} F(x,t)&:=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\operatorname{S}_{65\text{--}68}(\pi)} =\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\operatorname{S}_{65\text{--}68}(\pi)}\\ &=\frac{3-x-4tx+\sqrt{1-6x+x^2}-4f(x,t)} {2t\left(1+x-\sqrt{1-6x+x^2}\right)}. \tag*{(38)} \end{aligned}

where

f(x,t)=−1−x+1−6x+x2+116(−5+(4t−1)x+1−6x+x2)2.f(x,t)=\sqrt{-1-x+\sqrt{1-6x+x^2}+\frac{1}{16}\left(-5+(4t-1)x+\sqrt{1-6x+x^2}\right)^2}.

Proof. Let abab be an occurrence of the pattern !mesh pattern, so that all elements to the right of bb and all elements to the left of aa are larger than bb. Therefore, bb is a right-to-left minimum, and aa is the leftmost element smaller than bb among those to its left. In other words, in a separable permutation, each right-to-left minimum together with the leftmost element smaller than it, if such element exists, contributes one occurrence of the pattern !mesh pattern. For every right-to-left minimum b≠1b \ne1, there exists a unique smaller element aa to its left such that abab forms an occurrence of the pattern !mesh pattern. Consequently, in each separable permutation, the number of occurrences of the pattern !mesh pattern corresponds to the number of right-to-left minima minus one.

According to Theorem 1, the distribution of right-to-left minimum on separable permutations is given by the function G(x,t)G(x,t) in (3). Therefore, we have

F(x,t)=∑n≥1xn∑π∈Sn(2413,3142)trmin⁡(π)−1=G(x,t)t.(39)F(x,t)=\sum_{n\geq1}x^n\sum_{\pi\in\mathfrak{S}_n(2413,3142)}t^{\operatorname{rmin}(\pi)-1}=\frac{G(x,t)}{t}. \tag*{(39)}

By substituting (3) into (39), we obtain (38).

Distributions via reducible and irreducible decomposition

For separable permutations of length n≥2n\geq2, each permutation is either reducible or irreducible, as illustrated in Figure 7, where all four blocks A1A_1, A2A_2, B1B_1, and B2B_2 are nonempty. In the reducible case (see Figure 7a), the block A1A_1 is irreducible (possibly, of length 1), and A2A_2 can be any separable permutation. In the irreducible case (see Figure 7b), the block B1B_1 is either reducible or has a single (largest) element, while B2B_2 can be any separable permutations. In the proofs of the theorems below, we let I(x,t)I(x,t) and R(x,t)R(x,t) denote, respectively, the generating functions for irreducible and reducible separable permutations, where the variable tt records occurrences of the pattern in question.

(a) Reducible permutation

(b) Irreducible permutation

Figure 7. Structural decomposition of separable permutations of length n≥2n\geq2.

In this section, we investigate the distributions of eight classes of pairs of mesh patterns whose distributions are difficult to derive through a direct configuration analysis as in the previous section. Instead, by fully exploiting the structural decomposition of separable permutations, we obtain functional equations that give their distributions. The pairs are as follows:

S5=[mesh pattern]; S33=[mesh pattern]; S37=[mesh pattern]; S41=[mesh pattern];S5 = \text{[mesh pattern]};\ S33 = \text{[mesh pattern]};\ S37 = \text{[mesh pattern]};\ S41 = \text{[mesh pattern]};

S53=[mesh pattern]; S57=[mesh pattern]; S69=[mesh pattern]; S73=[mesh pattern];S53 = \text{[mesh pattern]};\ S57 = \text{[mesh pattern]};\ S69 = \text{[mesh pattern]};\ S73 = \text{[mesh pattern]};

S77=[mesh pattern].S77 = \text{[mesh pattern]}.

Theorem 21 (Pair S5). We have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)t[mesh pattern](π)=∑n≥1xn∑π∈Sn(2413,3142)t[mesh pattern](π)F(x,t) := \sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\text{[mesh pattern]}(\pi)} =\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\text{[mesh pattern]}(\pi)}
=tx−1+(tx−1)2−4x(1+x−tx)2(−1−x+tx).(40)=\frac{tx-1+\sqrt{(tx-1)^2-4x(1+x-tx)}}{2(-1-x+tx)}. \tag*{(40)}

Proof. Each ascent a(a+1)a(a+1) formed by consecutive elements contributes exactly one occurrence of the pattern [mesh pattern]\text{[mesh pattern]}.

In the irreducible case (see Figure 7b), the pattern [mesh pattern]\text{[mesh pattern]} cannot occur across blocks B1B_1 and B2B_2. Moreover, any occurrence of the pattern inside B1B_1 or B2B_2 is an occurrence of the pattern in the entire permutation. Consequently, I(x,t)I(x,t) can be expressed as

I(x,t)=x+(x+R(x,t))F(x,t),(41)I(x,t)=x+(x+R(x,t))F(x,t), \tag*{(41)}

where xx corresponds to the permutation 11, F(x,t)F(x,t) corresponds to the block B2B_2, and the factor x+R(x,t)x+R(x,t) represents the g.f. for the block B1B_1.

In the reducible case (see Figure 7a), the shadings of the pattern [mesh pattern]\text{[mesh pattern]} ensure that any occurrence of the pattern within either block A1A_1 or A2A_2 is also an occurrence of the pattern in the entire permutation. In addition, if A1A_1 has a single element and A2A_2 ends with the largest element, then an extra occurrence of the pattern arises. If g(x,t)g(x,t) denotes the distribution of [mesh pattern]\text{[mesh pattern]} on separable permutations ending with the largest element, then in the reducible case we have

R(x,t)=(I(x,t)−x)F(x,t)+xtg(x,t)+x(F(x,t)−g(x,t))(42)R(x,t)=(I(x,t)-x)F(x,t)+xtg(x,t)+x(F(x,t)-g(x,t)) \tag*{(42)}

where I(x,t)−xI(x,t)-x records irreducible permutations of length at least 2, and F(x,t)−g(x,t)F(x,t)-g(x,t) is the distribution of the pattern on separable permutations not ending with the largest element. Now, we have

g(x,t)=x+xtg(x,t)+x(F(x,t)−g(x,t)),g(x,t)=x+xtg(x,t)+x(F(x,t)-g(x,t)),

where the terms correspond, respectively, to the permutation 1, the separable permutations of length n≥2n \ge2 ending with (n−1)n(n-1)n, and the separable permutations of length n≥2n \ge2 ending with anan for a≠n−1a \ne n-1. Therefore,

g(x,t)=x(F(x,t)+1)1+x(1−t).(43)g(x,t)=\frac{x\left(F(x,t)+1\right)}{1+x(1-t)}. \tag*{(43)}

Finally, using (41) and (42), we have

F(x,t)=I(x,t)+R(x,t)=F(x,t)(I(x,t)+R(x,t))+xF(x,t)+xtg(x,t)−xg(x,t)+x=F(x,t)(F(x,t)+x)+x(t−1)g(x,t)+x.(44)\begin{aligned} F(x,t)&=I(x,t)+R(x,t)\\ &=F(x,t)\left(I(x,t)+R(x,t)\right)+xF(x,t)+xtg(x,t)-xg(x,t)+x\\ &=F(x,t)\left(F(x,t)+x\right)+x(t-1)g(x,t)+x. \tag*{(44)} \end{aligned}

By substituting (43) into (44) and solving for F(x,t)F(x,t), we obtain (40).

Theorem 22 (Pairs S33–S36). We have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tocc⁡(π)=2x(1+(t−1)x)1−x−2(t−1)x2+1−6x+x2.(45)\begin{aligned} F(x,t)&:=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\operatorname{occ}(\pi)}\\ &=\frac{2x\left(1+(t-1)x\right)}{1-x-2(t-1)x^2+\sqrt{1-6x+x^2}}. \tag*{(45)} \end{aligned}

Proof. In the irreducible case (see Figure 7b), the shading of the lower-right corner of the pattern prevents this pattern from occurring in B1B_1. On the other hand, any occurrence of the pattern in B2B_2 is clearly an occurrence in the entire permutation, and the pattern cannot occur across B1B_1 and B2B_2. Therefore, also considering the permutation 1, we have

I(x,t)=x+F(x,t)F(x)+x2.(46)I(x,t)=x+F(x,t)\frac{F(x)+x}{2}. \tag*{(46)}

Here, the factor F(x,t)F(x,t) corresponds to the block B2B_2, while the factor F(x)+x2\frac{F(x)+x}{2} represents the generating function for reducible separable permutations corresponding to the block B1B_1, bearing in mind that B1B_1 may have length 1.

In the reducible case (see Figure 7a), the shading of the lower-left corner of the pattern prevents this pattern from occurring in A1A_1. On the other hand, any occurrence of the pattern in A2A_2 is clearly an occurrence in the entire permutation. Additional occurrences of the pattern can only arise in the situation when A2A_2 begins with its largest element aa, and A1A_1 is of length 1 (that is, A1=a+1A_1=a+1 and a(a+1)a(a+1) is an occurrence of the pattern). Since the g.f. for A2A_2 beginning (resp., not beginning) with the largest element is given by x(F(x,t)+1)x(F(x,t)+1) (resp., F(x,t)−x(F(x,t)+1)F(x,t)-x(F(x,t)+1)), and the g.f. for irreducible separable permutations of length at least 2 is F(x)+x2−x\frac{F(x)+x}{2}-x, we have

R(x,t)=F(x,t)F(x)−x2+tx2(F(x,t)+1)+x(F(x,t)−x(F(x,t)+1)),(47)R(x,t)=F(x,t)\frac{F(x)-x}{2}+tx^2(F(x,t)+1)+x\left(F(x,t)-x(F(x,t)+1)\right), \tag*{(47)}

where the first term corresponds to the case of the irreducible A1A_1 being of length at least 2. Now using (46) and (47), we obtain

F(x,t)=I(x,t)+R(x,t)=(F(x)+x)F(x,t)+(t−1)x2(F(x,t)+1)+x(48)\begin{aligned} F(x,t)&=I(x,t)+R(x,t)\\ &=\left(F(x)+x\right)F(x,t)+(t-1)x^2\left(F(x,t)+1\right)+x \tag*{(48)} \end{aligned}

By substituting (1) in (48), we obtain (45).

Theorem 23 (Pairs S37–S40). We have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tmesh(π)=∑n≥1xn∑π∈Sn(2413,3142)tmesh(π)F(x,t):=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\text{mesh}(\pi)} =\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\text{mesh}(\pi)}
=18(5+x(1−4t)−1−6x+x2−25+(1−4t+8t2)x2+f1(x,t))(49)=\frac{1}{8}\left(5+x(1-4t)-\sqrt{1-6x+x^2}-\sqrt{2}\sqrt{5+(1-4t+8t^2)x^2+f_1(x,t)}\right) \tag*{(49)}

where

f1(x,t)=31−6x+x2−x(6+1−6x+x2+4t(5−1−6x+x2)).f_1(x,t)=3\sqrt{1-6x+x^2}-x\left(6+\sqrt{1-6x+x^2}+4t\left(5-\sqrt{1-6x+x^2}\right)\right).

Proof. Any occurrence of the mesh pattern must involve the leftmost element in a given permutation.

In the irreducible case (see Figure 7b), we cannot have any occurrences of the pattern because of the shaded lower-right and upper-left regions (and clearly no occurrences can happen across B1B_1 and B2B_2). Therefore, also considering the permutation 1, we have

I(x,t)=F(x)+x2.(50)I(x,t)=\frac{F(x)+x}{2}. \tag*{(50)}

In the reducible case (see Figure 7a), if abab is an occurrence of the pattern, then aa is the leftmost element in A2A_2 and bb must lie in A1A_1 (because the upper-right region of the pattern is shaded). Moreover, bb must be a right-to-left maximum in A1A_1, and conversely, any right-to-left maximum in A1A_1, together with the leftmost element in A2A_2, forms an occurrence of the pattern. Since all elements of A1A_1 are greater than those of A2A_2, the right-to-left maxima in A1A_1 are exactly the right-to-left maxima of the entire permutation. Consequently, the number of occurrences of the pattern is equal to the number of right-to-left maxima in the entire permutation. Therefore, the distribution of reducible separable permutations (of length n≥2n\geq2) with respect to this pattern coincides with that of the right-to-left maximum statistic. By Theorem 1, this distribution is

R(x,t)=G(x,t)1+G(x,t)−xt,(51)R(x,t)=\frac{G(x,t)}{1+G(x,t)}-xt, \tag*{(51)}

where G(x,t)G(x,t) is given by (3).

Finally, to obtain (49), we substitute (50) and (51) into F(x,t)=I(x,t)+R(x,t)F(x,t)=I(x,t)+R(x,t), and then substitute (1) and (3).

Theorem 24 (Pairs S41–S44). The formula in Theorem 23 holds for the pairs S41–S44.

Proof. Any occurrence of !mesh pattern must involve the leftmost element in a given permutation.

In the irreducible case (see Figure 7b), it is clear that if abab is an occurrence of !mesh pattern, then both aa and bb must belong to B1B_1, so that B2B_2 cannot contribute any occurrences of the pattern. Therefore, also considering the permutation 11,

I(x,t)=x+(R(x,t)+x)F(x),(52)I(x,t)=x+(R(x,t)+x)F(x), \tag*{(52)}

where the factor F(x)F(x) corresponds to the block B2B_2.

In the reducible case (see Figure 7a), the leftmost element in the permutation is in block A2A_2, and hence the pattern cannot be found within A1A_1. We consider two subcases:

  • The block A2A_2 begins with the smallest element. That is, A2=1A2′A_2=1A'_2, as shown in Figure 9. Then the element 11, together with every left-to-right maximum in the remainder of the permutation, forms an occurrence of !mesh pattern. The g.f. for this subcase is therefore clearly xG(x,t)xG(x,t), where G(x,t)G(x,t) is given by Theorem 1. Indeed, the distribution in question coincides with the distribution of left-to-right maxima in A2′A1A'_2A_1, which can be any separable permutation.

Figure 9. Related to the proof of Theorem 24 and Theorem 27.

  • The block A2A_2 does not start with the smallest element. Then every occurrence of !mesh pattern, if any, must be entirely in A2A_2, and the number of choices for A1A_1 are given by F(x)+x2\frac{F(x)+x}{2}. Therefore, since A2′A'_2 can be empty, in this subcase, the g.f. is

(F(x,t)−x(1+G(x,t)))F(x)+x2.\left(F(x,t)-x(1+G(x,t))\right)\frac{F(x)+x}{2}.

Consequently, we obtain

R(x,t)=xG(x,t)+(F(x,t)−x(1+G(x,t)))F(x)+x2R(x,t)=xG(x,t)+\left(F(x,t)-x(1+G(x,t))\right)\frac{F(x)+x}{2}

and

F(x,t)=I(x,t)+R(x,t)=(1+F(x))(x+xG(x,t)+F(x)+x2(F(x,t)−x(G(x,t)+1))).(53)\begin{aligned} F(x,t)&=I(x,t)+R(x,t)\\ &=(1+F(x))\left(x+xG(x,t)+\frac{F(x)+x}{2}\left(F(x,t)-x(G(x,t)+1)\right)\right). \tag*{(53)} \end{aligned}

Solving (53) for F(x,t)F(x,t) and substituting into the result (1) and (3) yields (49). ∎

Theorem 25 (Pairs S53–S56). We have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tS53–S56(π)=∑n≥1xn∑π∈Sn(2413,3142)tS53–S56(π)F(x,t):=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\mathsf{S53\text{--}S56}(\pi)}=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\mathsf{S53\text{--}S56}(\pi)}
=3−x(1+4t)+1−6x+x2−4f(x,t)2t(1+x−1−6x+x2),(54)=\frac{3-x(1+4t)+\sqrt{1-6x+x^2}-4f(x,t)}{2t\left(1+x-\sqrt{1-6x+x^2}\right)}, \tag*{(54)}

where

f(x,t)=−1−x+1−6x+x2+116(−5+(4t−1)x+1−6x+x2)2.f(x,t)=\sqrt{-1-x+\sqrt{1-6x+x^2}+\frac{1}{16}\left(-5+(4t-1)x+\sqrt{1-6x+x^2}\right)^2}.

Proof. Any occurrence of S53–S56\mathsf{S53\text{--}S56} must involve the leftmost element in a given permutation.

In the irreducible case (see Figure 7b), the rightmost element lies in the block B2B_2. Moreover, since all elements in B1B_1 are larger than those in B2B_2, the first element required to form the pattern S53–S56\mathsf{S53\text{--}S56} cannot occur in B1B_1. In addition, the block B2B_2 can be any separable permutation associated with this pattern. Therefore, we have

I(x,t)=x+F(x,t)F(x)+x2,(55)I(x,t)=x+F(x,t)\frac{F(x)+x}{2}, \tag*{(55)}

where xx corresponds to the permutation 1, the factor F(x,t)F(x,t) corresponds to the block B2B_2, while F(x)+x2\frac{F(x)+x}{2} represents the g.f. for reducible separable permutations corresponding to B1B_1, taking into account that B1B_1 can also be of length 1.

In the reducible case (see Figure 7a), the rightmost element lies in the block A1A_1. The first element contributing to an occurrence of S53–S56\mathsf{S53\text{--}S56} appears in A2A_2 if and only if the block A1A_1 ends with its smallest element mm, as illustrated in Figure 8. Here, A1=A1′mA_1=A'_1m. In this configuration, mm cannot form the pattern S53–S56\mathsf{S53\text{--}S56} with any element in A1′A'_1, but it can form an occurrence of this pattern together with any right-to-left maximum in A2A_2. Conversely, in this configuration, whenever an occurrence of this pattern appears, its first element must be a right-to-left maximum in A2A_2. Moreover, A1′A'_1 can be any (possibly empty) separable permutation because A1A_1 ends with mm, which guarantees that A1A_1 is irreducible. Let A(x,t)A(x,t) denote the g.f. associated with this configuration. Then,

Figure 8. Related to the proof of Theorem 25.

A(x,t)=xG(x,t)(F(x)+1),(56)A(x,t)=xG(x,t)\left(F(x)+1\right), \tag*{(56)}

where the block A2A_2, together with mm, contributes the term xG(x,t)xG(x,t) (G(x,t)G(x,t) is given by (3)), while F(x)+1F(x)+1 corresponds to the block A1′A'_1.

Consequently, we obtain

R(x,t)=A(x,t)+((I(x,t)+x)F(x)−A(x,1)),(57)R(x,t)=A(x,t)+\left((I(x,t)+x)F(x)-A(x,1)\right), \tag*{(57)}

where the factor F(x)F(x) corresponds to the block A2A_2, and the factor I(x,t)+xI(x,t)+x represents the g.f. for irreducible permutations of length n≥1n\geq1 corresponding to the block A1A_1.

Substituting (55) and (57) into F(x,t)=I(x,t)+R(x,t)F(x,t)=I(x,t)+R(x,t) yields

F(x,t)=x+xF(x)+(F(x)+1)F(x,t)F(x)+x2+x(F(x)+1)(G(x,t)−F(x)).(58)F(x,t)=x+xF(x)+(F(x)+1)F(x,t)\frac{F(x)+x}{2}+x(F(x)+1)(G(x,t)-F(x)). \tag*{(58)}

Solving (58) for F(x,t)F(x,t) and substituting (1) and (3) yields (54).

Theorem 26 (Pairs S57–S60). The formula in Theorem 25 holds for the pairs S57–S60.

Proof. Any occurrence of the mesh pattern in a permutation must begin with the smallest element.

In the irreducible case (see Figure 7b), the smallest element lies in B2B_2, which implies that the pattern cannot occur within B1B_1, while B2B_2 can be any separable permutation. Therefore, we have

I(x,t)=x+F(x,t)F(x)+x2,(59)I(x,t)=x+F(x,t)\frac{F(x)+x}{2}, \tag*{(59)}

where the factor F(x,t)F(x,t) corresponds to the block B2B_2, and F(x)+x2\frac{F(x)+x}{2} represents the g.f. for reducible separable permutations associated with the block B1B_1, that can be of length 1.

In the reducible case (see Figure 7a), the smallest element lies in A2A_2, and A2A_2 can be any separable permutation. Moreover, the smallest element in A2A_2, together with any left-to-right maximum in A1A_1, contributes an additional occurrence of this pattern. Conversely, whenever an occurrence of the mesh pattern appears with its second element in A1A_1, this element must be a left-to-right maximum in A1A_1. Consequently, we obtain

R(x,t)=F(x,t)G(x,t)1+G(x,t)R(x,t)=F(x,t)\frac{G(x,t)}{1+G(x,t)}

where F(x,t)F(x,t) represents the contribution of the block A2A_2, while the term G(x,t)1+G(x,t)\frac{G(x,t)}{1+G(x,t)} is the distribution of left-to-right maxima on irreducible separable permutations (including the permutation of length n=1n=1 given by Theorem 1. Now,

F(x,t)=I(x,t)+F(x,t)=x+F(x,t)(G(x,t)1+G(x,t)+F(x)+x2).(60)F(x,t)=I(x,t)+F(x,t)=x+F(x,t)\left(\frac{G(x,t)}{1+G(x,t)}+\frac{F(x)+x}{2}\right). \tag*{(60)}

Solving (60) for F(x,t)F(x,t) and substituting (1) and (3) yields (54).

Theorem 27 (Pairs S69–S72). We have

F(x,t):=∑n≥1xn∑π∈Sn(2413,3142)tmesh(π)=∑n≥1xn∑π∈Sn(2413,3142)tmesh(π)F(x,t):=\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\text{mesh}(\pi)} =\sum_{n\ge1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\text{mesh}(\pi)}
=2x(3−x+1−6x+x2)(1−x+1−6x+x2)(3+(3−4t)x+1−6x+x2).(61)=\frac{2x\left(3-x+\sqrt{1-6x+x^2}\right)} {\left(1-x+\sqrt{1-6x+x^2}\right)\left(3+(3-4t)x+\sqrt{1-6x+x^2}\right)}. \tag*{(61)}

Proof. If abab is an occurrence of the mesh pattern then aa must be the element 1 in the permutation.

In the irreducible case (see Figure 7b), the bottom-right shading implies that B1B_1, a reducible separable permutation, contributes no occurrences of the mesh pattern. Since the top-left region is unshaded, every occurrence of the mesh pattern in B2B_2 is also an occurrence in the entire permutation. As no such pattern can occur across B1B_1 and B2B_2, we obtain

I(x,t)=x+F(x,t)F(x)+x2,(62)I(x,t)=x+F(x,t)\frac{F(x)+x}{2}, \tag*{(62)}

where F(x,t)F(x,t) corresponds to B2B_2, the case B1=nB_1=n is considered, and F(x)F(x) is given by (1).

In the reducible case (see Figure 7a), since the upper-right corner is unshaded and the bottom-left corner is shaded, A1A_1 cannot contribute any occurrences of the mesh pattern. On the other hand, every occurrence of this pattern in A2A_2 is also an occurrence in the entire permutation. We then consider two subcases:

  • The block A2A_2 begins with the smallest element. That is, A2=1A2′A_2=1A'_2, as illustrated in Figure 9, where A2′A'_2 may be empty. Then the element 1, together with any strict

fixed point (i.e., an occurrence of [mesh pattern] in A1A_1 and A2′A'_2, forms an occurrence of [mesh pattern]. Since A1A_1 is an irreducible permutation, such an occurrence of [mesh pattern] can appear if and only if A1A_1 consists of a single point. Therefore, the g.f. for this subcase is

tx2(G(x,t)+1)+x(1+G(x,t))F(x)−x2.t x^2(G(x,t)+1)+x(1+G(x,t))\frac{F(x)-x}{2}.

where G(x,t)G(x,t) is given by Theorem 1. Here the term tx2(G(x,t)+1)t x^2(G(x,t)+1) corresponds to the case where A1A_1 consists of a single element (i.e., A1=nA_1=n), while x(1+G(x,t))F(x)−x2x(1+G(x,t))\frac{F(x)-x}{2} accounts for the case where ∣A1∣≥2\lvert A_1\rvert\ge2.

  • The block A2A_2 does not start with the smallest element. Then every occurrence of [mesh pattern], if any, must be entirely in A2A_2, and the number of choices for A1A_1 are given by F(x)+x2\frac{F(x)+x}{2}. Therefore, in this subcase, the g.f. is

(F(x,t)−x(1+G(x,t)))F(x)+x2.\left(F(x,t)-x(1+G(x,t))\right)\frac{F(x)+x}{2}.

Consequently, we obtain

R(x,t)=F(x,t)F(x)+x2+(t−1)x2(1+G(x,t)).(63)R(x,t)=F(x,t)\frac{F(x)+x}{2}+(t-1)x^2(1+G(x,t)). \tag*{(63)}

Substituting (62) and (63) into F(x,t)=I(x,t)+R(x,t)F(x,t)=I(x,t)+R(x,t), we obtain (61).

Theorem 28 (Pairs S73–S76). We have

F(x,t)=∑n≥1xn∑π∈Sn(2413,3142)t[meshpattern](π)=∑n≥1xn∑π∈Sn(2413,3142)t[meshpattern](π)F(x,t)=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{[mesh pattern](\pi)} =\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{[mesh pattern](\pi)}
=2(x+14(t−1)x(1+x−1−6x+x2))1−x+1−6x+x2+12(1−t)x(1+x−1−6x+x2).(64)=\frac{2\left(x+\frac{1}{4}(t-1)x\left(1+x-\sqrt{1-6x+x^2}\right)\right)} {1-x+\sqrt{1-6x+x^2}+\frac{1}{2}(1-t)x\left(1+x-\sqrt{1-6x+x^2}\right)}. \tag*{(64)}

Proof. An occurrence of the pattern [mesh pattern] is an ascent satisfying extra conditions.

In the irreducible case (see Figure 7b), since in [mesh pattern] the upper-left region is shaded, the block B2B_2 cannot contain any occurrences of the pattern. Moreover, there are clearly no occurrences spanning both B1B_1 and B2B_2. Consequently, the g.f. I(x,t)I(x,t) is

I(x,t)=x+(R(x,t)+x)F(x).(65)I(x,t)=x+(R(x,t)+x)F(x). \tag*{(65)}

In the reducible case (see Figure 7a), since in [mesh pattern] the lower-left region is shaded, the block A1A_1 cannot contain an occurrence of the pattern, and it does not affect the block A2A_2. However, an extra occurrence can arise across A1A_1 and A2A_2, but only in the situation illustrated in Figure 10, where A2=A1′1A_2=A'_1 1 and A1=mA1′A_1=mA'_1. Let A(x,t)A(x,t) denote the g.f. associated with this configuration. Then

Diagram illustrating the configuration $A_2=A'_1 1$ and $A_1=mA'_1$

Figure 10. Related to the proof of Theorem 28.

A(x,t)=tx(F(x,t)+1)F(x)+x2,(66)A(x,t)=tx\bigl(F(x,t)+1\bigr)\frac{F(x)+x}{2}, \tag*{(66)}

since 1m1m contributes a factor tt, the block A2A_2 contributes the term x(F(x,t)+1)x\bigl(F(x,t)+1\bigr), and A1A_1 contributes the term F(x)+x2\frac{F(x)+x}{2}. Therefore, we have

R(x,t)=F(x,t)F(x)+x2+A(x,t)−A(x,t)t,(67)R(x,t)=F(x,t)\frac{F(x)+x}{2}+A(x,t)-\frac{A(x,t)}{t}, \tag*{(67)}

where the factor F(x,t)F(x,t) corresponds to the block A2A_2, and the term F(x)+x2\frac{F(x)+x}{2} to A1A_1.

Combining (65)–(67) with F(x,t)=I(x,t)+R(x,t)F(x,t)=I(x,t)+R(x,t), we obtain

F(x,t)=x+xF(x)+(F(x)+1)(F(x)+x2F(x,t)+(t−1)x(F(x,t)+1)F(x)+x2).(68)F(x,t)=x+xF(x)+(F(x)+1)\left(\frac{F(x)+x}{2}F(x,t)+(t-1)x\bigl(F(x,t)+1\bigr)\frac{F(x)+x}{2}\right). \tag*{(68)}

By solving (68) for F(x,t)F(x,t) and substituting (1), we obtain (64).

Theorem 29 (Pairs S77–S80). We have

F(x,t)=∑n≥1xn∑π∈Sn(2413,3142)t■■■□(π)=∑n≥1xn∑π∈Sn(2413,3142)t■■■□(π)F(x,t)=\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\boxed{\begin{array}{cc}\blacksquare&\blacksquare\\ \blacksquare&\square\end{array}}(\pi)} =\sum_{n\geq1}x^n\sum_{\pi\in S_n(2413,3142)}t^{\boxed{\begin{array}{cc}\blacksquare&\blacksquare\\ \blacksquare&\square\end{array}}(\pi)}
=x(3−x−1−6x+x2)1+(t−1)x2+1−6x+x2+f(x,t).(69)=\frac{x\left(3-x-\sqrt{1-6x+x^2}\right)} {1+(t-1)x^2+\sqrt{1-6x+x^2}+f(x,t)}. \tag*{(69)}

where

f(x,t)=x(4−1−6x+x2−t(3−1−6x+x2)).f(x,t)=x\left(4-\sqrt{1-6x+x^2}-t\left(3-\sqrt{1-6x+x^2}\right)\right).

Proof. In the irreducible case (see Figure 7b), because the upper-left region of the mesh pattern is shaded, the block B2B_2 cannot contain an occurrence of the pattern, and clearly, the pattern does not occur across B1B_1 and B2B_2. Therefore, I(x,t)I(x,t) is

I(x,t)=x+(R(x,t)+x)F(x).(70)I(x,t)=x+(R(x,t)+x)F(x). \tag*{(70)}

In the reducible case (see Figure 7a), since the lower-left region of the mesh pattern is shaded, this pattern cannot occur in A1A_1, and clearly any occurrence of the pattern in A2A_2 is also an occurrence in the entire permutation. Moreover, if the irreducible block A1A_1 has length greater than 1, then there cannot be any occurrences of the pattern spanning both A1A_1 and A2A_2. If, on the other hand, A1A_1 has length 1, then the element 1 in A2A_2 together with A1A_1 forms an occurrence of the mesh pattern. These two subcases give, respectively, the first and second summands in

R(x,t)=F(x,t)F(x)−x2+txF(x,t).(71)R(x,t) = F(x,t) \frac{F(x)-x}{2} + txF(x,t). \tag*{(71)}

By substituting (70) and (71) into F(x,t)=I(x,t)+R(x,t)F(x,t) = I(x,t) + R(x,t), we obtain

F(x,t)=(1+F(x))(F(x,t)F(x)−x2+txF(x,t))+x+xF(x).(72)F(x,t) = (1 + F(x)) \left(F(x,t) \frac{F(x)-x}{2} + txF(x,t)\right) + x + xF(x). \tag*{(72)}

Solving (72) for F(x,t)F(x,t) and substituting (1), we obtain (69).

Conclusion

In this paper, we first determined the distributions of all mesh patterns of length 1 (see Table 2 and the references therein). In one instance, Theorem 7, we derived the joint equidistribution of strict fixed points and reverse strict fixed points. Using computer experiments and symmetry operations, we then classified the mesh patterns 12 and 21 with identical shadings into 38 equivalence classes based on their distributions; these classes are listed in Table 3–Table 6. Among the 24 (joint) distributions we derived, several were identical, allowing us to merge some equivalence classes and reduce the total number to 31. These mergings are summarized in Table 7, where patterns with identical distributions are grouped within the same block. Computer experiments confirm that the first several terms of the distributions of the 31 equivalence classes (17 of which we enumerated) are distinct, so no further merging is possible. Enumerating the remaining 14 classes – those missing references in Table 3–Table 6 – remains an open problem, providing a natural direction for future work.

Acknowledgements

The authors thank Philip B. Zhang for sharing his computational experiments on the equidistribution of the mesh patterns studied here. They also thank the anonymous reviewers for their helpful comments, which improved the presentation of the paper. The first author is supported by the National Natural Science Foundation of China (No. 12671393) and the Guangdong Basic and Applied Basic Research Foundation (No. 2024A1515011276).

References

  1. [2]S. Avgustinovich, S. Kitaev, and A. Valyuzhenich. Avoidance of boxed mesh patterns on permutations, Discrete Appl. Math., 161 (2013) 43–51.
  2. [3]J.-L. Baril, Classical sequences revisited with permutations avoiding dotted pattern, Electron. J. Combin., 18(1) (2011), #P178.DOI
  3. [4]P. Bose, J. F. Buss, and A. Lubiw. Pattern matching for permutations. Inform. Process. Lett. 65 (1998) 5, 277–283.
  4. [5]P. Brändén and A. Claesson. Mesh patterns and the expansion of permutation statistics as sums of permutation patterns, Electronic J. Combin., 18(2) (2011), #P5.
  5. [6]J. N. Chen, S. Kitaev and P. B. Zhang. Distributions of statistics on separable permutations, Discrete Appl. Math., 355 (2024), 169–179.
  6. [7]Q. Fang, S. Fu, S. Kitaev and H. Li. On fourteen equidistribution conjectures of Lv and Zhang and monotone mesh patterns with corner shadings, arXiv:2507.04698 (2025).arxiv.org/abs/2507.04698
  7. [8]S. Fu, Z. Lin, and J. Zeng. On two unimodal descent polynomials, Discrete Math., 341(9):2616–2626, 2018.arxiv.org/abs/1507.05184
  8. [9]B. Han and J. Zeng. Equidistributions of mesh patterns of length two. Sém. Lothar. Combin. 85B (2021), Art. 12, 12 pp.
  9. [10]B. Han and J. Zeng. Equidistributions of mesh patterns of length two and Kitaev and Zhang’s conjectures. Adv. in Appl. Math. 127 (2021), Paper No. 102149, 17 pp.arxiv.org/abs/2007.13015
  10. [11]I. Hilmarsson, I. Jónsdóttir, S. Sigurdardóttir, L. Vidarsdóttir, and H. Ulfarsson. Wilf-classification of mesh patterns of short length, Electr. J. Combin., 22(4) (2015), #P4.13.DOI
  11. [12]S. Kitaev, Patterns in permutations and words, Springer, 2011.
  12. [13]S. Kitaev and J. Liese. Harmonic numbers, Catalan’s triangle and mesh patterns, Discrete Math., 313 (2013), 1515–1531.arxiv.org/abs/1209.6423
  13. [14]S. Kitaev and P. B. Zhang. Distributions of mesh patterns of short lengths, Adv. Appl. Math., 110 (2019) 1–32.arxiv.org/abs/1811.07679
  14. [15]S. Kitaev, P. B. Zhang and X. Zhang. Distributions of several infinite families of mesh patterns, Appl. Math. Comput., 372 (2020) 124984.arxiv.org/abs/1903.00672
  15. [16]D. Li and P. B. Zhang. Distributions of mesh patterns of short lengths on king permutations. Discrete Math. 349 (2026), no. 1, Paper No. 114681, 15 pp.arxiv.org/abs/2411.18131
  16. [17]S. Lv and S. Kitaev. On (joint) equidistributions of mesh patterns 123 and 132 with symmetric shadings, Adv. Appl. Math., 166 (2025), 102856.arxiv.org/abs/2408.09401
  17. [18]S. Lv and P. B. Zhang. Joint equidistributions of mesh patterns 123 and 132 with minus antipodal shadings.Discrete Appl. Math. 379 (2026), 419–433.
  18. [19]S. Lv and P. B. Zhang. Joint equidistributions of mesh patterns 123 and 321 with symmetric and minus-antipodal shadings, Ann. Comb. (2026). https://doi.org/10.1007/s00026-025-00793-8.
  19. [20]B. E. Tenner. Mesh patterns with superfluous mesh, Adv. Appl. Math., 51 (2013), 606–618.arxiv.org/abs/1302.1883

Paper details

vlnc:W_zcm3fe84
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents