skip to main content
article

Binomial coefficient computation: recursion or iteration?

Published:01 December 2002Publication History
Skip Abstract Section

Abstract

Binomial coefficient computation, i.e. the calculation of the number of combinations of n objects taken k at a time, C(n,k), can be performed either by using recursion or by iteration. Here, we elaborate on a previous report [6], which presented recursive methods on binomial coefficient calculation and propose alternative efficient iterative methods for this purpose.

References

  1. Bentley J. L.: Writing Efficient Programs, Prentice Hall, 1982. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Bentley J. L.: Programming Pearls, Addison Wesley, 1986. Google ScholarGoogle Scholar
  3. Bentley J. L.: More Programming Pearls - Confessions of a Coder, Addison Wesley, 1988. Google ScholarGoogle Scholar
  4. Brassard G. and Bratley P.: Fundamentals of Algorithmics, Prentice Hall, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Moret B. M. E. and Shapiro H. D.: Algorithms from P to NP, Volume I: Design and Efficiency, Benjamin/Cummings, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Rolfe T.: Binomial Coefficient Recursion: the Good, and the Bad and Ugly, ACM SIGCSE Bulletin Inroads, Vol.33, No.2, pp.35--36, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in

Full Access

  • Published in

    cover image ACM SIGCSE Bulletin
    ACM SIGCSE Bulletin  Volume 34, Issue 4
    December 2002
    151 pages
    ISSN:0097-8418
    DOI:10.1145/820127
    Issue’s Table of Contents

    Copyright © 2002 Author

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 1 December 2002

    Check for updates

    Qualifiers

    • article

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader