betaFeedback

WorksMathematics

Distinct flattened partitions avoiding a pattern of length four

Abstract

Let Pn\mathcal{P}_n denote the set of distinct permutations of length nn that arise from the flattening process applied to the partitions of [n]={1,…,n}[n]=\{1,\ldots,n\}. In this paper, we consider the problem of avoidance of a single classical pattern of length four by members of Pn\mathcal{P}_n. Let pn(τ)p_n(τ) denote the number of members of Pn\mathcal{P}_n that avoid the pattern ττ. We show that pn(τ)=Cn−1p_n(τ)=C_{n-1} for all n≥1n \geq 1 for seven patterns of length four yielding new combinatorial interpretations of the Catalan number sequence. Further, we show that pn(τ)p_n(τ) corresponds to the binomial transform of Catalan numbers for three other patterns. To establish our results, we suitably refine the counting sequence pn(τ)p_n(τ) in each case so as to obtain a system of functional equations satisfied by the corresponding generating functions. These functional equations may then be solved explicitly leading to a determination of pn(τ)p_n(τ) in each case.

Introduction

Let π=π1⋯πn\pi= \pi_1 \cdots\pi_n and τ=τ1⋯τk\tau= \tau_1 \cdots\tau_k be permutations of length nn and kk, where 1≤k≤n1 \le k \le n, expressed using the one-line notation. Then π\pi is said to contain τ\tau if there is a subsequence of π\pi that is order-isomorphic to τ\tau, i.e., there exist indices 1≤i1<⋯<ik≤n1 \le i_1 < \cdots< i_k \le n such that πia>πib\pi_{i_a} > \pi_{i_b} if and only if τa>τb\tau_a > \tau_b for all $1 \le a,b \le k. If no such subsequence exists, then π\pi is said to avoid τ\tau, and in this context, τ\tau is often referred to as a (classical) pattern. By a partition of a finite set, it is meant a collection of nonempty, pairwise disjoint subsets, called blocks, whose union is the set. Let Rn\mathcal{R}_n denote the set of all partitions of [n][n]. In this paper, we consider the pattern avoidance problem on a certain kind of sequential representation for members of Rn\mathcal{R}_n.

Let Π=B1/B2/⋯/Bk∈Rn\Pi= B_1/B_2/\cdots/B_k \in\mathcal{R}_n, where the elements within each block BiB_i are in increasing order and blocks are arranged from left to right in ascending order of their smallest elements. Such a partition is said to be in standard form. Callan [3] defined the flattening of Π\Pi, denoted by flatten⁡(Π)\operatorname{flatten}(\Pi), as the permutation of [n][n] obtained by arranging the blocks of Π\Pi in standard form, removing the block separators and considering the resulting word. For example, if n=9n=9 and Π={6,4,3}/{5}/{1,2,9}/{8,7}\Pi= \{6,4,3\}/\{5\}/\{1,2,9\}/\{8,7\} is a member of R9\mathcal{R}_9, then the standard form of Π\Pi is {1,2,9}/{3,4,6}/{5}/{7,8}\{1,2,9\}/\{3,4,6\}/\{5\}/\{7,8\} and flatten⁡(Π)=129346578\operatorname{flatten}(\Pi) = 129346578. Note that the flattening operation is in general not injective, as distinct set partitions can produce the same permutation. In this work, we treat the resulting permutation of length nn as a combinatorial object in its own right and refer to it as a distinct flattened partition.

Let Pn\mathcal{P}_n denote the set of all distinct flattened partitions of [n][n]. For example, if n=4n=4, then we have P4={1234,1243,1324,1342,1423}\mathcal{P}_4=\{1234,1243,1324,1342,1423\}. In [13], a bijection was defined between Pn+1\mathcal{P}_{n+1} and Rn\mathcal{R}_n, and hence ∣Pn+1∣=Bn|\mathcal{P}_{n+1}|=B_n for all n≥0n\geq0, where BnB_n denotes the nn-th Bell number. A run of elements within a permutation is a maximal sequence of consecutive increasing entries. For example, if σ=178263495\sigma=178263495, then there are four runs, namely, 178, 26, 349 and 5. Note that Pn\mathcal{P}_n is seen to comprise the subset of permutations of length nn whose elements that start runs form an increasing subsequence. This structure is inherited from the standard form of the underlying set partitions.

The first systematic study of pattern avoidance in flattened structures was undertaken by Callan [3], who initiated the enumeration of set partitions according to the avoidance of patterns in their flattenings. Specifically, for a pattern τ\tau, he considered the subset of Rn\mathcal{R}_n whose members when flattened avoid τ\tau and determined the counting sequences for all patterns τ\tau of length three. Liu and Zhang [7] extended the results of Callan to several patterns of length four, partially addressing a problem posed by Mansour [8], Research Direction 3.2. An analogous notion of flattening has also been considered on permutations wherein the role of the blocks is played by cycles expressed in standard form. See respectively [9] and [11] for comparable results concerning the avoidance of a pattern of length three by flattened permutations and derangements.

Instead of considering restrictions on the underlying set of partitions, Nabawanda and Rakotondrajao [12] looked at the avoidance problem on the set Pn\mathcal{P}_n of distinct permutations that arise from the flattening process. Given a pattern τ\tau, let Pn(τ)\mathcal{P}_n(\tau) denote the subset of Pn\mathcal{P}_n whose members avoid τ\tau and let pn(τ)=∣Pn(τ)∣p_n(\tau)=|\mathcal{P}_n(\tau)| for n≥1n\geq1. In [12], the authors considered the avoidance of one or more patterns of length three by members of Pn\mathcal{P}_n. We summarize in Table 1 below the formulas that were found in [12] for pn(τ)p_n(\tau), where τ∈S3\tau\in S_3. Here, Cn=1n+1(2nn)C_n=\frac{1}{n+1}\binom{2n}{n} and MnM_n denote the nn-th Catalan and Motzkin numbers, respectively, and all formulas hold for n≥1n\geq1, except in the case of 213/312, where n≥2n\geq2. In this paper, we extend these results to τ∈S4\tau\in S_4 and determine the complete Wilf-classification for the avoidance of a single pattern of length four by distinct flattened partitions up to one conjectured equivalence (see Table 2 in the final section).

Members of Pn\mathcal{P}_n have also recently been studied with regard to their containment/avoidance of consecutive patterns, and generating function formulas enumerating members of Pn\mathcal{P}_n according to the number of occurrences of a pattern of length three were found in [10]. See also [13], where the distribution of the statistic tracking the number of runs on Pn\mathcal{P}_n was studied. Variants of the notion of flattening have also been recently considered on other discrete structures, such as Catalan words [1], Stirling permutations [2] and parking functions [5]. Note that the flattening idea seems to have originated with the work of Carlitz [4], who considered flattened permutations in his definition of a certain kind of inversion statistic on SnS_n.

The main results of this paper are given in Theorems 1.1 and 1.2 below and are proven over the next three sections.

Theorem 1.1. We have pn(τ)=Cn−1p_n(\tau)=C_{n-1} for all n≥1n\geq1 and each τ∈{1432,2143,2314,2413,3142,3412,4132}\tau\in\{1432,2143,2314,2413,3142,3412,4132\}.

Theorem 1.2. We have pn(τ)=∑k=0n−2(n−2k)Ckp_n(\tau)=\sum_{k=0}^{n-2}\binom{n-2}{k}C_k for all n≥2n\geq2 and each τ∈{3214,4213,4312}\tau\in\{3214,4213,4312\}.

Note that Theorem 1.1 follows from combining Theorems 2.6 and 3.3, Corollaries 2.4 and 3.8 and Proposition 5.1 below (together with the fact pn(321)=Cn−1p_n(321)=C_{n-1}). From Theorem 1.1, one obtains some apparently new combinatorial interpretations for the Catalan number sequence in terms of pattern avoidance. See [15] for a comprehensive list of discrete structures already known to be enumerated by CnC_n. Combining Corollary 4.5 with Theorem 4.8 below yields Theorem 1.2, which provides some new structures enumerated by the binomial transform of Catalan sequence (see A007317 in [14]). We will make use of the generating function formulas

∑n≥0Cnxn=1−1−4x2x\sum_{n\geq0} C_n x^n = \frac{1-\sqrt{1-4x}}{2x}

and

∑n≥0∑k=0n(nk)Ckxn=1−x−1−6x+5x22x(1−x).\sum_{n\geq0}\sum_{k=0}^{n}\binom{n}{k}C_kx^n = \frac{1-x-\sqrt{1-6x+5x^2}}{2x(1-x)}.

and often denote the former by C=C(x)C=C(x).

The organization of this paper is as follows. In the next two sections, we show pn(τ)=Cn−1p_n(\tau)=C_{n-1} for τ∈{2413,3412,3142,2143,2314}\tau\in\{2413,3412,3142,2143,2314\}, and in the fourth section, we prove Theorem 1.2. Note that these results are obtained as specific cases of more general formulas involving the distributions of certain statistics on the respective avoidance classes. In the final section, some enumerative results for singleton Wilf-classes are found and a general criterion is given for when the patterns τ\tau and 1(τ+1)1(\tau+1) are equivalent on Pn\mathcal{P}_n. Furthermore, a couple of conjectures are raised, one concerning an equivalence and another an enumeration. Our results for the enumeration/classification of patterns of length four are summarized in Table 2.

ClassPattern τ\taupn(τ)p_n(\tau)OEIS sequence
112341, 1, 2, 4, 5, 3, 0, 0, 0, 0, …\ldotsTrivial
212431, 1, 2, 4, 7, 11, 16, 22, 29, 37, …\ldotsA152947
31324 14231, 1, 2, 4, 8, 16, 32, 64, 128, 256, …\ldotsA011782
413421, 1, 2, 4, 9, 21, 51, 127, 323, 835, …\ldotsA001006
531241, 1, 2, 5, 14, 40, 113, 315, 871, 2400, …\ldotsUnknown
641231, 1, 2, 5, 14, 40, 114, 324, 920, 2612, …\ldotsA159035
721341, 1, 2, 5, 14, 40, 116, 341, 1014, 3045, …\ldotsA273900
81432 2143 2314 2413 3142 3412 41321, 1, 2, 5, 14, 42, 132, 429, 1430, 4862, …\ldotsA000108
923411, 1, 2, 5, 14, 44, 148, 528, 1972, 7647, …\ldotsA307786 (?)
103214 4213 43121, 1, 2, 5, 15, 51, 188, 731, 2950, 12235, …\ldotsA007317
112431 3241 (?)1, 1, 2, 5, 15, 51, 190, 758, 3187, 13963, …\ldotsUnknown
1234211, 1, 2, 5, 15, 51, 190, 759, 3203, 14129, …\ldotsUnknown
1342311, 1, 2, 5, 15, 51, 190, 759, 3203, 14130, …\ldotsUnknown
1443211, 1, 2, 5, 15, 52, 202, 858, 3910, 18846, …\ldotsUnknown

Table 2. Wilf-equivalence classes and avoidance sequences (for 1≤n≤101 \le n \le10) for patterns of length four

We briefly describe now our methods as follows. To establish our results, we first consider various refinements of the sequences pn(τ)p_n(\tau) based on certain statistics on Pn\mathcal{P}_n which are specific to the pattern at hand. These refinements lead to arrays with two or three parameters, for which one is able to write a recurrence (whereas finding a recurrence a priori for the sequence pn(τ)p_n(\tau) by direct combinatorial reasoning may not be possible). The statistics that proved useful here in identifying an appropriate array for writing a recurrence included ones tracking the second or last letter, the last two letters or the final letter in the first run. Still other parameters were needed in finding a recurrence once a suitable array had been identified, such as the length of the first run or the letter directly following nn (if it exists). We then defined certain generating functions, often based on the form of the recurrence, for the aforementioned arrays and/or their row sums. Translating the recurrences to generating functions, sometimes a difficult step, then leads to a single functional equation or a system. We then proceed to find an explicit solution of the functional equation(s) in its full generality, using the kernel method (see, e.g., [6]) or other techniques. Taking all of the auxiliary variables to be unity in this solution then yields a formula for the generating function of the sequence pn(τ)p_n(\tau), from which one may deduce the desired avoidance result.

The patterns 2413, 3412 and 3142

We first establish the cases 2413 and 3412, which may be treated simultaneously due to the similarity of their arguments. Recall that a descent within a sequence σ=σ1⋯σm\sigma=\sigma_1\cdots\sigma_m corresponds to an index i∈[m−1]i\in[m-1] such that σi>σi+1\sigma_i>\sigma_{i+1}. The actual entries σi\sigma_i and σi+1\sigma_{i+1} are referred to as the top and bottom of the descent. Note that Pn\mathcal{P}_n consists of those permutations of length nn that start with 1 whose descent bottoms from left to right form an increasing sequence. In particular, no member of Pn\mathcal{P}_n contains two consecutive descents.

Let un=pn(2413)u_n=p_n(2413) and vn=pn(3412)v_n=p_n(3412) for n≥1n\geq1. In order to write recurrences, we consider the arrays un,iu_{n,i} and vn,iv_{n,i} enumerating respectively the members of Un=Pn(2413)\mathcal{U}_n=\mathcal{P}_n(2413) and Vn=Pn(3412)\mathcal{V}_n=\mathcal{P}_n(3412) having last letter ii for 1≤i≤n1\leq i\leq n. Note that un,1=vn,1=δn,1u_{n,1}=v_{n,1}=\delta_{n,1} for n≥1n\geq1.

The un,iu_{n,i} and vn,iv_{n,i} are given recursively as follows.

References

  1. [1]J.-L. Baril, P. E. Harris and J. L. Ramírez, Flattened Catalan words, Bull. Inst. Combin. Appl. 104 (2025), 51–79.arxiv.org/abs/2405.05357
  2. [2]A. Buck, J. Elder, A. A. Figueroa, P. E. Harris, K. J. Harry and A. Simpson, Flattened Stirling permutations, Integers 24 (2024), #A104.
  3. [3]D. Callan, Pattern avoidance in “flattened” partitions, Discrete Math. 309 (2009), 4187–4191.arxiv.org/abs/0802.2275
  4. [4]L. Carlitz, Generalized Stirling numbers, Combinatorial Analysis Notes, Duke University (1968), 1–15.
  5. [5]J. Elder, P. E. Harris, Z. Markman, I. Tahir and A. Verga, On flattened parking functions, J. Integer Seq. 26 (2023), Art. 23.5.8.arxiv.org/abs/2210.14206
  6. [6]Q. Hou and T. Mansour, Kernel method and linear recurrence system, J. Comput. Appl. Math. 216(1) (2008), 227–242.DOI
  7. [7]T. Y. H. Liu and A. Zhang, On pattern avoiding flattened set partitions, Acta Math. Sin. (Engl. Ser.) 31 (2015), 1923–1928.DOI
  8. [8]T. Mansour, Combinatorics of Set Partitions, CRC Press, Boca Raton, FL, 2012.DOI
  9. [9]T. Mansour and M. Shattuck, Pattern avoidance in flattened permutations, Pure Math. Appl. (PU.M.A.) 22(1) (2011), 75–86.
  10. [10]T. Mansour and M. Shattuck, Counting subword patterns in permutations arising as flattened partitions of sets, Appl. Anal. Discrete Math. 16:1 (2022), 146–177.DOI
  11. [11]T. Mansour and M. Shattuck, Pattern avoidance in flattened derangements, Discrete Math. Lett. 15 (2025), 67–74.DOI
  12. [12]O. Nabawanda and F. Rakotondrajao, Sets of flattened partitions with forbidden patterns, J. Integer Seq. 24 (2021), Art. 21.1.5.arxiv.org/abs/2011.07304
  13. [13]O. Nabawanda, F. Rakotondrajao and A. S. Bamunoba, Run distribution over flattened partitions, J. Integer Seq. 23 (2020), Art. 20.9.6.arxiv.org/abs/2007.03821
  14. [14]N. J. A. Sloane et al., The On-Line Encyclopedia of Integer Sequences, 2025. Available at https://oeis.org.
  15. [15]R. P. Stanley, Catalan Numbers, Cambridge University Press, Cambridge, UK, 2015.DOI

Paper details

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

views · 11

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