Distributions of Inversions and Descents over Integer Compositions
Pith reviewed 2026-05-21 08:14 UTC · model grok-4.3
The pith
The inversion and descent distributions over k-compositions of n are given by the joint (maj, inv) and (inv, des) distributions over permutations of k via a bijection.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
We derive a generating function for the number of integer compositions of n into k parts with a given number of inversions, and obtain similar results for k-compositions of n with a given number of descents. Our approach relies on a known bijection that associates each integer composition σ with a pair (π,λ), where π is a permutation and λ is an integer partition. We show that the distribution of inversions and the distribution of descents over k-compositions are related, respectively, to the distribution of (maj,inv) and to the distribution of (inv,des) over permutations of {1,2,…,k}.
What carries the argument
The known bijection associating each integer composition σ with a pair (π, λ), where π is a permutation of [k] and λ is an integer partition, which carries the inversion and descent counts from compositions to the corresponding permutation statistics.
If this is right
- Generating functions are obtained for the number of k-compositions of n with any fixed inversion count.
- Generating functions are obtained for the number of k-compositions of n with any fixed descent count.
- The inversion distribution on compositions equals the joint (maj, inv) distribution on permutations of k.
- The descent distribution on compositions equals the joint (inv, des) distribution on permutations of k.
Where Pith is reading between the lines
- The same bijection may be used to derive generating functions for the total number of inversions summed over all k-compositions of n.
- The connection suggests that average inversion numbers in random compositions can be read off from known permutation averages.
- Similar reductions might apply to other statistics such as major index on compositions or to compositions with restricted part sizes.
Load-bearing premise
The results rest on the existence of a bijection from compositions to permutation-partition pairs that correctly aligns the inversion and descent counts.
What would settle it
For k=3 and n=5, enumerate all 3-compositions, count their inversions, and check whether the resulting counts equal the coefficients in the generating function obtained by summing q^{maj(π)+inv(π)} over all permutations π of [3].
Figures
read the original abstract
We derive a generating function for the number of integer compositions of $n$ into $k$ parts (i.e., $k$-compositions of $n$) with a given number of inversions, and obtain similar results for $k$-compositions of $n$ with a given number of descents. Our approach relies on a known bijection that associates each integer composition $\sigma$ with a pair $(\pi,\lambda)$, where $\pi$ is a permutation and $\lambda$ is an integer partition. We show that the distribution of inversions and the distribution of descents over $k$-compositions are related, respectively, to the distribution of (maj,inv) and to the distribution of (inv,des) over permutations of $\{1,2,\ldots,k\}$, where maj, inv, and des denote the classical permutation statistics major index, inversion number, and descent number, respectively.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper derives generating functions for the number of k-compositions of n with a given number of inversions, and similarly for descents, by invoking a known bijection that maps each composition σ to a pair (π, λ) with π a permutation in S_k and λ a partition. It claims that the inversion distribution on compositions corresponds to the joint (maj, inv) distribution on S_k, and the descent distribution corresponds to the joint (inv, des) distribution on S_k.
Significance. If the statistic-preservation properties of the cited bijection are rigorously verified for the inversion and descent statistics, the results would provide explicit generating-function connections between composition statistics and classical permutation statistics, allowing reuse of known permutation enumerations for composition counts. This could be of interest in combinatorial enumeration, though the approach depends entirely on the external bijection rather than introducing new combinatorial objects.
major comments (1)
- [§3] §3: The central claim equates the inversion generating function on k-compositions to a sum involving the joint (maj, inv) distribution on S_k. This equality holds only if the invoked bijection σ ↔ (π, λ) maps inv(σ) exactly to maj(π) plus a term depending only on λ. The manuscript cites the bijection but provides no explicit verification or re-derivation of this statistic correspondence; without it the claimed generating-function identity is not established.
minor comments (2)
- The abstract and introduction should explicitly name the reference for the cited bijection (including the precise statement of how inversions and descents are preserved or transformed).
- Notation for the generating functions (e.g., variables tracking n, k, and the statistic) should be introduced once and used consistently throughout.
Simulated Author's Rebuttal
We thank the referee for their careful reading of the manuscript and for identifying the need for greater explicitness regarding the bijection. We address the major comment below.
read point-by-point responses
-
Referee: [§3] §3: The central claim equates the inversion generating function on k-compositions to a sum involving the joint (maj, inv) distribution on S_k. This equality holds only if the invoked bijection σ ↔ (π, λ) maps inv(σ) exactly to maj(π) plus a term depending only on λ. The manuscript cites the bijection but provides no explicit verification or re-derivation of this statistic correspondence; without it the claimed generating-function identity is not established.
Authors: We agree that the manuscript would benefit from an explicit verification of the statistic correspondence. Although the bijection is standard in the literature, the current text does not re-derive how inv(σ) corresponds to maj(π) plus a λ-dependent term. In the revised version we will add a short subsection (or appendix) that explicitly computes this mapping for the inversion statistic and, for completeness, the analogous mapping for the descent statistic under the same bijection. This will make the generating-function identities self-contained. revision: yes
Circularity Check
No circularity: derivation rests on external known bijection
full rationale
The paper's central derivation maps k-compositions to pairs (permutation, partition) via a known external bijection and then relates inversion and descent distributions to classical permutation statistics (maj,inv) and (inv,des). This mapping is invoked as pre-existing rather than constructed from the paper's own equations, fitted parameters, or self-citations. No load-bearing step reduces by definition to its inputs, renames a fitted quantity as a prediction, or relies on a uniqueness theorem imported from the authors' prior work. The approach is therefore self-contained against external benchmarks, with the bijection serving as independent support.
Axiom & Free-Parameter Ledger
axioms (1)
- domain assumption A known bijection exists that maps each k-composition to a pair consisting of a permutation of [k] and an integer partition.
Reference graph
Works this paper leans on
-
[1]
M. Archibald, A. Blecher, A. Knopfmacher, and M. E. Mays, Inversions and parity in compositions of integers,J. Integer Seq.23(2020), article 20.4.1
work page 2020
-
[2]
Carlitz, The expansion of certain products,Proc
L. Carlitz, The expansion of certain products,Proc. Amer. Math. Soc.7(1956), 558– 564. 12
work page 1956
-
[3]
D. Foata and M.-P. Sch¨ utzenberger, Major index and inversion number of permutations, Math. Nachr.83(1978), 143–159
work page 1978
-
[4]
J. S. Frame, G. de B. Robinson, and R. M. Thrall, The hook graphs ofS n,Canad. J. Math.6(1954), 316–324
work page 1954
-
[5]
I. M. Gessel, Generating functions and enumeration of sequences, M.I.T. doctoral thesis, 1977,https://people.brandeis.edu/ ~gessel/homepage/papers/thesis.pdf
work page 1977
-
[6]
S. Heubach, A. Knopfmacher, M. E. Mays, and A. Munagi, Inversions of compositions of integers,Quaest. Math.34(2011), 187–202
work page 2011
-
[7]
S. Heubach and T. Mansour,Combinatorics of Compositions and Words, 2010
work page 2010
-
[8]
A. Knopfmacher, M. E. Mays, and S. Wagner, Compositions with a fixed number of inversions,Aequationes Math.93(2019), 601–617
work page 2019
-
[9]
D. E. Knuth,The Art of Computer Programming: Sorting and Searching, Volume 3, 2nd Edition, 1998
work page 1998
-
[10]
I. G. MacDonald,Symmetric Functions and Hall Polynomials, 2nd Edition, 1995
work page 1995
-
[11]
P. A. MacMahon, The indices of permutations and the derivation there-from of functions of a single variable associated with the permutations of any assemblage of objects,Amer. J. Math35(1913), 281–322
work page 1913
-
[12]
Published electronically athttps://oeis.org
OEIS Foundation Inc., The On-Line Encyclopedia of Integer Sequences, 2026. Published electronically athttps://oeis.org
work page 2026
-
[13]
D. P. Roselle, Coefficients associated with the expansion of certain products,Proc. Amer. Math. Soc.45(1974), 144–150
work page 1974
-
[14]
R. P. Stanley, Binomial posets, M¨ obius inversion, and permutation enumeration,J. Combin. Theory Ser. A20(1976), 336–356
work page 1976
-
[15]
R. P. Stanley,Enumerative Combinatorics, Volume 2, 2nd Edition, 2023. 2020Mathematics Subject Classification: Primary 05A15; Secondary 05A05, 05A17. Keywords:inversion, descent, integer composition. (Concerned with sequences A189052 , A189073, A189074, A238343, A238344.) Received XXXXXX XX 20XX; revised versions received XXXXXX XX 20XX; XXXXXX XX 20XX. Pu...
work page 2023
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.