Exact formula and asymptotic behavior for the expected number of inversions in a random permutation avoiding a pattern of length three

preprint2022arXivOpen access

Abstract

For τ∈S3τ\in S_3, let Sn(τ)S_n(τ) denote the set of permutations in SnS_n which avoid the pattern ττ, and let EnτE_n^τ denote the expectation with respect to the uniformly random probability measure on Sn(τ)S_n(τ). Let In(σ)\mathcal{I}_n(σ) denote the number of inversions in σ∈Snσ\in S_n. We study EnτInE_n^τ\mathcal{I}_n for τ∈{231,132,213,312}⊂S3τ\in\{231,132,213,312\}\subset S_3. We prove that En231In=En312In=12n!(n+1)!4n(2n)!−12(3n+1), E_n^{231}\mathcal{I}_n=E_n^{312}\mathcal{I}_n=\frac12\frac{n!(n+1)!4^n}{(2n)!}-\frac12(3n+1), and that En132In=En213In=12(n−1)n−En231In. E_n^{132}\mathcal{I}_n=E_n^{213}\mathcal{I}_n=\frac12(n-1)n-E_n^{231}\mathcal{I}_n. From the first equation it follows that En231In=En312In∼π2n32. E_n^{231}\mathcal{I}_n=E_n^{312}\mathcal{I}_n\sim\frac{\sqrtπ}2n^\frac32. We also show that the variance VarPnτ(In)\text{Var}_{P_n^τ}(\mathcal{I}_n) of In\mathcal{I}_n under PnτP_n^τ satisfies VarPnτ(In)∼(56−π4)n3≈0.048n3, for τ∈{231,132,213,312}. \text{Var}_{P_n^τ}(\mathcal{I}_n)\sim (\frac56-\frac\pi4)n^3\approx 0.048n^3,\ \text{for}\ τ\in\{231,132,213,312\}.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.