Skip to main content
Log in

Mellin transforms and asymptotics

The mergesort recurrence

  • Published:
Acta Informatica Aims and scope Submit manuscript

Abstract

Mellin transforms and Dirichlet series are useful in quantifying periodicity phenomena present in recursive divide-and-conquer algorithms. This note illustrates the techniques by providing a precise analysis of the standard topdown recursive mergesort algorithm, in the average case, as well as in the worst and best cases. It also derives the variance and shows that the cost of mergesort has a Gaussian limiting distribution. The approach is applicable to a number of divide-and-conquer recurrences.

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. Allouche, J.-P.: Automates finis en théorie des nombres. Expo. Math.5, 239–266, (1987)

    Google Scholar 

  2. Allouche, J.-P., Cohen, H.: Dirichlet series and curious infinite products. Bull. Lond. Math. Soc.17, 531–538 (1985)

    Google Scholar 

  3. Allouche, J.-P., Shallit, J.: The ring ofk-regular sequences. Theor. Comput. Sci.98, 163–197 (1992)

    Google Scholar 

  4. Apostol, T.M.: Introduction to analytic number theory. Berlin, Heidelberg, New York: Springer 1976

    Google Scholar 

  5. Billingsley, P.: Probability and measure, 2nd edn. New York: John Wiley 1986

    Google Scholar 

  6. Cormen, T.H., Leiserson, C.E., Rivest, R.L.: Introduction to algorithms. New York: MIT Press 1990

    Google Scholar 

  7. Delange, H.: Sur la fonction sommatoire de la fonction somme des chiffres. Enseign. Math.21 (1), 31–47 (1975)

    Google Scholar 

  8. Dumas, P.: Critères de B-régularité. Cah. Sémin. Théorie Nombres (Bordeaux) (1994, to appear)

  9. Dumont, J.-M., Thomas, A.: Systèmes de numération et fonctions fractales relatifs aux substitutions. Theor. Comput. Sci.65, 153–169 (1989)

    Google Scholar 

  10. Flajolet, P., Golin, M.: Exact asymptotics of divide-and-conquer recurrences. In: Lingas, S.C.A., Karlsson, R. (eds.) Automata, languages, and programming (Lect. Notes Comput. Sci., vol. 700, pp. 137–149) Berlin, Heidelberg, New York: Springer 1993

    Google Scholar 

  11. Flajolet, P., Grabner, P., Kirschenhofer, P., Prodinger, H., Tichy, R.: Mellin transforms and asymptotics: Digital sums. Theor. Comput. Sci.123, 291–314 (1994)

    Google Scholar 

  12. Flajolet, P., Martin, G.N.: Probabilistic counting algorithms for data base applications. J. Comput. Syst. Sci.31 (2), 182–209 (1985)

    Google Scholar 

  13. Knuth, D.E.: The art of comput4r programming, vol. 3: Fundamental algorithms, 2nd edn. Reading, MA: Addison-Wesley 1968

    Google Scholar 

  14. Knuth, D.E.: The art of computer programming, vol. 3: Sorting and searching. Reading, MA: Addison-Wesley 1973

    Google Scholar 

  15. Sedgwick, R.: Algorithms, 2nd edn. Reading, MA: Addison-Wesley 1988

    Google Scholar 

  16. Stolarsky, K.B.: Power and exponential sums of digital sums related to binomial coefficients. SIAM J. Appl. Math.32 (4) 717–730 (1977)

    Google Scholar 

  17. Vardi, I.: Computational recreations in mathematica. Reading, MA: Addison Wesley 1991

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Flajolet, P., Golin, M. Mellin transforms and asymptotics. Acta Informatica 31, 673–696 (1994). https://doi.org/10.1007/BF01177551

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01177551

Keywords

Navigation