TOPICS
Search

Inversion Sequence


An inversion sequence of length n is a sequence of integers (e_1,...,e_n) with 0<=e_i<i for 1<=i<=n. For a permutation pi of 1, ..., n, the associated inversion sequence has e_i=|{j:j<i, pi_j>pi_i}|. The index i denotes a position. In an inversion vector, the index denotes the value of a permutation entry.

Avoidance of 102 excludes triples of indices i<j<k with e_j<e_i<e_k, and avoidance of 000 excludes triples with e_i=e_j=e_k. Among (102,000)-avoiding inversion sequences with m>=1 distinct entries, the number with just one occurrence of the largest entry, counted across all lengths, is 1/(3m+1)(4m; m) (Kim et al. 2027). These Fuss-Catalan numbers for m=1, 2, ... are 1, 4, 22, 140, 969, ... (OEIS A002293). Kang et al. (2026) give a bijection with ordered rooted trees in which each of the m internal vertices has four children. They also count the sequences with a prescribed rank t, the first descent position minus the maximum entry minus 1, with a final sentinel e_(n+1)=-1. Across all lengths, this count is (3t+1)/(3m+1)(4m-t; m-t) for 0<=t<=m.


See also

Inversion Vector, Permutation Inversion, Rooted Tree

Explore with Wolfram|Alpha

References

Kang, S.-Y.; Kim, S.; Kim, S.; and Seo, S. "(102,000)-Avoiding Inversion Sequences: Bijections with 4-Ary Trees and Refined Enumeration." 2 Dec 2026. https://arxiv.org/abs/2612.03228.Kim, S.; Seo, S.; and Shin, H. "On (102,000)-Avoiding Inversion Sequences." Disc. Math. 350, 115348, 2027. https://doi.org/10.1016/j.disc.2026.115348.Sloane, N. J. A. Sequence A002293 in "The On-Line Encyclopedia of Integer Sequences."

Cite this as:

Weisstein, Eric W. "Inversion Sequence." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/InversionSequence.html

Subject classifications