In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers n ≥ k ≥ 0 and is written (nk) or C(n,k). It is the coefficient of the xk term in the polynomial expansion of the binomial power (1 + x)n; this coefficient can be computed by the multiplicative formula (nk)=n×(n−1)×⋯×(n−k+1)k×(k−1)×⋯×1, which using factorial notation can be compactly expressed as (nk)=n!k!(n−k)!. For example, the fourth power of 1 + x is (1+x)4=(40)x0+(41)x1+(42)x2+(43)x3+(44)x4=1+4x+6x2+4x3+x4, and the binomial coefficient (42)=4×32×1=4!2!2!=6 is the coefficient of the x2 term. Arranging the numbers (n0),(n1),…,(nn) in successive rows for n = 0, 1, 2, ... gives a triangular array called Pascal's triangle, satisfying the recurrence relation (nk)=(n−1k−1)+(n−1k). The binomial coefficients occur in many areas of mathematics, and especially in combinatorics. In combinatorics the symbol (nk) is usually read as "n choose k" because there are (nk) ways to choose an (unordered) subset of k elements from a fixed set of n elements. For example, there are (42)=6 ways to choose 2 elements from {1, 2, 3, 4}, namely {1, 2}, {1, 3}, {1, 4}, {2, 3}, {2, 4} and {3, 4}. The binomial coefficients can be extended to accept more general families of inputs. When n is a nonnegative integer and k is an integer such that k < 0 or k > n, it is common to define (nk)=0. If k is a nonnegative integer and z is any complex number, the first multiplicative formula above can be used to define (zk). Many of the properties of binomial coefficients continue to hold in these more general contexts.
History and notation Andreas von Ettingshausen introduced the notation (nk) in 1826, although the numbers were known centuries earlier (see Pascal's triangle). Around 1150, the Indian mathematician Bhaskaracharya gave an exposition of binomial coefficients in his book Līlāvatī. Alternative notations include C(n, k), nCk, nCk, Ckn, Cnk, and Cn,k, in all of which the C stands for combinations or choices; the C notation means the number of ways to choose k out of n objects. Many calculators use variants of the C notation because they can represent it on a single-line display. In this form the binomial coefficients are easily compared to the numbers of k-permutations of n, written as P(n, k), etc.
Definition and interpretations
For natural numbers (taken to include 0) n and k, the binomial coefficient (nk) can be defined as the coefficient of the monomial Xk in the expansion of (1 + X)n. The same coefficient also occurs (if k ≤ n) in the binomial formula
(valid for any elements x, y of a commutative ring), which explains the name "binomial coefficient". Another occurrence of this number is in combinatorics, where it gives the number of ways, disregarding order, that k objects can be chosen from among n objects; more formally, the number of k-element subsets (or k-combinations) of an n-element set. This number can be seen as equal to that of the first definition, independently of any of the formulas below to compute it: if in each of the n factors of the power (1 + X)n one temporarily labels the term X with an index i (running from 1 to n), then each subset of k indices gives after expansion a contribution Xk, and the coefficient of that monomial in the result will be the number of such subsets. This shows in particular that (nk) is a natural number for any natural numbers n and k. There are many other combinatorial interpretations of binomial coefficients (counting problems for which the answer is given by a binomial coefficient expression), for instance the number of words formed of n bits (digits 0 or 1) whose sum is k is given by (nk), while the number of ways to write k=a1+a2+⋯+an where every ai is a nonnegative integer is given by (n+k−1n−1). Most of these interpretations can be shown to be equivalent to counting k-combinations.
Computing the value of binomial coefficients Several methods exist to compute the value of (nk) without actually expanding a binomial power or counting k-combinations.
Recursive formula One method uses the recursive, purely additive formula (nk)=(n−1k−1)+(n−1k) for all integers n,k such that 1≤k<n, with boundary values (n0)=(nn)=1 for all integers n ≥ 0. The formula follows from considering the set {1, 2, 3, ..., n} and counting separately (a) the k-element groupings that include a particular set element, say "i", in every group (since "i" is already chosen to fill one spot in every group, we need only choose k − 1 from the remaining n − 1) and (b) all the k-groupings that don't include "i"; this enumerates all the possible k-combinations of n elements. It also follows from tracing the contributions to Xk in (1 + X)n−1(1 + X). As there is zero Xn+1 or X−1 in (1 + X)n, one might extend the definition beyond the above boundaries to include (nk)=0 when either k > n or k < 0. This recursive formula then allows the construction of Pascal's triangle, surrounded by white spaces where the zeros, or the trivial coefficients, would be.
Multiplicative formula A more efficient method to compute individual binomial coefficients is given by the formula (nk)=nk_k!=n(n−1)(n−2)⋯(n−(k−1))k(k−1)(k−2)⋯1=∏i=1kn+1−ii, where the numerator of the first fraction, nk_, is a falling factorial. This formula is easiest to understand for the combinatorial interpretation of binomial coefficients. The numerator gives the number of ways to select a sequence of k distinct objects, retaining the order of selection, from a set of n objects. The denominator counts the number of distinct sequences that define the same k-combination when order is disregarded. This formula can also be stated in a recursive form. Using the "C" notation from above, Cn,k=Cn,k−1⋅(n−k+1)/k, where Cn,0=1. It is readily derived by evaluating Cn,k/Cn,k−1 and can intuitively be understood as starting at the leftmost coefficient of the n-th row of Pascal's triangle, whose value is always 1, and recursively computing the next coefficient to its right until the k-th one is reached. Due to the symmetry of the binomial coefficients with regard to k and n − k, calculation of the above product, as well as the recursive relation, may be optimised by setting its upper limit to the smaller of k and n − k.
… excerpt ends here. Continue reading the full article.




