A simple sorting algorithm for compositions

被引:0
作者
Blecher, Aubrey [1 ]
Brennan, Charlotte [1 ]
Knopfmacher, Arnold [1 ]
Mansour, Toufik [2 ]
机构
[1] Univ Witwatersrand, Sch Math, John Knopfmacher Ctr Applicable Anal & Number The, Private Bag 3, ZA-2050 Johannesburg, South Africa
[2] Univ Haifa, Dept Math, IL-3498838 Haifa, Israel
基金
芬兰科学院; 新加坡国家研究基金会;
关键词
Compositions; generating function; asymptotics; STATISTICS;
D O I
10.1142/S1793830920500792
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
We provide a particular measure for the degree to which an arbitrary composition deviates from increasing sorted order. The application of such a measure to the transport industry is given in the introduction. In order to obtain this measure, we define a statistic called the number of pushes in an arbitrary composition (which is required to produce sorted order) and obtain a generating function for this. The concept of a push is a geometrical one and leads naturally to several dependant concepts which are investigated. These are the number of cells which do not move in the pushing process and the number of cells that coincide before and after the pushing process (a number not less than those that do not move). The concept of a push leads to combining certain single pushes in a natural way which we define as a frictionless push. A generating function for these is also developed. The underlying geometry of the process also leads naturally to counting the largest first component of arbitrary compositions that are already in a sorted order. We provide a generating function for this.
引用
收藏
页数:23
相关论文
共 16 条
  • [1] [Anonymous], 1986, Enumerative Combinatorics I
  • [2] [Anonymous], 1998, CAMBRIDGE MATH LIB
  • [3] Archibald M, 2015, ELECTRON J COMB, V22
  • [4] Variation Statistics on Compositions
    Archibald, Margaret
    Knopfmacher, Arnold
    Mansour, Toufik
    [J]. FUNDAMENTA INFORMATICAE, 2012, 117 (1-4) : 1 - 17
  • [5] The largest missing value in a composition of an integer
    Archibald, Margaret
    Knopfmacher, Arnold
    [J]. DISCRETE MATHEMATICS, 2011, 311 (8-9) : 723 - 731
  • [6] On the Probability that Certain Compositions Have the Same Number Of Parts
    Bona, Miklos
    Knopfmacher, Arnold
    [J]. ANNALS OF COMBINATORICS, 2010, 14 (03) : 291 - 306
  • [7] Flajolet P., 2009, Analytic Combinatorics
  • [8] INVERSIONS IN COMPOSITIONS OF INTEGERS
    Heubach, S.
    Knopfmacher, A.
    Mays, M. E.
    Munagi, A.
    [J]. QUAESTIONES MATHEMATICAE, 2011, 34 (02) : 187 - 202
  • [9] Heubach S., 2010, COMBINATORICS COMPOS
  • [10] Gap-free compositions and gap-free samples of geometric random variables
    Hitczenko, P
    Knoffmacher, A
    [J]. DISCRETE MATHEMATICS, 2005, 294 (03) : 225 - 239