Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
6423879 | Electronic Notes in Discrete Mathematics | 2011 | 6 Pages |
Let the records of a permutation Ï be its left-right minima, right-left minima, left-right maxima and right-left maxima. Conversely let a point (i,j) with j=Ï(i) be an internal point of Ï if it is not a record. Permutations without internal points have recently attracted attention under the name square permutations. We consider here the enumeration of permutations with a fixed number of internal points.We show that for each fixed i the generating function of permutations with i internal points with respect to the size is algebraic of degree 2. More precisely it is a rational function in the Catalan generating function. Our approach is constructive, yielding a polynomial uniform random sampling algorithm, and it can be refined to enumerate permutations with respect to each of the four types of records.