1.
Introduction
The Euler numbers En are defined by the exponential generating function
This is the sequence A000111 in [20]. In 1877 Seidel [19] defined the triangular array (En,k) by the recurrence
with E1,1=1, En,1=0 (n≥2), and proved that En=∑kEn,k, i.e., the Euler number En is the sum of the entries of the n-th row of the following triangle:
The first few values of En,k are given in Table 1.
André [1] showed in 1879 that the Euler number En enumerates the alternating permutations of [n]:={1,2,…,n}, i.e., the permutations σ1σ2…σn of 12…n such that σ1>σ2<σ3>σ4<⋯. Let DUn be the set of (down-up) alternating permutations of [n]. For example,
In 1933 Kempener [14] used the boustrophedon algorithm (2) to enumerate alternating permutations without refering to Euler numbers. Since Entringer [7] first found the combinatorial interpretation of Kempener's table (En,k) in terms of André's model for Euler numbers, the numbers En,k are then called Entringer numbers.
Theorem 1 (Entringer). The number of the (down-up) alternating permutations of [n] with first entry k is En,k, i.e., En,k=#DUn,k, where
According to Foata-Schützenberger [9] a sequence of sets (Xn) is called an André complex if the cardinality of Xn is equal to En for n≥1. Several other André complexs were introduced also in [9] such as André permutations of first and second kinds, André trees or increasing 1-2 trees and Rodica Simion and Sheila Sundaram [23] discovered the Simsun permutations; see Section 2. A sequence of sets (Xn,k) is called an Entringer family if the cardinality of Xn,k is equal to En,k for 1≤k≤n. During the last two decades of the twentieth century, Poupard worked out several Entringer families in a series of papers [15,16,17]. Stanley [22,Conjecture 3.1] and Hetyei [12] introduced more Entringer families by refining of Purtill's result [18,Theorem 6.1] about the cd-index of André and Simsun permutations with fixed last letter.
The Springer numbers Sn are defined by the exponential generating function [21]
Arnold [2,p.11] showed in 1992 that Sn enumerates a signed-permutation analogue of the alternating permutations. Recall that a signed permutation of [n] is a sequence π=(π1,…,πn) of elements of [±n]:={−1,…,−n}∪{1,…,n} such that |π|=(|π1|,…,|πn|) is a permutation of [n]. We write Bn for the set of all signed permutations of [n]. Clearly the cardinality of Bn is 2nn!. An (down-up) alternating permutation of type Bn is a signed permutation π∈Bn such that π1>π2<π3>π4⋯ and a snake of type Bn is an alternating permutation of type Bn starting with a positive entry. Let DUn(B) be the set of (down-up) alternating permutations of type Bn and Sn the set of snakes of type Bn. Clearly the cardinality of DUn(B) is 2nEn. Arnold [2] showed that the Springer number Sn enumerates the snakes of type Bn. For example, the 11 snakes of S3 are as follows:
where we write ˉk for −k. Arnold [2] introduced the following pair of triangles to compute the Springer numbers:
where Sn,k is defined by S1,1=S1,−1=1, Sn,−n=0 (n≥2), and the recurrence
Theorem 2 (Arnold). For all integers 1≤k≤n, the number of the snakes of type Bn starting with k is Sn,k, i.e., Sn,k=#Sn,k with Sn=∑k>0#Sn,k, where
Moreover, for all integers −n≤k≤−1, it holds that
Similarly, the numbers Sn,k are called Arnold numbers and a sequence of sets (Xn,k) is called an Arnold family if the cardinality of Xn,k is equal to Sn,k for 1≤|k|≤n. The first values of Arnold and Springer numbers are given in Table 2. The aim of this paper is to provide some new Entringer families and new Arnold families by refining known combinatorial models for Euler and Springer numbers. To this end we shall build bijections between these new Entringer (resp. Arnold) families with the known ones. We refer the reader to the more recent papers [23,11,4,13,8] related to the combinatorics of Euler numbers and Springer numbers.
This paper is organized as follows. In Section 2, we shall give the necessary definitions and present our main results. The proof of our theorems will be given in Sections 3-4. In Section 5, we shall give more insightful description of two important bijections. More precisely, Chuang et al.'s constructed a ϕ:Tn+1→RSn in [4], we show that ϕ can be factorized as the compositions of two of our simpler bijections, and then give a direct description of Gelineau et al.'s bijection ψ:DUn→Tn in [11].
2.
Definitions and main results
Let V be a finite subset of N. An increasing 1-2 tree on V is a vertex labeled rooted tree with at most two (upward) branchings at any vertex and vertex labels in increasing order on any (upward) path from the root, see Figure 2. In what follows, when one draws an increasing 1-2 tree, let's designate the left child if its parent has a unique child or it is smaller than the other sibling and the others, except of the root, are designate the right child.
For each vertex v of a binary tree, by exchanging the left and right subtrees of v, we obtain another binary tree. This operation is called a flip. If two binary trees can be connected by a sequence of flips, we say that these two trees are flip equivalent. Since flip equivalence is obviously an equivalence relation, we are able to define the equivalence classes of binary trees, which are corresponding to increasing 1-2 trees; see [23,Section 3.2] in detail.
Definition 3. Given an increasing 1-2 tree T, the minimal path of T is the unique sequence (v1,⋯,vℓ) of vertices where v1 is the root, vk+1 is the left child of vk (1≤k<ℓ), and vℓ is a leaf. The vertex vℓ is called the minimal leaf of T and denoted by Leaf(T). Similarly, the unique path (v1,⋯,vℓ) from v1=v to a leaf vℓ of T is called the maximal path from v if vk+1 is the right child of vk for 1≤k<ℓ.
Let TV be the set of increasing 1-2 trees on V with Tn:=T[n] and
Donaghey [5] (see also [3]) proved bijectively that the Euler number En enumerates the binary increasing trees in Tn and Poupard [15] showed that the sequence (Tn,k) is an Entringer family. In a previous work Gelineau et al. [11] proved bijectively Poupard's result by establishing a bijection between DUn and Tn.
Theorem 4 (Gelineau-Shin-Zeng). There is an explicit bijection ψ:DUn→Tn such that
for all σ∈DUn, where First(σ) is the first entry of σ.
Let Sn be the group of permutations on [n]. For a permutation σ=σ1…σn∈Sn, a descent (resp. ascent) of σ is a pair (σi,σi+1) with σi>σi+1 (resp. σi<σi+1) and 1≤i≤n−1, a double descent of σ is a triple (σi,σi+1,σi+2) with σi>σi+1>σi+2 and 1≤i≤n−2, and a valley of σ is a triple (σi,σi+1,σi+2) with σi>σi+1<σi+2 and 1≤i≤n−2.
Hetyei [12,Definition 4] defined recursively André permutation of second kind if it is empty or satisfies the following:
(ⅰ) σ has no double descents.
(ⅱ) (σn−1,σn) is not descent, i.e., σn−1<σn.
(ⅲ) For all 2≤i≤n−1, if (σi−1,σi,σi+1) is a valley of σ, then the minimum letter of w2 is larger than the minimum letter of w4 for the σi-factorization (w1,w2,σi,w4,w5) of σ, where the word w1w2σiw4w5 is equal to σ and w2 and w4 are maximal consecutive subwords of σ satisfies its all letters are greater than σi.
It is known that the above definition for André permutation of second kind is simply equivalent to the following definition. Let σ[k] denote the subword of σ consisting of 1,…,k in the order they appear in σ.
Definition 5. A permutation σ∈Sn is called an André permutation if σ[k] has no double descents and ends with an ascent for all 1≤k≤n.
For example, the permutation σ=43512 is not André since the subword σ[4]=4312 contains a double descent (4,3,1), while the permutation τ=31245 is André since there is no double descent in the subwords:
Foata and Schützenberger [10] proved that the Euler number En enumerates the André permutations in Sn. Let An be the set of André permutations in Sn. For example,
Remark. Foata and Schützenberger in [10] introduced augmented André permutation is a permutation σ∈Sn, if σ has no double descents, σn=n, and, for 1<j<k≤n satisfying
there exists ℓ such that j<ℓ<k and σℓ<σk.
Definition 6. A permutation σ∈Sn is called a Simsun permutation if σ[k] has no double descents for all 1≤k≤n.
By definition, an André permutations is always a Simsun permutation, but the reverse is not true. For example, the permutation σ=25134 is Simsun but not André, because τ[2]=21 ends with an descent:
Let RSn be the set of Simsun permutations in Sn. For example,
As for DUn,k, we define two similar refinements of André permutations and Simsun permutations as
Some examples are shown in Table 3.
Foata and Han [8,Theorem 1 (ⅲ)] proved that An,k is an Entringer family by constructing a bijection between DUn,k and An,k. We shall give an easier proof of their result by constructing a simpler bijection ω between Tn,k and An,k. Of course, combining ψ (cf. Theorem 4) and ω we obtain another bijection between DUn,k and An,k.
Theorem 7. For positive integer n≥1, there is a bijection ω:Tn→An such that
for all T∈Tn, where Last(σ) is the last entry of σ. In words, for all 1≤k≤n, the mapping ω is a bijection from Tn,k onto An,k.
Whereas one can easily show that the cardinality #DUn,k of (down-up) alternating permutations of length n with first entry k satisfies (1), it seems hard to show that the cardinality #An,k of André permutations of length n with last entry k or the cardinality #RSn−1,k−1 of Simsun permutations of length n−1 with last entry k−1 does. Thus, in order to show (4) and (6), we shall construct a bijection between DUn,k, An,k, RSn−1,k−1, and other known Entringer families in [11].
Stanley [22,Conjecture 3.1] conjectured a refinement of Purtill's result [18,Theorem 6.1] about the cd-index of André and Simsun permutations with fixed last letter. In this conjecture, he mentioned three kinds of André permutations: (ⅰ) Augmented André permutations in Remark 2, (ⅱ) André permutations in Definition 5, and (ⅲ) augmented Sundaram permutations, where the third corresponds to Simsun permutations in Definition 6 by removing last letter. Hetyei [12] proved the conjecture for the second and the third by verifying that both sides satisfy the same recurrence. In particular, he proves the following result.
Theorem 8 (Hetyei).
For all 1≤k≤n, we have that two cardinalities of An,k and RSn−1,k−1 are same, that is,
In the next theorem, we give a bijective proof of the conjecture of Stanley by constructing an explicit bijection.
Theorem 9. For positive integer n≥1, there is a bijection φ:An→RSn−1 such that
for all σ∈An. In words, the mapping φ is a bijection from An,k onto RSn−1,k−1. Moveover, the bijection φ preserves the cd-index of André and Simsun permutation.
Given a permutation σ∈Bn, denote σ[k] the subword of σ consisting of k smallest entries in the order they appear in σ. A signed André permutation of [n] is a permutation σ∈Bn such that σ[k] has no double descents and ends with an ascent for all 1≤k≤n. Let A(B)n be the set of signed André permutations of [n] and A(B)n,k be the set of signed André permutations σ in A(B)n ending with entry k. For example, the permutation σ=2ˉ4ˉ135 is Andŕe due to
Some examples of A(B)3,k are shown in Table 4.
Definition 10. A type B increasing 1-2 tree on [n] is a binary tree with n signed labels in {±1,±2,…,±n} such that the absolute values of signed labels are distinct and any vertex is greater than its children.
For example, all type B increasing 1-2 trees on [3] are given in Figure 2. Let T(B)n be the set of type B increasing 1-2 trees on n vertices and T(B)n,k be the set of trees T in T(B)n with leaf k as the end of minimal path. Clearly we have T(B)n=⋃|k|>0T(B)n,k.
Our second aim is to show that these two refinements are new Arnold families. Recall that the sequence Sn,k is an Arnold family for 1≤|k|≤n as
Theorem 11. For all 1≤|k|≤n, there are two bijections
Thus, for all 1≤|k|≤n,
In particular, the two sequences A(B)n,k and T(B)n,k are Arnold families for 1≤|k|≤n.
Hetyei[12,Definition 8] defined another class of signed André permutations.
Definition 12 (Hetyei). A signed André permutation is a pair (ε,π), where π is an André permutation such that ε(i)=1 if πi=min{πi,πi+1,…,πn}.
We write A(H)n (resp. A(H)n,k) for the set of the signed André permutations (resp. ending with entry k) in Bn. Some examples of A(H)4,k are shown in Table 4. We have the following conjecture.
Conjecture 13. For all 1≤k≤n, we have
Since the last entry of any permutation in the family A(H)n is always positive, even if Conjecture 13 is true, it covers only the half of Table 2. Now we define signed Simsun permutations corresponding to Heytei's signed André permutations.
Definition 14. A permutation π in Bn is a signed Simsun permutation if |π1||π2|…|πn| is a Simsun permutation and πi>0 for all |πi|=min{|πi|,|πi+1|,…,|πn|}.
Let RS(B)n be the set of signed Simsun permutations in Bn and RS(B)n,k the set of signed Simsun permutations in RS(B)n with last entry k. Some examples of RS(B)3,k are shown in Table 4.
Theorem 15. For positive integer n≥1, there is a bijection φ(B):A(H)n→RS(B)n−1 such that
for all σ∈A(H)n. In words, the mapping φ(B) is a bijection from A(H)n,k onto RS(B)n−1,k−1.
Remark. Ehrenborg and Readdy [6,Section 7] gave a different definition of signed Simsun permutation as follows: A signed permutation σ of length n is a Simsun permutation if σ[k] have no double descents for all 1≤k≤n, where σ[k] is obtained by removing the (n−k) entries ±(k+1),…,±n from σ. Beacuse all eight signed permutations of length 2
are Simsun permutations, we note that it is not an Arnold family.
3.
Proof of Theorems 7, 9, and 15
First of all, we prove Theorem 7, in order to show that (An,k)1≤k≤n is a Entringer family, that is, En,k=#An,k. We construct a bijection ω between Tn,k and An,k in Section 3.1. Hence the map ω∘ψ is a bijection from the set DUn,k of (down-up) alternating permutations with first entry k to the set An,k of André permutations with last entry k. Also, in order to show that (RSn−1,k−1)1≤k≤n is a Entringer family, that is En,k=#RSn−1,k−1, we construct a bijection between An,k and RSn−1,k−1 in Section 3.2 and then two sets An,k and RSn−1,k−1 have the same cardinality.
3.1. Proof of Theorem 7: Bijection ω:Tn,k→An,k.
Given T∈Tn,k, write down the word σ of the vertices of the tree T in inorder, namely, for any vertex v in T, the left child of v and its descendants precede the vertex v and the vertex v precede the right child of v and its descendants. Since T is an increasing tree, we can recover T from σ by finding minimum in subwords in σ successively. The word σ has no double ascents because no vertex in T has only a right child. The leaf p(T) of the minimal path of T is σ1 and the parent of σ1 is σ2, so σ starts with a decent, that is, σ1>σ2. Similarly, since the subgraph of T consisting of 1,…,k, for any k, is also well-defined an increasing 1-2 subtree, the subwords of σ consisting of 1,…,k has also no double ascents and starts with a decent. Thus the word σR, which is the reverse word of σ, is an André permutation of n and let ω(T)=σR.
For example, if the tree T is given by the following figure with a corresponding word σ,
then ω(T)=σR=684512937 as reading reversely vertices of T in inorder.
3.2. Proof of Theorem 9: Bijection φ:An,k→RSn−1,k−1.
Given σ:=σ1…σn∈An,k, let i1<…<iℓ be the positions of the right-to-left minima of σ. Clearly σi1=1, iℓ−1=n−1 and iℓ=n with σn=k. Let φ(σ)=π, where π=π1π2…πn−1 is defined by
We show that π∈RSn−1,k−1. Suppose π[i] has a double descent for some 1≤i≤n. There exists a triple (a,b,c) such that 1≤a<b<c≤n, i≥πa>πb>πc, and πa+1,…,πb−1, πb+1,…,πc−1 are greater than i, which yields πc=min{πj:a≤j≤c}. Then πc could be a right-to-left minimum in π and the others πa,πa+1,…,πc−1 are not in π. As φ(σ)=π, we have
Hence a triple (σa,σb,σc) is a double descent in σ[i], which contradicts that σ is an André permutation. As this procedure is clearly reversible, the mapping φ is a bijection.
Consider the running example σ=684512937. The right-to-left minimums of σ are 1, 2, 3, 7. So after removing 1 from σ, the entries 2, 3, 7 are moved to the positions of 1, 2, 3, respectively, and we get the permutation ˆπ=68452397, and then φ(σ)=π=57341286, which is a Simsun permutation of length 8 with last entry 6.
Remark. Considering the bijection ψ in Theorem 4, the map φ∘ω∘ψ is a bijection from the set of (down-up) alternating permutations of length n with first entry k to the set of Simsun permutations of length n−1 with last entry k−1. Namely we have the diagram in Figure 3. For example, if τ=739154826∈DU9,7, then
where T is the increasing 1-2 tree given in Section 3.1.
3.3. Proof of Theorem 15
One can extend the above mapping φ defined on An to a mapping φ(B) on A(H)n. It is also bijective between A(H)n,k and RS(B)n−1,k−1, but the description of φ(B) and a proof of bijectivity are omitted, because it is very similar in Section 3.2.
Remark. This bijection preserves the cd-indices between André permutations and Simsun permutations. The variation of a permutation π=π1…πn is given by ab-monomial u1…un−1 such that ui=a if πi<πi+1 and ui=b if πi>πi+1. The reduced variation of André permuation is defined by replacing each ba with d and then replacing each remaining a by c. For example, the variation and reduced variation of André permutation σ=684512937 is
For the cd-index of a Simsun permutation σ, we consider augmented Simsun permutation by adding σ(0)=0. Here, the reduced variation of augmented Simsun permuations is defined by replacing each ab with d and then replacing each remaining a by c. So the variation and reduced variation of augmented Simsun permutation 057341286 by adding 0 to φ(σ)=57341286 is
4.
Proof of Theorem 11
Given a σ∈Sn,k, there is a unique order-preserving map πσ, say just π, from {σ1,…,σn} to [n]. In other words, π replaces the i-th smallest entry in σ by i. The permutation τ=πσ belongs to DUn,k and ψ(τ)=ψ(πσ) in Tn,k. Then π−1(ψ(τ)) means the tree with vertex labelings {σ1,…,σn} instead of [n] and it should belong to T(B)n,k. So we construct the bijection ψB from Sn,k to T(B)n,k by
through the unique order-preserving map π. Hence, it yields (7).
For example, in the case of σ=6ˉ39ˉ82ˉ17ˉ45, the order-preserving map πσ is
So we have τ=πσ=739154826 and ψ(τ)=ψ(πσ) and ψB(σ)=π−1(ψ(πσ)) are illustrated as
In Subsection 3.1, we define the bijection ω from Tn,k to An,k. Given a tree T in T(B)n,k, there is a unique order-preserving map πT, say just π, from V(T) to [n]. In other words, π replaces the i-th smallest V(T) by i. After relabeling on vertices of T by π, we obtain the tree π(T) which belongs to Tn,k and ω(π(T)) is in An,k. Then π−1(ω(π(T))) should belong to A(B)n,k. So we construct the bijection ωB from T(B)n,k to A(B)n,k by
through the unique order-preserving map π. Such the map ωB can be described simply, as same as ω, by reading reversely vertices of T in inorder. Hence, it yields (8).
For example, in the case of T illustrated as
we obtain ωB(T)=σR=57ˉ12ˉ8ˉ49ˉ36 by reading reversely vertices of T in inorder. So bijections for type A and type B commute in the diagram of Figure 3.
We summarize four interpretations for Entringer numbers E4,k, k∈{2,3,4} in Table 5 and left three interpretations for Arnold number S3,k, k∈{1,2,3} in Table 6. In every column, the corresponding elements are described via the different bijections mentioned in the paper.
5.
New description of two known bijections
5.1. A decomposition of Chuang et al.'s bijection ϕ:Tn+1→RSn
In 2012, Chuang et al. [4] construct a bijection ϕ:Tn+1→RSn. If x has only one child then it is the right child of x. They described the bijection ϕ between increasing 1-2 trees and Simsun permutations using the following algorithm.
Algorithm A.
(A1) If T consists of the root vertex then T is associated with an empty word.
(A2) Otherwise, the word ρ(T) is defined inductively by the factorization
where the subword ω and the subtree T′ are determined as follows.
(a) If the root of T has only one child x then let ω=x (consisting of a single letter x), let T′=τ(x) (i.e, obtained from T by deleting the root of T), and relabel the vertex x by 1.
(b) If the root of T has two children u, v with u>v then traverse the right subtree τ(u) reversely in inorder, put down the word ω of the vertices of τ(u) and let T′=T−τ(u).
As deleted only 1 in ρ(T), every permutation ρ(T)=a1a2⋯an is a Simsun permutation on {2,3,…,n+1}. Thus we get a Simsun permutation ϕ(T)=b1b2⋯bn on [n] with bi=ai−1 for all 1≤i≤n.
Remark. Originally, in [4], the increasing 1-2 trees on n vertices are labeled with 0,1,…,n−1 instead of 1,2,…,n and was drawn in a canonical form such that if a vertex x has two children u, v with u>v then u is the left child, v is the right child.
Theorem 16. The bijection ϕ:Tn,k→RSn−1,k−1 is the composition of φ and ω; i.e., ϕ=φ∘ω.
Proof. Suppose that we let ω be the root of T without relabeling the vertex x in (A2a), it is obvious that Algorithm A follow the bijeciton ω, i.e., reading the vertex of T reversely in inorder. So it is enough to show that the change in two rules of (A2a) follows φ.
The root of T′ becomes to the left-child of the root of T after (A2a) and the root of T′ is same with the root of T in (A2b). So Algorihm A executes the step (A2a) only when a vertex on the minimal path of an original tree becomes the root of its subtree.
To record the left-child x instead of the root 1 with relabeling the vertex x by 1 in each of (A2a)'s means to exchange x and 1 sequentially according to the minimal path from the root 1 of the original tree T.
It is clear that all vertices in the minimal path in a tree become the right-to-left minimums in a permutation under ω. So each right-to-left minimums is recorded in the position of the previous right-to-left minimums in a permutation obtained from a tree by ω. Since all elements are decreased by 1 in the last step, it satisfies (11), then Algorithm A follows φ∘ω.
5.2. A new description of Gelineau et al.'s bijection ψ:DUn,k→Tn,k
The bijection ψ between DUn,k and Tn,k was constructed as a composition of two bijections via the set ESn,k of encoding sequences in [11]. In this section, we just give directly another description of this bijection ψ from DUn,k to Tn,k, which does not use encoding sequences.
Given an increasing 1-2 tree T∈Tn, by convention, if a vertex x of T has two children u, v with u<v then u is the left child and v is the right child. By convention, if x has only one child then it is the left child of x.
Algorithm B. Gelineau et al. described the bijection ψ between alternating permutations and increasing 1-2 trees using the following algorithm. Due to, for n=1 or 2,
we can define trivially ψ. For n≥3, given π∈DUn,k (k=π1), we define the mapping ψ:DUn,k→Tn,k recursively as follows:
(B1) If π2=k−1, then define π′=π′1π′2…π′n−2∈DUn−2,i−2 by deleting k−1 and k from π and relabeling by [n−2] where i>k, that is, for all 1≤j≤n−2
We get T′=ψ(π′)∈Tn−2,i−2. Relabel T′ by {1,…,k−2,k+1,…,n} keeping in the order of labels, denoted by T″. Let m be the smallest vertex greater than k in the minimal path of T'' and \ell the parent of m in T'' . Then insert a vertex k-1 in the middle of the edge (\ell,m) and graft k as the left-child of k-1 .
We get the tree T = \psi(\pi) \in {{\mathcal{T}}_{n,k}} .
(B2) If \pi_2<k-1 , then define \pi' = (k-1\; k)\pi \in {{\mathcal{DU} }}_{n,k-1} by exchanging k-1 and k in \pi . We get T' = \psi(\pi') \in {\mathcal{T}}_{n,k-1} .
(a) If k is a not sibling of k-1 in T' , then we get the tree T = \psi(\pi) \in {{\mathcal{T}}_{n,k}} exchanging the labels k-1 and k in T' .
(b) If k is a sibling of k-1 in T' , then we get the tree T = \psi(\pi) \in {{\mathcal{T}}_{n,k}} modifying as follows:
Algorithm C. We define another bijection \psi' : {{{\mathcal{DU} }}_{n,k}} \to {{\mathcal{T}}_{n,k}} by the following algorithm. Given \sigma = \sigma_1 \dots \sigma_n \in {{{\mathcal{DU} }}_{n,k}} , denote by d_i(\sigma) = (\sigma_{2i-1}, \sigma_{2i}) with \sigma_{2i-1} > \sigma_{2i} for 1 \le i \le m , where m = \lfloor (n+1)/2\rfloor , but d_{m}(\sigma) = (\sigma_{n}) if n is odd. We shall construct a series of trees T^{(m)}, \ldots, T^{(1)} by reading the pairs d_m(\sigma) , \ldots, d_1(\sigma) in this order.
If n is odd, so d_{m} (\sigma) = (\sigma_n) , define T^{(m)} to be the tree with only root \sigma_n . If n is even, so d_{m}(\sigma) = (\sigma_{n-1}, \sigma_{n}) with \sigma_{n-1} > \sigma_{n} , define T^{(m)} to be the tree with the root \sigma_{n} and its left child \sigma_{n-1} . We note that the vertex \sigma_{2m-1} is the minimal leaf of T^{(m)} .
For 1 \le i \le m-1 , assuming that we have a tree T^{(i+1)} of which the minimal leaf is \sigma_{2i+1} , read d_i(\sigma) = (\sigma_{2i-1}, \sigma_{2i}) . As \sigma_{2i} < \sigma_{2i+1} , the smallest vertex, say a^{(i)} , greater than \sigma_{2i} in the minimal path of T^{(i+1)} is well-defined. By removing all left edges from the increasing 1-2 tree T^{(i+1)} , we have several paths, each connected component of which is called a maximal path consisting only right edges.
(C1) If a^{(i)} < \sigma_{2i-1} , the largest vertex, say b^{(i)} , less than \sigma_{2i-1} in the maximal path from a^{(i)} of T^{(i+1)} is well-defined. For some j\ge 1 , let (v_1, v_1, \ldots, v_j) be the path from a^{(i)} to b^{(i)} with v_1 = a^{(i)} and v_j = b^{(i)} . The vertices v_1, \dots, v_{j-1} should have left child u_1, \dots, u_{j-1} , but v_j may not, with
Decomposing by the maximal path from a^{(i)} to b^{(i)} , we write S_1, \ldots, S_{j} the left-subtrees of the vertices v_1, \ldots, v_{j} and S_{j+1} the right-subtree of b^{(i)} . Since each of u_1, \dots, u_{j-1} lies on each of S_1, \dots, S_{j-1} , S_1, \dots, S_{j-1} should not be empty, but two trees S_{j} and S_{j+1} may be empty. Then, the tree T^{(i)} is obtained from T^{(i+1)} by the following operations:
● Graft \sigma_{2i} so that a^{(i)} is its left-child;
● Flip the tree at vertex a^{(i)} ;
● Transplant the trees S_1, \ldots, S_{j+1} as right-subtrees of the vertices \sigma_{2i} , a^{(i)} , v_2, \ldots, v_{j-1} , b^{(i)} ;
● Graft \sigma_{2i-1} as the left-child of b^{(i)} .
We can illustrate the above transformation by
(C2) If \sigma_{2i-1}<a^{(i)} , then b^{(i)} does not exist. Let S be the subtree with root a^{(i)} of T^{(i+1)} , then the tree T^{(i)} is defined as follows.
● Graft \sigma_{2i} so that a^{(i)} is its right-child;
● Transplant the trees S as the right-subtree of the vertex \sigma_{2i} ;
● Graft \sigma_{2i-1} as the left-child of \sigma_{2i} .
We can illustrate this transformation by the following
We note that the vertex \sigma_{2i-1} is the minimal leaf of T^{(i)} for 1 \le i \le m-1 . And then, we define \psi'(\sigma) = T^{(1)} .
Example. We run the new algorithm to the examples \sigma = 748591623 in Example 3.2 and Fig. 2 in [11]. As n = 9 , we have five pairs
By Algorithm C, we get five trees sequentially
with
Thus, the increasing 1-2 tree T^{(1)} obtained from \sigma under \psi' is the same with the tree obtained from \sigma under \psi in Example 3.2 and Fig. 2 in [11].
Theorem 17. The two bijections \psi and \psi' from {{{\mathcal{DU} }}_{n,k}} to {{\mathcal{T}}_{n,k}} are equal.
Proof. It is clear that (C2) is equivalent to (B1). Since the rule (B2a) just exchange two labels, but does not change the tree-structure, it is enough to show that (C1) is produced recursively from (B1) and (B2b).
Assume that \sigma_{2i-1} > a^{(i)} > \sigma_{2i} for some 1 \le i \le m-1 . We obtain the right tree in the following by applying (B1) to the tree T^{(i+1)} .
Due to \sigma_{2i-1} > v_1 ( = a^{(i)}) , it is not an increasing 1-2 tree and we apply (B2b) to the above tree as follows.
Since \sigma_{2i-1} > v_j > \dots > v_2 , until we have an increasing 1-2 tree, repeat to apply (B2b) as follows.
Since (C2a) is produced from the rule (B1) and (B2b), then Algorithm C follows Algorithm B.
Acknowledgments
The first author's work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIP) (No. 2017R1C1B2008269).