Combinatorial Gray codes for classes of pattern avoiding permutations
W.M.B. Dukes, Mark F. Flanagan, Toufik Mansour, V. Vajnovszki

TL;DR
This paper develops combinatorial Gray codes for efficiently generating pattern avoiding permutations across various families, enabling exhaustive enumeration with minimal changes, which is useful for applications requiring ordered permutation generation.
Contribution
It introduces new algorithms and Gray codes for pattern avoiding permutations, covering multiple well-known combinatorial families and providing efficient exhaustive generation methods.
Findings
Gray codes with distances 4 and 5 for pattern avoiding permutations
Algorithms for families counted by Catalan, Schröder, Pell, Fibonacci, and binomial coefficients
Exhaustive generation of permutations with specific pattern constraints
Abstract
The past decade has seen a flurry of research into pattern avoiding permutations but little of it is concerned with their exhaustive generation. Many applications call for exhaustive generation of permutations subject to various constraints or imposing a particular generating order. In this paper we present generating algorithms and combinatorial Gray codes for several families of pattern avoiding permutations. Among the families under consideration are those counted by Catalan, Schr\"oder, Pell, even index Fibonacci numbers and the central binomial coefficients. Consequently, this provides Gray codes for for all and the obtained Gray codes have distances 4 and 5.
Click any figure to enlarge with its caption.
Figure 1Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Combinatorial Mathematics · graph theory and CDMA systems · Coding theory and cryptography
Combinatorial Gray codes for classes of pattern avoiding permutations
W.M.B. Dukes, M.F. Flanagan, T. Mansour and V. Vajnovszki
Science Institute, University of Iceland, Reykjavík, Iceland.
Institute for Digital Communications, The University of Edinburgh, The King’s Buildings, Mayfield Road, Edinburgh EH9 3JL, Scotland.
Department of Mathematics, University of Haifa, 31905 Haifa, Israel.
LE2I UMR CNRS 5158, Université de Bourgogne B.P. 47 870, 21078 DIJON-Cedex France
Abstract.
The past decade has seen a flurry of research into pattern avoiding permutations but little of it is concerned with their exhaustive generation. Many applications call for exhaustive generation of permutations subject to various constraints or imposing a particular generating order. In this paper we present generating algorithms and combinatorial Gray codes for several families of pattern avoiding permutations. Among the families under consideration are those counted by Catalan, large Schröder, Pell, even-index Fibonacci numbers and the central binomial coefficients. We thus provide Gray codes for the set of all permutations of avoiding the pattern for all and the Gray codes we obtain have distances 4 or 5.
Key words and phrases:
Gray codes, pattern avoiding permutations, generating algorithms
2000 Mathematics Subject Classification:
Primary: 05A05, 94B25, Secondary: 05A15
1. Introduction
A number of authors have been interested in Gray codes and generating algorithms for permutations and their restrictions (unrestricted [10], with given ups and downs [14, 18], involutions, and fixed-point free involutions [24], derangements [5], permutations with a fixed number of cycles [2]) or their generalizations (multiset permutations [13, 23]). A recent paper [12] presented Gray codes and generating algorithms for the three classes of pattern avoiding permutations: , , and permutations in which have exactly inversions. In [6] a general technique is presented for the generation of Gray codes for a large class of combinatorial families; it is based on the ECO method and produces objects by their encoding given by the generating tree (in some cases the obtained encodings can be translated into the objects). Motivated by these papers, we investigate the related problem for several new classes of pattern avoiding permutations.
More specifically, we give combinatorial Gray codes for classes of pattern avoiding permutations which are counted by Catalan, Schröder, Pell, even-index Fibonacci numbers and the central binomial coefficients; the Gray codes we obtain have distances 4 or 5. Our work is different from similar work for combinatorial classes having the same counting sequence, see for instance [6, 22]. Indeed, as Savage [21, §7] points out: ‘Since bijections are known between most members of the Catalan family, a Gray code for one member of the family gives implicitly a listing scheme for every other member of the family. However, the resulting list may not look like Gray codes, since bijections need not preserve minimal changes between elements.’
Some direct constructions for exist but are, however, not Gray codes. For example, Bóna [8, §8.1.2] provides an algorithm for generating . This algorithm is such that the successor of the permutation is . The number of places in which these two permutations differ is linear in .
In Section 2 we present a combinatorial Gray code for with distance 4. In Section 3 we present a Gray code for the Schröder permutations, , with distance 5. In Section 4 we present a general generating algorithm and Gray codes for some classes of pattern avoiding permutations and discuss its limits.
The techniques we will use are: in Section 2 and 3 reversing sublists [20]; in Section 3 combinatorial bijections [12]; and in Section 4 generating trees [6].
Throughout this paper, it is convenient to use the following notation. The number is the -th Catalan number. The large Schröder numbers are defined by and for all ,
[TABLE]
Let , and for all ,
[TABLE]
[TABLE]
The parity of these numbers will be extremely important in proving the Gray code properties of the generating algorithms for permutations we define later on in the paper. However, the parity of and are not explicitly used in the algorithms. Note that for all , is odd iff is even. One can easily show that is odd iff . For two permutations and in , the metric is the number of places in which they differ; and we denote by (or more compactly as ) their product, that is, the permutation in with for all , . In particular, when is the transposition , then is the permutation with for all , except that and .
2. A Gray code for
Note that if is an ordered list of elements of such that , then the operations of reverse, complement and their composition provide lists for , and , respectively, which preserve the distance between two adjacent permutations.
2.1. Generating 231-avoiding permutations
First we introduce some general notation concerning the list that our algorithm will generate and then provide the necessary proofs to show that is the desired object.
For every , let denote a list consisting of entries, each of which is some permutation of . The -th entry is denoted . In order that we may copy such a list, either in its natural or reversed order, we define to be if is odd, and reversed if is even, for every positive integer . Thus for all .
By we shall mean with every element incremented by the value . Concatenation of lists is defined in the usual way, concatenation of any permutation with the null permutation yields the same permutation, i.e. .
The list is defined recursively as follows; consists of a single entry which contains the null permutation that we denote as . For any ,
[TABLE]
where is defined in Equation (1.2) and denotes the concatenation operator, e.g.
[TABLE]
Lemma 2.1**.**
The list contains all -avoiding permutations exactly once.
Proof.
Every permutation may be decomposed as , where and is a 231-avoiding permutation on the set which is order-isomorphic to a . In , assumes the positions . For each position of , runs through alternately forwards and backwards, forwards the last time. For each , runs through alternately forwards and backwards, backwards the first time (see Table 1). The result follows by strong induction on . ∎
Lemma 2.2**.**
For all ,
[TABLE]
Proof.
The proof proceeds by induction on . We have . Assume the result holds for each . Then by Equation (2.1), corresponds to the expression with and ;
[TABLE]
The last entry corresponds to the expression in Equation (2.1) with and ;
[TABLE]
∎
Theorem 2.3**.**
For each , differs from its successor by a rotation of two, three or four elements.
Proof.
The proof proceeds by induction. The result holds trivially for since consists of a single permutation. Assume the result holds for for each . From Equation (2.1), there are 3 cases:
- (i)
The current permutation corresponds to and the next permutation corresponds to , where . Therefore
[TABLE]
and by the induction hypothesis,
[TABLE] 2. (ii)
The current permutation corresponds to and the next permutation corresponds to , where . Therefore
[TABLE]
Since , the induction hypothesis gives
[TABLE] 3. (iii)
The current permutation corresponds to and the next permutation corresponds to , where . Therefore
[TABLE]
This divides into four cases, where in each case we use Lemma 2.2 and the fact that :
(a) If is odd and is odd, then
[TABLE]
Here is obtained from via a single transposition of elements at positions .
(b) If is odd and is even, then
[TABLE]
for all . Here is obtained from via a rotation of the 3 elements at positions . If then
[TABLE]
These permutations differ by a rotation of the 3 elements at positions . If then
[TABLE]
These permutations differ by a rotation of the 3 elements at positions .
(c) If is even and is odd, then
[TABLE]
for all . Here is obtained from via a rotation of the 3 elements at positions .
The degenerate cases are dealt with in the same manner as those at the end of part (b).
(d) If is even and is even, then
[TABLE]
for all . Here is obtained from via a rotation of the 4 elements at positions . The degenerate cases are dealt with in the same manner as those at the end of part (b).
∎
In Table 1 is given the list obtained by relation (2.1). The alert reader will note that there is no rotation of 4 elements in Table 1. Such a rotation is first observed when and (the permutation 2176345 becomes 3127645).
3. A Gray code for Schröder permutations
The permutations are called Schröder permutations and are just one of the classes of permutations enumerated by the Schröder numbers mentioned in the Introduction. Let be the class of Schröder paths from (0,0) to (such paths may take steps , and but never go below the -axis). This class is enumerated by , see for instance [9].
In what follows, we will present a recursive procedure for generating all Schröder paths of length . This procedure has the property that if the paths in are listed as , then the sequence of permutations is a Gray code for with distance 5. First we briefly describe Egge and Mansour’s [9, §4] bijection .
Let and let be the transposition .
**Step 1: **
For all integers , with , if either of the points or is contained in the region beneath and above the -axis, then place a dot at that point. For such a dot, with coordinates , associate the label where . Let .
**Step 2: **
Choose the rightmost dot that has no line associated with it (with label , say). Draw a line parallel to the -axis from this dot to the leftmost dot that may be reached without crossing (which has label , say). Let , where , applied to a permutation , exchanges with . If all dots have lines running through them, then go to step 3. Otherwise increase by and repeat step 2.
**Step 3: **
Let .
Example 3.1**.**
*Consider the path in the diagram.
The dots indicate the points realized in Step 1 and the lines joining them indicate how each of the ’s are formed. We have , , and . So
[TABLE]
3.1. Generating all Schröder paths
There are many ways to recursively generate all Schröder paths of length . In what follows, we give one such procedure for generating the list . This list has the property that the corresponding permutations, under the bijection , are a Gray code for Schröder permutations of distance 5.
As in Section 2, we will use the convention that for any integer , if is odd and is reversed, if is even. Entry of is denoted . In this notation we will have
[TABLE]
Define to be the list consisting of the single null Schröder path, denoted . For all , the paths are generated recursively via
[TABLE]
starts with with each path preceded by . There follow all the Schröder paths beginning with . Let be the partner of this (the that returns the path to the axis). Then assumes positions in the path. For each , we have the paths in , where runs through alternately forwards and backwards, backwards the last time, and for each , runs through alternately forwards and backwards, backwards the first time.
Furthermore, we define and
[TABLE]
For example, we have and . Thus and . The paths and permutations , , and are listed in Tables 2 and 3. For two paths , we write for the number of places in which the two paths differ when each is replaced by where represents (1,0); e.g. and .
Lemma 3.2**.**
Equation (3.2) generates all Schröder paths of length .
Proof.
This is routine by induction. The first concatenation operator forms all paths that begin with step . If a path does not begin with , then it does not touch the axis for the first time until . A path of this form is uniquely expressed as where and . ∎
Lemma 3.3**.**
For all , and .
Proof.
By Equation (3.2) we have that and ; so the result is true for . Assume it to be true for all . Then .
Similarly, corresponds to Equation (3.2) with , thus
[TABLE]
Hence by induction the result is true for all . ∎
Under the bijection , we thus have
Corollary 3.4**.**
For all ,
[TABLE]
Theorem 3.5**.**
For each , differs from in at most 5 places and .
Proof.
This proof follows by strong induction and analyzing the different successors that occur in Equation (3.2). The statement in the Theorem holds for because there is only one permutation. We assume the statement in the Theorem holds true for all . From Equation (3.2) there are five cases to consider:
- (i)
If , then and . This gives
[TABLE]
which is by our hypothesis. Thus
[TABLE]
and so . 2. (ii)
If then by Equation (3.2) with and Lemma 3.3 we have
[TABLE]
Thus . The corresponding permutations are
[TABLE]
so that . 3. (iii)
If corresponds to for some in Equation (3.2) then
[TABLE]
and the distance of the two paths is no greater than 5, by the induction hypothesis. Therefore
[TABLE]
where
[TABLE]
Using the fact that if , then , we have by the induction hypothesis . 4. (iv)
If corresponds to Equation (3.2) with triple , where , then the successor corresponds to Equation (3.2) with triple . Consequently,
[TABLE]
Since , the result for follows by the induction hypothesis applied to . Now if is odd, then
[TABLE]
where is with every element incremented by . Since , we have that . The case where is even is handled in a similar manner with the suffix replaced by . 5. (v)
If corresponds to Equation (3.2) with triple , where , then corresponds to Equation (3.2) with triple . Consequently
[TABLE]
This divides into 4 sub-cases depending on the parity of the numbers and . Each case is easily resolved by applying Lemma 3.3.
- (a)
If is even and is even, then
[TABLE]
which differ in two positions. This gives
[TABLE]
for all . The two permutations differ by a transposing the elements at positions . 2. (b)
If is odd and is odd, then
[TABLE]
which differ in five positions. This gives
[TABLE]
for all . These two permutations differ in five places (a transposition of the positions and a cycle of three elements at positions ). For we have
[TABLE]
which differ by a cycle of three elements at positions (1,2,3). Similarly, for we have
[TABLE]
which differ by transposing the entries in positions . 3. (c)
If is odd and is even, then
[TABLE]
Thus differs from in four positions. This gives
[TABLE]
for all . The two permutations differ in three places (a rotation of three elements at positions ). The degenerate case is handled in the same manner as in part (a). 4. (d)
If is even and is odd, then
[TABLE]
Thus differs from in five positions. This gives
[TABLE]
and
[TABLE]
for all . The two permutations differ in four places (the two disjoint transpositions of elements at positions and ). The degenerate case is handled in the same manner as in part (a).
∎
The lists , , and are given in Table 2 and 3. Note that, unlike , the list is a circular Gray code; its first and last element have distance at most five. The choice of a Gray code for Schröder paths is critical in our construction of a Gray code for since Egge and Mansour’s bijection , generally, does not preserves distances. For instance but differs from in all positions. Also, there already exists a distance five Gray code for Schröder paths [22] but it is not transformed into a Gray code for by a known bijection. Finally, as in the previous section, both Gray codes presented above can be implemented in exhaustive generating algorithms.
4. Regular patterns and Gray codes
Here we present a general generating algorithm and Gray codes for permutations avoiding a set of patterns , provided satisfies certain constraints. The operations of reverse, complement and their composition extend these to codes for , and . Our approach is based on generating trees; see [1, 6, 7, 25] and the references therein. In [6] a general Gray code for a very large family of combinatorial objects is given; objects are encoded by their corresponding path in the generating tree and often it is possible to translate the obtained codes into codes for objects. The method we present here is, in a way, complementary to that of [6]: it works for a large family of patterns and objects are produced in ‘natural’ representation. It is also easily implemented by efficient generating algorithms. Its disadvantage is, for example, that it gives a distance-5 Gray code for , and so is less optimal than the one given in Section 2; and it does not work for (the set of patterns considered in Section 3) since does not satisfy the required criteria.
We begin by explaining the generating trees technique in the context of pattern avoidance. The sites of are the positions between two consecutive entries, as well as before the first and after the last entry; and they are numbered, from right to left, from to . For a permutation , with a set of forbidden patterns, is an active site if the permutation obtained from by inserting into its -th site is a permutation in ; we call such a permutation in a son of . Clearly, if , by erasing in one obtains a permutation in ; or equivalently, any permutation in is obtained from a permutation in by inserting into one of its active sites. The active sites of a permutation are right justified if the sites to the right of any active site are also active. We denote by the number of active sites of the permutation obtained from by inserting into its -th active site.
A set of patterns is called regular if for any and
has at least two active sites and they are right justified;
does not depend on but only on the number of active sites of ; in this case we denote by .
In what follows we shall assume that is a regular set of patterns. Several examples of regular patterns , together with their respective functions, are given at the end of this section.
Now we will describe an efficient (constant amortized time) generating algorithm for permutations avoiding a regular set of patterns; then we show how we can modify it to obtain Gray codes. If , then ; otherwise . An efficient implementation is based on the following considerations and its pseudocode is given in Algorithm 2. The permutation obtained from by inserting into its first (rightmost) active site is . Let (resp. ) be the permutation obtained from by inserting into the -th (resp. -th) active site of . In this case is obtained by transposing the entries in positions and of . In addition, if is calculable, from and , in constant time, then the obtained algorithm, Gen_Avoid (Algorithm 2), runs in constant amortized time. Indeed, this algorithm satisfies the following properties:
- •
the total amount of computation in each call is proportional with the number of direct calls produced by this call,
- •
each non-terminal call produces at least two recursive calls (i.e., there is no call of degree one), and
- •
each terminal call (degree-zero call) produces a new permutation,
see for instance [19] and Figure 1 (a) for an example.
Now we show how one can modify the generating procedure Gen_Avoid sketched above in order to produce a Gray code listing. We associate to each permutation
- •
a direction, up or down, and we denote by the permutation with direction up and by the permutation with direction down. A permutation together with its direction is called directed permutation.
- •
a list of successors, each of them a permutation in . The first permutation in the list of successors of has direction up and all others have direction down. The list of successors of is obtained by reversing the list of successors of and then reversing the direction of each element of the list.
Let with successors (or, equivalently, active sites), and be the unimodal sequence of integers
[TABLE]
This list is very important in our construction of a Gray code; it has the following critical properties, independent of : it begins and ends with the same element, and the difference between two consecutive elements is less than or equal to .
For a permutation with active sites, the list of successors of , denoted by , is a list of directed permutations in : its -th element is obtained from by inserting in the -th active site of ; and as stated above, the first permutation in has direction up and all others have direction down. And we extend in natural way to lists of directed permutations: is simply the list . This kind of distribution of directions among the successors of an object is similar to that of [26].
Let and define the list
[TABLE]
where is the -th directed permutation of , anchored by . We will show that the list of permutations in (regardless of their directions) is a Gray code with distance for the set . With these considerations in mind we have
Lemma 4.1**.**
**
- •
The list contains all -avoiding permutations exactly once;
- •
The first permutation in is and the last one is .
Lemma 4.2**.**
If is a directed permutation in (that is, is a length permutation and is a direction), then two successive permutations in , say and , differ in at most three positions.
Proof.
Since is the reverse of it is enough to prove the statement for ; so suppose that . Let and be the permutations obtained by inserting in the -th and -th active site of , respectively, for some . Since , . ∎
Let and denote the first (leftmost) element of the list , , and . Similarly, denotes the last (rightmost) element of the list , and is defined analogously. For let . By the recursive application of the definition of the list we have the following lemma.
Lemma 4.3**.**
If , then and for any .
Proof.
, the first successor of has direction for any , and generally for . Similarly, , the last successor of has direction for any , and for . ∎
Lemma 4.4**.**
If and , then, for ,
[TABLE]
Proof.
and . Induction on completes the proof. ∎
Theorem 4.5**.**
Two consecutive permutations in differ in at most five positions.
Proof.
Let and be two consecutive elements of . If there is a such that , then, by Lemma 4.2 and differ in at most three positions. Otherwise, let be the closest common ancestor of and in the generating tree, that is, is the longest permutation such that there exists a direction with . In this case, there exist and successive elements in (so that and differ in at most three positions) and an such that and .
If , then and are obtained from and by the insertion of their largest element in the first or second active site, according to and ; in these cases and differ in at most five positions. (Actually, if , then and differ as and , that is, in at most three positions.)
If , by Lemma 4.3, and . Since and differ in at most five positions, by Lemma 4.4, so are and . ∎
The first and last permutations in have distance two, so is a circular Gray code, see Table 4. The generating algorithm Gen_Avoid sketched in the beginning of this section and presented in Algorithm 2 can be easily modified to generate the list for any set of regular patterns: it is enough to change appropriately the order among its successive recursive calls by endowing each permutation with a direction as described above; see also Figure 1.
4.1. Several well-known classes of regular patterns
Below we give several classes of regular patterns together with the function. For each class, a recursive construction is given in the corresponding reference(s); it is based (often implicitly) on the distribution of active sites of the permutations belonging to the class. It is routine to express these recursive constructions in terms of functions and check the regularity of each class.
Classes given by counting sequences:
- (i)
[4].
, 2. (ii)
Pell numbers [4].
, \chi_{T}(i,k)=\left\{\begin{array}[]{ll}3&{\rm if}\ i=1\\ 2&{\rm otherwise}\end{array}\right. 3. (iii)
even-index Fibonacci numbers [4].
, \chi_{T}(i,k)=\left\{\begin{array}[]{ll}k+1&{\rm if}\ i=1\\ 2&{\rm otherwise}\end{array}\right.
- -
, \chi_{T}(i,k)=\left\{\begin{array}[]{ll}3&{\rm if}\ i=1\\ i&{\rm otherwise}\end{array}\right. 4. (iv)
,
- -
, \chi_{T}(i,k)=\left\{\begin{array}[]{ll}k+1&{\rm if}\ i=1\\ i&{\rm otherwise}\end{array}\right. 5. (v)
Schröder numbers [11].
, \chi_{T}(i,k)=\left\{\begin{array}[]{ll}k+1&{\rm if}\ i=1{\rm\ or\ }i=2\\ i&{\rm otherwise}\end{array}\right.
- -
, \chi_{T}(i,k)=\left\{\begin{array}[]{ll}k+1&{\rm if}\ i=1{\rm\ or\ }i=k\\ i+1&{\rm otherwise}\end{array}\right.
- -
, \chi_{T}(i,k)=\left\{\begin{array}[]{ll}k+1&{\rm if}\ i=k-1{\rm\ or\ }i=k\\ i+2&{\rm otherwise}\end{array}\right. 6. (vi)
central binomial coefficients [11].
, \chi_{T}(i,k)=\left\{\begin{array}[]{ll}k+1&{\rm if}\ i=1\\ 3&{\rm if}\ i=2\\ i&{\rm otherwise}\end{array}\right.
- -
, \chi_{T}(i,k)=\left\{\begin{array}[]{ll}3&{\rm if}\ i=1\\ i+1&{\rm otherwise}\end{array}\right.
Variable length patterns:
- (a)
, \chi_{T}(i,k)=\left\{\begin{array}[]{ll}k+1&{\rm if}\ i=1{\rm\ and\ }k<p\\ p&{\rm if}\ i=1{\rm\ and\ }k=p\\ i&{\rm otherwise}\end{array}\right.
See for instance [7, 4]. If , then we retrieve the case (i) above; corresponds to in case (iii); and corresponds to in case (iv). 2. (b)
, \chi_{T}(i,k)=\left\{\begin{array}[]{ll}k+1&{\rm if}\ i=1{\rm\ and\ }k<p\\ p&{\rm if}\ i=1{\rm\ and\ }k=p\\ 2&{\rm otherwise}\end{array}\right.
See for instance [4]. If , then we retrieve the case (i) above; if , the case (ii); and corresponds to in case (iii). 3. (c)
.
\chi_{T}(i,k)=\left\{\begin{array}[]{ll}k+1&{\rm if}\ k<p{\rm\ or\ }i>k-p+1\\ i+p-1&{\rm otherwise}\end{array}\right.
See [3, 15, 16]. If , then we retrieve the case in point (iv) above; and corresponds to in point (v).
Acknowledgments
The authors kindly thank the anonymous referees for their helpful suggestions which have greatly improved the accuracy and presentation of this work. The first two authors would also like to thank Toast, Dublin, for their hospitality during the preparation of this document.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Silvia Bacchelli, Elena Barcucci, Elisabetta Grazzini and Elisa Pergola, Exhaustive generation of combinatorial objects by ECO, Acta Informatica 40 :8 (2004) 585-602.
- 2[2] Jean-Luc Baril, Gray code for permutations with a fixed number of cycles, Disc. Math. 30 :13 (2007) 1559–1571.
- 3[3] Elena Barcucci, Alberto Del Lungo, Elisa Pergola and Renzo Pinzani, Permutations avoiding an increasing number of length-increasing forbidden subsequences, Disc. Math. Theor. Comp. Sci. 4 :1 (2000) 31–44.
- 4[4] Elena Barcucci, Antonio Bernini and Maddalena Poneti, From Fibonacci to Catalan permutations, Pu MA 17 (1-2) (2006) 1–17.
- 5[5] Jean-Luc Baril and Vincent Vajnovszki, Gray code for derangements, Disc. App. Math. 140 (2004) 207–221.
- 6[6] Antonio Bernini, Elisabetta Grazzini, Elisa Pergola and Renzo Pinzani, A general exhaustive generation algorithm for Gray structures, Acta Informatica 44 :5 (2007) 361–376. Also as preprint math.CO/0703262 .
- 7[7] Timothy Chow and Julian West, Forbidden sequences and Chebyshev polynomials, Disc. Math. 204 (1999) 119–128.
- 8[8] Miklós Bóna. Combinatorics of Permutations. Chapman & Hall, 2004.
