Alphabeta Math

Permutation Statistics, Inversions and Eulerian Numbers

About this page
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

✓ 20 results · all verified · 11 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 9 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.
1 · Prerequisites
2 · Logical flowchart

3 · Items

Remark

This page uses the published inversion number and the shifted Eulerian indexing A(n,k)

Definition

Descent sets, major index, excedances and fixed points of a permutation

Definition

Eulerian numbers and Eulerian polynomials

Definition

The q-integer, q-factorial and q-multinomial coefficients

Definition

The Lehmer code of a permutation

Theorem

The Lehmer code is a bijection Sₙ→∏ᵢ₌₁ⁿ{0,…,i-1}

Corollary

The Lehmer code gives |Sₙ|=n! again

Theorem

The inversion generating function of Sₙ is [n]_q!

Definition

Foata's recursive transformation on permutations

Lemma

Foata's transformation is a bijection of Sₙ

Theorem

Foata's transformation sends major index to inversion number

Corollary

The major-index generating function of Sₙ is [n]_q!

Definition

Standard cycle form and Foata's fundamental transformation

Lemma

Under Foata's fundamental transformation, anti-excedances become descents

Theorem

Descents and excedances are equidistributed on Sₙ

Corollary

The Eulerian numbers satisfy A(n,k)=A(n,n-1-k)

Theorem

The Eulerian numbers satisfy A(n,k)=(k+1)A(n-1,k)+(n-k)A(n-1,k-1)

Theorem

Worpitzky's identity for n≥1

Corollary

The Eulerian-polynomial exponential generating function in ℚ(t)⟦ x⟧

Definition

The weak order on Sₙ by inversion-set inclusion

Definition

The Bruhat order on Sₙ by rank inequalities

Example

The permutations of S₄ tabulated by inversions, descents, major index and excedances

Example

The Lehmer codes of S₄ recover [4]_q!

Example

Foata's transformation on the permutation 2 0 3 1

Example

A(4,2)=11 by the recurrence, by Worpitzky's identity and by excedances

Example

The weak and Bruhat orders on S₃

Counterexample

Two permutations can have the same descent set and different inversion numbers

Counterexample

The number of excedances is Eulerian but not Mahonian

False statement

FALSE: the major index equals the inversion number for every permutation

Sources