Abstract
A composition of the positive integer n is a representation of n as an ordered sum of positive integers \(n=a_1+a_2+\dots +a_m.\) There are \(2^{n-1}\) unrestricted compositions of n, which can be sorted according to the number of inversions they contain. (An inversion in a composition is a pair of summands \(\{a_i, a_j\}\) for which \( i< j\) and \(a_i>a_j\).) The number of inversions of a composition is an indication of how far the composition is from a partition of n, which by convention uses a sequence of nondecreasing summands and thus has no inversions. We count compositions of n with exactly r inversions in several ways to derive generating function identities, and also consider asymptotic results.
Similar content being viewed by others
References
Andrews, G. E.: The Theory of Partitions, Addison-Wesley, Reading 1976; reprinted, Cambridge University Press, Cambridge, 1984, 1998
Clarke, R.J., Zeng, J.: New Euler–Mahonian statistics on permutations and words. Adv. Appl. Math. 18, 237–270 (1997)
Grabner, P., Knopfmacher, A., Wagner, S.: A general asymptotic scheme for moments of partition statistics. Combin. Probab. Comput. 23, 1057–1086 (2014)
Heubach, S., Knopfmacher, A., Mays, M.E., Munagi, A.: Inversions in compositions of integers. Quaest. Math. 34, 1–16 (2011)
MacMahon, P.A.: The indices of permutations and the derivation therefrom of functions of a single variable associated with the permutations of any assemblage of objects. Am. J. Math. 35(3), 281–322 (1913)
The On-Line Encyclopedia of Integer Sequences. Published electronically at https://oeis.org (2018)
Author information
Authors and Affiliations
Corresponding author
Additional information
This material is based upon work supported by the National Research Foundation under Grant Numbers 2053740 and 96236. The second and third author thank the John Knopfmacher Centre for Applicable Analysis and Number Theory at The University of the Witwatersrand.
Rights and permissions
About this article
Cite this article
Knopfmacher, A., Mays, M.E. & Wagner, S. Compositions with a fixed number of inversions. Aequat. Math. 93, 601–617 (2019). https://doi.org/10.1007/s00010-018-0563-6
Received:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00010-018-0563-6