Increasing and Decreasing Subsequences

Similar documents
arxiv:math/ v1 [math.co] 1 Dec 2005

Enumerative Combinatorics with Fillings of Polyominoes

Enumerative Combinatorics with Fillings of Polyominoes

From longest increasing subsequences to Whittaker functions and random polymers

Standard Young Tableaux Old and New

Universality of distribution functions in random matrix theory Arno Kuijlaars Katholieke Universiteit Leuven, Belgium

L n = l n (π n ) = length of a longest increasing subsequence of π n.

Geometric RSK, Whittaker functions and random polymers

Beyond the Gaussian universality class

Sum of matrix entries of representations of the symmetric group and its asymptotics

On the Error Bound in the Normal Approximation for Jack Measures (Joint work with Le Van Thanh)

Patterns in Standard Young Tableaux

Symmetrized random permutations

CROSSINGS AND NESTINGS OF MATCHINGS AND PARTITIONS

Enumeration of Set Partitions Refined by. Crossing and Nesting Numbers

RANDOM MATRIX THEORY AND TOEPLITZ DETERMINANTS

Painlevé Representations for Distribution Functions for Next-Largest, Next-Next-Largest, etc., Eigenvalues of GOE, GUE and GSE

JINHO BAIK Department of Mathematics University of Michigan Ann Arbor, MI USA

Airy and Pearcey Processes

On Longest Increasing Subsequences and Random Young Tableaux: Experimental Results and Recent Theorems

Random Growth and Random Matrices

Reduced words and a formula of Macdonald

High-dimensional permutations

Asymptotics for minimal overlapping patterns for generalized Euler permutations, standard tableaux of rectangular shapes, and column strict arrays

Tableau sequences, open diagrams, and Baxter families

Towards the Distribution of the Size of a Largest Planar Matching and Largest Planar Subgraph in Random Bipartite Graphs

A Survey of Alternating Permutations

Maximal height of non-intersecting Brownian motions

Fluctuations of random tilings and discrete Beta-ensembles

Random Curve and Surface

Row-strict quasisymmetric Schur functions

Fluctuations of random tilings and discrete Beta-ensembles

Rectangular Young tableaux and the Jacobi ensemble

The goal of this article is twofold:

DIFFERENTIAL POSETS SIMON RUBINSTEIN-SALZEDO

Some Catalan Musings p. 1. Some Catalan Musings. Richard P. Stanley

More about partitions

Markov operators, classical orthogonal polynomial ensembles, and random matrices

Some Catalan Musings p. 1. Some Catalan Musings. Richard P. Stanley

Coxeter-Knuth Classes and a Signed Little Bijection

Factorization of the Robinson-Schensted-Knuth Correspondence

A Survey of Parking Functions

Concentration Inequalities for Random Matrices

Random sorting networks

Crossings and Nestings in Tangled Diagrams

Expected Number of Distinct Subsequences in Randomly Gener

ON THE LIMITING SHAPE OF RANDOM YOUNG TABLEAUX FOR MARKOVIAN WORDS

YOUNG-JUCYS-MURPHY ELEMENTS

Topics in Combinatorics and Random Matrix Theory

NOTES ABOUT SATURATED CHAINS IN THE DYCK PATH POSET. 1. Basic Definitions

Two Remarks on Skew Tableaux

Two Remarks on Skew Tableaux

Exponential tail inequalities for eigenvalues of random matrices

Discrete tomography, RSK correspondence and Kronecker products

(Permutations Arising from) Hook Coefficients of Chromatic Symmetric Functions

Fredholm determinant with the confluent hypergeometric kernel

Recent developments on log-concavity and q-log-concavity of combinatorial polynomials

YOUNG TABLEAUX AND THE REPRESENTATIONS OF THE SYMMETRIC GROUP

Primes, partitions and permutations. Paul-Olivier Dehaye ETH Zürich, October 31 st

Cylindric Young Tableaux and their Properties

Littlewood Richardson polynomials

Numerical Methods for Random Matrices

Algebra C Numerical Linear Algebra Sample Exam Problems

Six-vertex model partition functions and symmetric polynomials of type BC

NUMERICAL CALCULATION OF RANDOM MATRIX DISTRIBUTIONS AND ORTHOGONAL POLYNOMIALS. Sheehan Olver NA Group, Oxford

Asymptotic Combinatorics and Algebraic Analysis

Statistical Mechanics and Combinatorics : Lecture IV

A Formula for the Specialization of Skew Schur Functions

Local semicircle law, Wegner estimate and level repulsion for Wigner random matrices

Results and conjectures on the number of standard strong marked tableaux

Lectures 6 7 : Marchenko-Pastur Law

arxiv:math/ v1 [math.co] 27 Nov 2006

arxiv: v1 [math.co] 22 Oct 2007

Shifted symmetric functions I: the vanishing property, skew Young diagrams and symmetric group characters

Determinantal Processes And The IID Gaussian Power Series

Homomesy of Alignments in Perfect Matchings

MATRIX INTEGRALS AND MAP ENUMERATION 2

COUNTING NONINTERSECTING LATTICE PATHS WITH TURNS

Catalan functions and k-schur positivity

(a) If A is a 3 by 4 matrix, what does this tell us about its nullspace? Solution: dim N(A) 1, since rank(a) 3. Ax =

Sergey Fomin* and. Minneapolis, MN We consider the partial order on partitions of integers dened by removal of

Dirac Operator. Göttingen Mathematical Institute. Paul Baum Penn State 6 February, 2017

Random Matrices and Multivariate Statistical Analysis

Bulk scaling limits, open questions

Extreme eigenvalue fluctutations for GUE

Wigner s semicircle law

Combinatorial Structures

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.

Involutions by Descents/Ascents and Symmetric Integral Matrices. Alan Hoffman Fest - my hero Rutgers University September 2014

Duality, Statistical Mechanics and Random Matrices. Bielefeld Lectures

REPRESENTATION THEORY WEEK 7

SL(2) and z-measures. arxiv:math/ v1 [math.rt] 16 Feb Introduction. Andrei Okounkov 1.1

Young s Natural Representations of S 4

forms Christopher Engström November 14, 2014 MAA704: Matrix factorization and canonical forms Matrix properties Matrix factorization Canonical forms

Chains of Length 2 in Fillings of Layer Polyominoes

MULTI-ORDERED POSETS. Lisa Bishop Department of Mathematics, Occidental College, Los Angeles, CA 90041, United States.

Two-periodic Aztec diamond

On the Longest Common Pattern Contained in Two or More Random Permutations

Symmetric functions and random partitions arxiv:math.co/ v1 4 Sep 2003

Pattern Avoidance of Generalized Permutations

Transcription:

Increasing and Decreasing Subsequences Richard P. Stanley M.I.T.

Permutations

Permutations First lecture: increasing and decreasing subsequences

Permutations First lecture: increasing and decreasing subsequences Second lecture: alternating permutations

Permutations First lecture: increasing and decreasing subsequences Second lecture: alternating permutations Third lecture: reduced decompositions

Definitions 3 1 8 4 9 6 7 2 5 (increasing subsequence) 3 1 8 4 9 6 7 2 5 (decreasing subsequence) is(w) = longest i.s. = 4 ds(w) = longest d.s. = 3

Application: airplane boarding Naive model: passengers board in order w = a 1 a 2 a n for seats 1, 2,..., n. Each passenger takes one time unit to be seated after arriving at his seat.

Boarding process 2 5 3 6 1 4 6 5 4 3 2 1

Boarding process 2 5 3 6 1 4 6 5 4 3 2 1 2536 14

Boarding process 2 5 3 6 1 4 6 5 4 3 2 1 2536 14 5 3 6 4 2 1

Boarding process 2 5 3 6 1 4 6 5 4 3 2 1 2536 14 5 3 6 4 2 1 6 4 5 3 2 1

Results Easy: Total waiting time = is(w). Bachmat, et al.: more sophisticated model.

Results Easy: Total waiting time = is(w). Bachmat, et al.: more sophisticated model. Two conclusions: Usual system (back-to-front) not much better than random. Better: first board window seats, then center, then aisle.

Partitions partition λ n: λ = (λ 1, λ 2,... ) λ 1 λ 2 0 λi = n

Young diagrams (Young) diagram of λ = (4, 4, 3, 1):

Conjugate partitions λ = (4, 3, 3, 2), the conjugate partition to λ = (4, 4, 3, 2) λ λ

Standard Young tableau standard Young tableau (SYT) of shape λ n, e.g., λ = (4, 4, 3, 1): < 1 2 7 10 < 3 5 8 4 6 11 9 12

f λ f λ = # of SYT of shape λ E.g., f (3,2) = 5: 1 2 3 1 2 4 1 2 5 1 3 4 1 3 5 4 5 3 5 3 4 2 5 2 4

f λ f λ = # of SYT of shape λ E.g., f (3,2) = 5: 1 2 3 1 2 4 1 2 5 1 3 4 1 3 5 4 5 3 5 3 4 2 5 2 4 simple formula for f λ (Frame-Robinson-Thrall hook-length formula)

f λ f λ = # of SYT of shape λ E.g., f (3,2) = 5: 1 2 3 1 2 4 1 2 5 1 3 4 1 3 5 4 5 3 5 3 4 2 5 2 4 simple formula for f λ (Frame-Robinson-Thrall hook-length formula) Note. f λ = dim(irrep. of S n ), where S n is the symmetric group of all permutations of 1, 2..., n.

RSK algorithm RSK algorithm: a bijection w rsk (P, Q), where w S n and P, Q are SYT of the same shape λ n. Write λ = sh(w), the shape of w.

RSK algorithm RSK algorithm: a bijection w rsk (P, Q), where w S n and P, Q are SYT of the same shape λ n. Write λ = sh(w), the shape of w. R = Gilbert de Beauregard Robinson S = Craige Schensted (= Ea Ea) K = Donald Ervin Knuth

Example of RSK w = 4132: 4 1 3 2 4 3 2 1 4 1 4 13 4 12 3 4 12 3 12 1 φ

Example of RSK w = 4132: 4 1 3 2 4 3 2 1 4 1 4 13 4 (P, Q) = 12 3 4 ( 1 2 3 4 12 3, 12 1 1 3 2 4 ) φ

Schensted s theorem Theorem. Let w rsk (P, Q), where sh(p ) = sh(q) = λ. Then is(w) = longest row length = λ 1 ds(w) = longest column length = λ 1.

Schensted s theorem Theorem. Let w rsk (P, Q), where sh(p ) = sh(q) = λ. Then is(w) = longest row length = λ 1 ds(w) = longest column length = λ 1. ( ) 1 2 Example. 4132 rsk 1 3 3, 2 4 4 is(w) = 2, ds(w) = 3.

Erdős-Szekeres theorem Corollary (Erdős-Szekeres, Seidenberg). Let w S pq+1. Then either is(w) > p or ds(w) > q.

Erdős-Szekeres theorem Corollary (Erdős-Szekeres, Seidenberg). Let w S pq+1. Then either is(w) > p or ds(w) > q. Proof. Let λ = sh(w). If is(w) p and ds(w) q then λ 1 p and λ 1 q, so λ i pq.

An extremal case Corollary. Say p q. Then #{w S pq : is(w) = p, ds(w) = q} = ( ) 2 f (pq )

An extremal case Corollary. Say p q. Then #{w S pq : is(w) = p, ds(w) = q} = ( ) 2 f (pq ) By hook-length formula, this is ( ) 2 (pq)!. 1 1 2 2 p p (p + 1) p q p (q + 1) p 1 (p + q 1) 1

Romik s theorem Romik: let w S n 2, is(w) = ds(w) = n. Let P w be the permutation matrix of w with corners (±1, ±1). Then (informally) as n almost surely the 1 s in P w will become dense in the region bounded by the curve (x 2 y 2 ) 2 + 2(x 2 + y 2 ) = 3, and will remain isolated outside this region.

An example w = 9, 11, 6, 14, 2, 10, 1, 5, 13, 3, 16, 8, 15, 4, 12, 17

(x 2 y 2 ) 2 + 2(x 2 + y 2 ) = 3 1 y 0.5 1 0.5 0.5 1 x 0.5 1

Area enclosed by curve α = 8 1 0 1 (1 t2 )(1 (t/3) 2 ) dt 6 1 0 1 (t/3) 2 1 t 2 dt = 4(0.94545962 )

Expectation of is(w) E(n) = expectation of is(w), w S n = 1 n! = 1 n! is(w) w S n ( λ ) 1 f λ 2 λ n

Expectation of is(w) E(n) = expectation of is(w), w S n = 1 n! = 1 n! w S n is(w) λ n λ 1 ( f λ ) 2 Ulam: what is distribution of is(w)? rate of growth of E(n)?

Work of Hammersley Hammersley (1972): c = lim n n 1/2 E(n), and π 2 c e.

Work of Hammersley Hammersley (1972): c = lim n n 1/2 E(n), and Conjectured c = 2. π 2 c e.

c = 2 Logan-Shepp, Vershik-Kerov (1977): c = 2

c = 2 Logan-Shepp, Vershik-Kerov (1977): c = 2 Idea of proof. E(n) = 1 n! ( λ ) 1 f λ 2 λ n 1 n! max λ n λ 1 ( f λ ) 2. Find limiting shape of λ n maximizing λ as n using hook-length formula.

A big partition

The limiting curve 2 1.5 1 0.5 0 0.5 1 1.5 2

Equation of limiting curve x = y + 2 cos θ y = 2 (sin θ θ cos θ) π 0 θ π

is(w) 2 u k (n) := #{w S n : is n (w) k}.

is(w) 2 u k (n) := #{w S n : is n (w) k}. J. M. Hammersley (1972): a Catalan number. u 2 (n) = C n = 1 n + 1 ( 2n n ),

is(w) 2 u k (n) := #{w S n : is n (w) k}. J. M. Hammersley (1972): a Catalan number. u 2 (n) = C n = 1 n + 1 ( 2n For >170 combinatorial interpretations of C n, see n ), www-math.mit.edu/ rstan/ec

Gessel s theorem I. Gessel (1990): n 0 u k (n) x2n n! 2 = det [ I i j (2x) ] k i,j=1, where I m (2x) = j 0 x m+2j j!(m + j)!, a hyperbolic Bessel function of the first kind of order m.

The case k = 2 Example. n 0 u 2 (n) x2n n! 2 = I 0 (2x) 2 I 1 (2x) 2 = n 0 C n x 2n n! 2.

Painlevé II equation Baik-Deift-Johansson: Define u(x) by d 2 dx 2u(x) = 2u(x)3 + xu(x) ( ), with certain initial conditions.

Painlevé II equation Baik-Deift-Johansson: Define u(x) by d 2 dx 2u(x) = 2u(x)3 + xu(x) ( ), with certain initial conditions. ( ) is the Painlevé II equation (roughly, the branch points and essential singularities are independent of the initial conditions).

Paul Painlevé 1863: born in Paris.

Paul Painlevé 1863: born in Paris. 1890: Grand Prix des Sciences Mathématiques

Paul Painlevé 1863: born in Paris. 1890: Grand Prix des Sciences Mathématiques 1908: first passenger of Wilbur Wright; set flight duration record of one hour, 10 minutes.

Paul Painlevé 1863: born in Paris. 1890: Grand Prix des Sciences Mathématiques 1908: first passenger of Wilbur Wright; set flight duration record of one hour, 10 minutes. 1917, 1925: Prime Minister of France.

Paul Painlevé 1863: born in Paris. 1890: Grand Prix des Sciences Mathématiques 1908: first passenger of Wilbur Wright; set flight duration record of one hour, 10 minutes. 1917, 1925: Prime Minister of France. 1933: died in Paris.

The Tracy-Widom distribution F (t) = exp ( t ) (x t)u(x) 2 dx where u(x) is the Painlevé II function.

The Baik-Deift-Johansson theorem Let χ be a random variable with distribution F, and let χ n be the random variable on S n : χ n (w) = is n(w) 2 n n 1/6.

The Baik-Deift-Johansson theorem Let χ be a random variable with distribution F, and let χ n be the random variable on S n : Theorem. As n, χ n (w) = is n(w) 2 n n 1/6. χ n χ in distribution, i.e., lim Prob(χ n t) = F (t). n

Expectation redux Recall E(n) 2 n.

Expectation redux Recall E(n) 2 n. Corollary to BDJ theorem. E(n) = 2 ( ) n + t df (t) n 1/6 + o(n 1/6 ) = 2 n (1.7711 )n 1/6 + o(n 1/6 )

Proof of BDJ theorem Gessel s theorem reduces the problem to just analysis, viz., the Riemann-Hilbert problem in the theory of integrable systems, and the method of steepest descent to analyze the asymptotic behavior of integrable systems.

Origin of Tracy-Widom distribution Where did the Tracy-Widom distribution F (t) come from? F (t) = exp ( t ) (x t)u(x) 2 dx d 2 dx 2u(x) = 2u(x)3 + xu(x)

Gaussian Unitary Ensemble (GUE) Analogue of normal distribution for n n hermitian matrices M = (M ij ):

Gaussian Unitary Ensemble (GUE) Analogue of normal distribution for n n hermitian matrices M = (M ij ): dm = i dm ii Zn 1 e tr(m 2) dm, i<j d(r M ij )d(i M ij ), where Z n is a normalization constant.

Tracy-Widom theorem Tracy-Widom (1994): let α 1 denote the largest eigenvalue of M. Then lim n Prob (( α 1 ) 2n) 2n 1/6 t = F (t).

Random topologies Is the connection between is(w) and GUE a coincidence?

Random topologies Is the connection between is(w) and GUE a coincidence? Okounkov provides a connection, via the theory of random topologies on surfaces. Very briefly, a surface can be described in two ways: Gluing polygons along their edges, connected to random matrices via quantum gravity. Ramified covering of a sphere, which can be formulated in terms of permutations.

Two variations 1. Matchings 2. Pattern avoidance

Matching collaborators Joint with: Bill Chen Eva Deng Rosena Du Catherine Yan

Complete matchings (complete) matching:

Complete matchings (complete) matching: total number of matchings on [2n] := {1, 2,..., 2n} is (2n 1)!! := 1 3 5 (2n 1).

Crossings and nestings 3 crossing 3 nesting

Crossing and nesting number M = matching cr(m) = max{k : k-crossing} ne(m) = max{k : k-nesting}

Crossing and nesting number M = matching cr(m) = max{k : k-crossing} ne(m) = max{k : k-nesting} Theorem. The number of matchings on [2n] with no crossings (or with no nestings) is C n := 1 ( ) 2n. n + 1 n

Main result on matchings Theorem. Let f n (i, j) = # matchings M on [2n] with cr(m) = i and ne(m) = j. Then f n (i, j) = f n (j, i).

Main result on matchings Theorem. Let f n (i, j) = # matchings M on [2n] with cr(m) = i and ne(m) = j. Then f n (i, j) = f n (j, i). Corollary. # matchings M on [2n] with cr(m) = k equals # matchings M on [2n] with ne(m) = k.

Oscillating tableaux φ shape (3, 1), length 8

Oscillating tableaux φ shape (3, 1), length 8 M Φ (M) φ φ 4 2 4 3 1 3 2 1 4 2 4 2 23 13 2 1 2 1 φ φ

Proof sketch Φ is a bijection from matchings on 1, 2,..., 2n to oscillating tableaux of length 2n, shape. Corollary. Number of oscillating tableaux of length 2n, shape, is (2n 1)!!.

Proof sketch Φ is a bijection from matchings on 1, 2,..., 2n to oscillating tableaux of length 2n, shape. Corollary. Number of oscillating tableaux of length 2n, shape, is (2n 1)!!. (related to Brauer algebra of dimension (2n 1)!!).

Schensted for matchings Schensted s theorem for matchings. Let Φ(M) = ( = λ 0, λ 1,..., λ 2n = ). Then cr(m) = max{(λ i ) 1 : 0 i n} ne(m) = max{λ i 1 : 0 i n}.

Schensted for matchings Schensted s theorem for matchings. Let Φ(M) = ( = λ 0, λ 1,..., λ 2n = ). Then cr(m) = max{(λ i ) 1 : 0 i n} ne(m) = max{λ i 1 : 0 i n}. Proof. Reduce to ordinary RSK.

An example M Φ (M) φ φ 4 2 4 3 1 3 2 1 4 2 4 2 23 13 2 1 2 1 φ φ

An example M Φ (M) φ φ 4 2 4 3 1 3 2 1 4 2 4 2 23 13 2 1 2 1 φ φ cr(m) = 2, ne(m) = 2

M Now let cr(m) = i, ne(m) = j, and Φ(M) = ( = λ 0, λ 1,..., λ 2n = ). Define M by Φ(M ) = ( = (λ 0 ), (λ 1 ),..., (λ 2n ) = ). By Schensted s theorem for matchings, cr(m ) = j, ne(m ) = i.

Conclusion of proof Thus M M is an involution on matchings of [2n] interchanging cr and ne. Theorem. Let f n (i, j) = # matchings M on [2n] with cr(m) = i and ne(m) = j. Then f n (i, j) = f n (j, i).

Simple description? Open: simple description of M M, the analogue of a 1 a 2 a n a n a 2 a 1, which interchanges is and ds.

g k (n) g k (n) = number of matching M on [2n] with cro(m) k (matching analogue of u k (n))

Grabiner-Magyar theorem Theorem. Define H k (x) = n g k (n) x2n (2n)!. Then Hk (x) = det [ I i j (2x) I i+j (2x) ] k i,j=1 where as before. I m (2x) = j 0 x m+2j j!(m + j)!

Gessel s theorem redux Compare: I. Gessel (1990): n 0 u k (n) x2n n! 2 = det [ I i j (2x) ] k i,j=1.

Noncrossing example Example. k = 1 (noncrossing matchings): H 1 (x) = I 0 (2x) I 2 (2x) = j 0 C j x 2j (2j)!.

Baik-Rains theorem Baik-Rains (implicitly): lim Prob n ( cr n (M) 2n (2n) 1/6 t 2 ) = F 1 (t), where F 1 (t) = F (t) exp ( 1 2 t ) u(s)ds, where F (t) is the Tracy-Widom distribution and u(t) the Painlevé II function.

Bounding cr(m) and ne(n) g j,k (n) := #{matchings M on [2n], cr(m) j, ne(m) k}

Bounding cr(m) and ne(n) g j,k (n) := #{matchings M on [2n], cr(m) j, ne(m) k} g j,k (n) = #{( = λ 0, λ 1,..., λ 2n = ) : λ i+1 = λ i ±, λ i j k rectangle}, a walk on a graph L(j, k).

L(2, 3) φ L(2,3)

Transfer matrix generating function A = adjacency matrix of H(j, k) = adjacency matrix of H(j, k) { }. A 0

Transfer matrix generating function A = adjacency matrix of H(j, k) = adjacency matrix of H(j, k) { }. A 0 Transfer-matrix method g j,k (n)x 2n = det(i xa 0) det(i xa). n 0

Zeros of det(i xa) Theorem (Grabiner, implicitly) Every zero of det(i xa) has the form 2(cos(πr 1 /m) + + cos(πr j /m)), where each r i Z and m = j + k + 1.

Zeros of det(i xa) Theorem (Grabiner, implicitly) Every zero of det(i xa) has the form 2(cos(πr 1 /m) + + cos(πr j /m)), where each r i Z and m = j + k + 1. Corollary. Every irreducible factor of det(i xa) over Q has degree dividing 1 φ(2(j + k + 1)), 2 where φ is the Euler phi-function.

An example Example. j = 2, k = 5, 1 2φ(16) = 4: det(i xa) = (1 2x 2 )(1 4x 2 + 2x 4 ) (1 8x 2 + 8x 4 )(1 8x 2 + 8x 3 2x 4 ) (1 8x 2 8x 3 2x 4 )

Another example j = k = 3, 1 2φ(14) = 3: det(i xa) = (1 x)(1 + x)(1 + x 9x 2 x 3 ) (1 x 9x 2 + x 3 )(1 x 2x 2 + x 3 ) 2 (1 + x 2x 2 x 3 ) 2

An open problem rank(a) =? Or even: when is A invertible?

An open problem rank(a) =? Or even: when is A invertible? Eigenvalues are known (and A is symmetric)

An open problem rank(a) =? Or even: when is A invertible? Eigenvalues are known (and A is symmetric) Cannot tell from the trigonometric expression for the eigenvalues when they are 0.

Pattern avoidance v = b 1 b k S k w = a 1 a n S n w avoids v if no subsequence a i1 a ik of w is in the same relative order as v.

Pattern avoidance v = b 1 b k S k w = a 1 a n S n w avoids v if no subsequence a i1 a ik of w is in the same relative order as v. 3 5 2 9 6 8 1 4 7 does not avoid 3142.

Pattern avoidance v = b 1 b k S k w = a 1 a n S n w avoids v if no subsequence a i1 a ik of w is in the same relative order as v. 3 5 2 9 6 8 1 4 7 does not avoid 3142. w has no increasing (decreasing) subsequence of length k w avoids 12 k (k 21).

The case k = 3 Let v S k. Define S n (v) = {w S n : w avoids v} s n (v) = #S n (v).

The case k = 3 Let v S k. Define S n (v) = {w S n : w avoids v} s n (v) = #S n (v). Hammersley-Knuth-Rotem: s n (123) = s n (321) = C n.

The case k = 3 Let v S k. Define S n (v) = {w S n : w avoids v} s n (v) = #S n (v). Hammersley-Knuth-Rotem: Knuth: s n (123) = s n (321) = C n. s n (132) = s n (213) = s n (231) = s n (312) = C n.

Generating trees Chung-Graham-Hoggatt-Kleiman, West: define u v if u is a subsequence of v. 3 1 4 2 8 3 5 1 9 6 4 2 7

123 and 132-avoiding trees 1 1 12 12 21 21 312 312 132 123 321 321 231 213 231 213 4312 3412 3142 4132 1432 4321 3421 3241 3214 4231 2431 4213 2413 2143 4312 3412 3124 4123 1234 4321 3421 3241 3214 2413 2134 4231 2341 2314 black: 123 avoiding magenta: 132 avoiding

Structure of the tree k children 2, 3,..., k+1 children

Wilf equivalence Define u v if s n (u) = s n (v) for all n.

Wilf equivalence Define u v if s n (u) = s n (v) for all n. One equivalence class for k = 3.

Wilf equivalence Define u v if s n (u) = s n (v) for all n. One equivalence class for k = 3. Three equivalence classes for k = 4.

The three classes for k = 4 Gessel: s n (1234) = 1 (n + 1) 2 (n + 2) n j=0 ( 2j j )( )( ) n + 1 n + 2 j + 1 j + 2

The three classes for k = 4 Gessel: s n (1234) = 1 (n + 1) 2 (n + 2) n j=0 ( 2j j )( )( ) n + 1 n + 2 j + 1 j + 2 Bóna: s n (1342)x n = n 0 32x 1 + 20x 8x 2 (1 8x) 3/2,

The three classes for k = 4 Gessel: s n (1234) = 1 (n + 1) 2 (n + 2) n j=0 ( 2j j )( )( ) n + 1 n + 2 j + 1 j + 2 Bóna: s n (1342)x n = n 0 32x 1 + 20x 8x 2 (1 8x) 3/2, Open: s n (1324)

Typical application Ryan, Lakshmibai-Sandhya, Haiman: Let w S n. The Schubert variety Ω w in the complete flag variety GL(n, C) is smooth if and only if w avoids 4231 and 3412.

Typical application Ryan, Lakshmibai-Sandhya, Haiman: Let w S n. The Schubert variety Ω w in the complete flag variety GL(n, C) is smooth if and only if w avoids 4231 and 3412. n 0 where f(n)x n = 1 x x2 1 x C(x) = n 0 ( 1 ), 2x 1+x (1 x)c(x) 1 C n x n = 1 1 4x 2x.