Binomal Coefficient

Description

The binomial coefficient calculates the number of possible unordered outcomes when picking $k$ objects from $n$ objects, otherwise known as $n$ Choose $k$ or

(1)
\begin{align} \binom{n}{k}=\frac{n!}{k!(n-k)!} \end{align}

The Sage cell below caculates the binomial coefficient when $n=10$ and $k=9$.

Sage Cell

Code

k=9
n=10
binomial(n,k)


None

Tags

Primary Tags:Combinatorics

Secondary Tags:Combinations

None