TOPICS
Search

Roller Coaster Permutation


A roller coaster permutation of length n is a permutation pi of 1, ..., n maximizing the following statistic t(pi). For each subsequence of length at least 3, count its maximal increasing or decreasing blocks of consecutive entries of length at least 2, and sum these counts over the subsequences (Ahmed and Snevily 2013).

The odd-length case of Ahmed and Snevily's Odd Sum conjecture asserted that if n=2k+1, every roller coaster permutation satisfies pi_j+pi_(n-j+1) odd for 1<=j<=k. The even-length case asserts the sum is n+1 for n=2k.

For n=17, the permutation

 (8,14,3,15,6,10,2,17,7,12,1,16,5,11,4,13,9)

from Botler and Netto (2021) has t=798783. Sellitto (2026) registered a Lean proof that this is the maximum and that this permutation violates the odd-length assertion because pi_4+pi_(14)=26. The upper bound uses a branch-and-bound algorithm with a checked search certificate. The registered result concerns the odd-length assertion at n=17.


See also

Permutation, Subsequence

Explore with Wolfram|Alpha

WolframAlpha

More things to try:

References

Ahmed, T. and Snevily, H. "Some Properties of Roller Coaster Permutations." 2013. https://tanbir.github.io/files/preprints/ahmed_snevily_roller_coaster_permutations.pdf.Botler, F. and Netto, B. L. "New Bounds on Roller Coaster Permutations." 2021, pp. 50-53. https://sol.sbc.org.br/index.php/etc/article/view/16378.Sellitto, M. "The Odd Sum Conjecture for Roller Coaster Permutations Is False at n=17." Palomar Registry, Nov. 29, 2026. https://palomar-registry.org/entry.html?id=PALOMAR-2026-11-29-000002&version=1.

Cite this as:

Weisstein, Eric W. "Roller Coaster Permutation." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/RollerCoasterPermutation.html

Subject classifications