Binomial Coefficient Algorithm

In mathematics, the binomial coefficients are the positive integers that happen as coefficients in the binomial theorem. The symbol (N K) is normally read as" N choose K" because there are (N K) ways to choose an (unordered) subset of K elements from a fixed set of N elements.

Binomial Coefficient source code, pseudocode and analysis