Roller Coaster Permutations and Partition Numbers
William Adamczak

TL;DR
This paper investigates the partition properties of roller coaster permutations, establishing an upper bound on their partition numbers and providing experimental data that suggests the bound is nearly optimal.
Contribution
It introduces a theoretical upper bound for the partition number of roller coaster permutations and connects their structure to these bounds.
Findings
Derived an upper bound for partition numbers of roller coaster permutations.
Experimental data for small n supports the near-sharpness of the bound.
Connected permutation structure to partition number properties.
Abstract
This paper explores the partition properties of roller coaster permutations, a class of permutations characterized by maximizing the number of alternating runs in all subsequences. We establish a connection between the structure of these permutations and their partition numbers, defined as the minimum number of monotonic subsequences required to cover the permutation. Our main result provides a theoretical upper bound for the partition number of a roller coaster permutation of length , given by . We further present experimental data for that suggests this bound is nearly sharp.
Peer 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 · Computational Geometry and Mesh Generation
Rollercoaster Permutations and Partition Numbers
William Adamczak
Siena College, Loudonville, NY 12211
and
Jacob Boni
Siena College, Loudonville, NY 12211
Abstract.
This paper explores the properties of partitions of roller coaster permutations. A roller coaster permutation is a permutation the alternates between increasing and decreasing a maximum number of times, while its subsequences also alternate between increasing and decreasing a maximum number of times simultaneously. The focus of this paper is on achieving an upper bound for the partition number of a roller coaster permutation of length .
Key words and phrases:
Combinatorics, Permutations
2000 Mathematics Subject Classification:
Primary 54C40, 14E20; Secondary 46E25, 20C20
1. Introduction
Roller coaster permutations first show up in a work of Ahmed & Snevily [2] where roller coaster permutations are described as a permutations that maximize the total switches from ascending to descending (or visa versa) for a permutation and all of its subpermutations simultaneously. More basically, this counts the greatest number of ups and downs or increases and decreases for the permutation and all possible subpermutations. Several of the properties of roller coaster permutations that were conjectured by Ahmed & Snevily are proven in a paper of the first author [1] and are relied on heavily in developing an upper bound for the partition number of a roller coaster permutation.
These permutations are connected to pattern avoiding permutations as is seen in Mansour [5] in the context of avoiding the subpermutation 132. These are also strongly connected to forbidden subsequences and partitions of permutations is seen in Stankova [6], where certain forbidden subsequences end up being roller coaster permutations, particularly is a subset of . Consequently, these permutations are related to stack sortable permutations as seen in Egge & Mansour [3], where the connection between forbidden subsequences and stack sortability is made.
Kezdy, Snevily & Wang[4] explored partitions of permutations into increasing and decreasing subsequences, where they took the approach of associating a graph to a permutation, they then translated the notion of partitions to the lack of existence of certain subgraphs. Our approach here relies rather on the underlying structure of these permutations, particularly the alternating structure, together with the relative positions of entries that are forced on roller coaster permutations.
2. Background
Definition 2.1**.**
A permutation of length is an ordered rearrangement on the set for some . The collection of all such permutations is denoted .
Definition 2.2**.**
A Roller coaster permutation is a permutation that maximizes the number of changes from increasing to decreasing over itself, and all of it’s subsequences, simultaneously. Here a subsequence of a permutation is an ordered subset of the original permutation [2].
The collection of all roller coaster permutations in is denoted . and have been explicitly found for small and are as follows:
RC(3) = {132, 213, 231, 312}
RC(4) = {2143, 2413, 3142, 3412}
RC(5) = {24153, 25143, 31524, 32514, 34152, 35142, 41523, 42513}
RC(6) = {326154, 351624, 426153, 451623}
RC(7) = {3517264, 3527164, 3617254, 3627154, 4261735, 4271635,
4361725, 4371625, 4517263, 4527163, 4617253, 4627153,
5261734, 5271634, 5361724, 5371624}
RC(8) = {43718265, 46281735, 53718264, 56281734}
RC(9) = {471639285, 471936285, 472639185, 472936185, 481639275, 481936275,
482639175, 482936175, 528174936, 528471936, 529174836, 529471836,
538174926, 538471926, 539174826, 539471826, 571639284, 571936284,
572639184, 572936184, 581639274, 581936274, 582639174, 582936174,
628174935, 628471935, 629174835, 629471835, 638174925, 638471925,
639174825, 639471825}.[2]
Definition 2.3**.**
An alternating permutation is a permutation of such that and a reverse alternating permutation is a permutation of such that .
Example 2.4**.**
The following is a graphical representation of the permutation {4,3,7,1,8,2,6,5}. This permutation is reverse alternating, as you can see that the first entry is greater than the second entry and the pattern defined above continues throughout the entire permutation.
4371826**5
Example 2.5**.**
The permutation {5,6,2,8,1,7,3,4}, pictured below, is an example of a forward alternating permutation. Sometimes forward alternating permutations are simply referred to as being alternating.
5628173**4
Definition 2.6**.**
The reverse of a permutation is the permutation with entries given by .
Definition 2.7**.**
The compliment of a permutation is .
Example 2.8**.**
*An example of a permutation and it’s compliment are {3,6,2,7,1,5,4} and {5,2,6,1,7,3,4}. These permutations follow the deffinition above, notice that the first element of each, 3 and 5 fit in the equation . Both of these permutations have been graphically displayed below. The reverse of {3,6,2,7,1,5,4} is {4,5,1,7,2,6,3}. Notice that the reverse and complement of a permutation aren’t necessarily equal.
36271545261734 *
Below we give a collection of theorems regarding the structure of roller coaster permutations. We will use these heavily in arriving at an upper bound for the partition number.
Theorem 2.9**.**
Given , the reverse and compliment of are also members of [2].
Theorem 2.10**.**
Given , we have that is either alternating or reverse alternating [1].
Theorem 2.11**.**
Given , [1].
Theorem 2.12**.**
For if is alternating then for even . If is reverse alternating then for odd [1].
Example 2.13**.**
Below is a graphical representation of the permutation {5,3,7,1,8,2,6,4}. As you can see, the end points are 5 and 4, which have a difference of 1 as stated in Theorem 2.8. Also in the drawing below, notice that some elements have been circled into different sets, these being 7,8 and 6 in the ”top” set and 3,1 and 2 in the ”bottom” set. Notice that the top set is entirely comprised of numbers greater than the end points and the bottom is comprised entirely of numbers less than the end points. The top set has elements that are in the odd indicies while the bottom set has elements that are in the even indecies, just as Theorem 2.9 states.
5371826**4
Definition 2.14**.**
A subsequence of a permutation is said to be monotonic, if it is strictly increasing or strictly decreasing.
Monotonic subsequences are sometimes called runs. In the permutation {5,8,2,6,3,9,1,7,4} there are a few runs. The run (589) is an increasing, while (974) is a decreasing run. The longest run in this permutation is (8631).
Definition 2.15**.**
A partition of a permutation is the set of disjoint monotonic subsequences of that permutation.
Definition 2.16**.**
The partition number of a permutation, denoted , is the least number of partitions that permutation can be broken into.
Example 2.17**.**
Here you can see a graphical representation of the permutation {3,2,6,1,5,4}. The oval distinguish the runs in the partition. Notice that there are two ovals each with three numbers in them. This shows that the runs in this permutation are {3,2,1} and {6,5,4}. It also shows that there are two runs, which means that this permutation has a partition number of 2, or in other words, .
32615**4
Example 2.18**.**
Here is another partitioned permutation. This time the permutation is {4,7,1,6,3,9,2,8,5}.
471639285
Definition 2.19**.**
* is the number of partitions that any permutation can be broken into where . is the upper bound on .*
3. Results
Theorem 3.1**.**
For the partition number is bounded above by .
Proof.
Without loss of generality we may assume that and is reverse alternating, i.e. starts with a descent, otherwise we could take the compliment of which is also in , since complimenting exchanges alternating for reverse alternating and we may then use the same argument that follows and then take the compliment again.
- •
Excluding the endpoints, there will be positions below the endpoints and positions above the endpoints. Those positions below the endpoints are at even indices and the positions above are at odd indices.
- •
Partition the even indices into contiguous increasing runs and do the same with odd indices. The number of runs made from even indices will be
- •
Note that when partitioning a forward or reverse alternating partition into contiguous increasing runs, the run will have an earliest start at index for and the latest finish for this run will be at index . The index from the from the bottom partitions comes before the partition of the top partitions due to being reverse alternating. So the latest finish for the run is, at worst, equal to the latest start for the run, thus the segment from the top starts after the run from the the bottom.
- •
So the first run on the top pairs with the start point and then the run on the bottom pairs with the run on the top. If the number of runs on the bottom is greater than the the number of runs on the top then the second to last run on the bottom pairs with the end point and we have an extra in the partition number. Otherwise the last run on the bottom will pair with the end point. Thereby establishing the claim.
∎
We found exact numbers for for experimentally using code developed in the Sage computer algebra system. These values can be found in the table below.
[TABLE]
Note that the bound found in the theorem above is nearly sharp. For the upper bound we found is very close to the actual values of . The only deviation is our upper bound at was 1 greater than the actual value.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] W. Adamczak. (2017). A Note on the Structure of Roller Coaster Permutations, Journal of Mathematics Research , (preprint).
- 2[2] T. Ahmed, H. Snevily. (2013). Some Properties of Roller Coaster Permutations, Bulletin of the ICA 68, 55-60.
- 3[3] E. Egge, T. Mansour. (2004). 132-avoiding Two-stack Sortable Permutations, Fibonacci Numbers, and Pell Numbers. Discrete Applied Mathematics, 143, 78-83. https://doi.org/10.1016/j.dam.2003.12.007
- 4[4] A. E. Kezdy, H. S. Snevily, and C. Wang, Partitioning permutations into increasing and decreasing subsequences, Journal of Combinatorial Theory, 73 (1996), 353–359.
- 5[5] T. Mansour. (2003). Restricted 132-alternating permutations and Chebyshev polynomials. Annals of Combinatorics, 7, 201-227. https://doi.org/10.1007/s 00026-003-0182-2
- 6[6] Z. E. Stankova. Forbidden subsequences , Discrete Math., 132 (1994), 291–316.
