Binom
Binom is a shorthand for the binomial coefficient, typically written as binom(n, k) or C(n, k). It counts the number of ways to choose k elements from an n-element set without regard to order. For nonnegative integers n and k with 0 ≤ k ≤ n, binom(n, k) equals n! / (k!(n−k)!). The coefficient is symmetric: binom(n, k) = binom(n, n−k).
Binom(n, k) also satisfies Pascal's rule: binom(n, k) = binom(n−1, k) + binom(n−1, k−1). This recurrence underpins Pascal's
In probability and statistics, binom(n, k) appears in the binomial distribution. If X follows a binomial distribution
The concept extends beyond integers through the generalized binomial coefficient. For a real or complex α and
In computing, binom(n, k) is implemented in many programming environments as a function (for example, as choose(n,