Skip to main content
Log in

Compositions with a fixed number of inversions

  • Published:
Aequationes mathematicae Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Andrews, G. E.: The Theory of Partitions, Addison-Wesley, Reading 1976; reprinted, Cambridge University Press, Cambridge, 1984, 1998

  2. Clarke, R.J., Zeng, J.: New Euler–Mahonian statistics on permutations and words. Adv. Appl. Math. 18, 237–270 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  3. Grabner, P., Knopfmacher, A., Wagner, S.: A general asymptotic scheme for moments of partition statistics. Combin. Probab. Comput. 23, 1057–1086 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  4. Heubach, S., Knopfmacher, A., Mays, M.E., Munagi, A.: Inversions in compositions of integers. Quaest. Math. 34, 1–16 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  5. 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)

    Article  MathSciNet  MATH  Google Scholar 

  6. The On-Line Encyclopedia of Integer Sequences. Published electronically at https://oeis.org (2018)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to A. Knopfmacher.

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

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00010-018-0563-6

Keywords

Mathematics Subject Classification

Navigation