Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Binomial Coefficient






The Object Behind Combinations


The combination formula (nk)=n!k!(n−k)!\binom{n}{k} = \frac{n!}{k!(n-k)!} first appears as the answer to a counting question: how many kk-element subsets does an nn-element set have? But the same expression turns up in far more than subset-counting problems. It organizes polynomial expansions, governs probability distributions, encodes symmetric structures, and satisfies a network of identities that have nothing obvious to do with subsets.

Treating (nk)\binom{n}{k} as a stand-alone mathematical object — independent of any specific counting scenario — reveals structure that the counting interpretation alone does not expose. This page covers the formal definition and notation, the algebraic identities the coefficient satisfies, the visual organization of all binomial coefficients into Pascal's triangle, and the generalization to multinomial coefficients.



Definition

One account is a triangle of numbers built by adding.
Start with 11 at the top. Each row begins and ends with 11, and every number inside is the sum of the two just above it. Row 44 reads 1,4,6,4,11, 4, 6, 4, 1, and its middle entry 66 comes from 3+33 + 3 in row 33. Nothing about choosing or counting is involved — only adding.
n = 0n = 1n = 2n = 3n = 4n = 5n = 61111211331146C(4, 2)41151010511615201561ROW 4 = COEFFICIENTS OF (a + b)⁴(a + b)⁴ = a⁴ + 4a³b + 6a²b² + 4ab³ + b⁴
The highlighted cell is row 44, entry 22, holding 66; the two cells feeding it are 33 and 33. The same state is on the Pascal's triangle explorer.
The other account is a count: how many ways to choose k items from n.
Take 44 items, numbered 11 to 44, and ask how many different pairs can be picked when order does not matter — the combinations of 22 from 44. This is a question about groups of objects, with no triangle and no adding in sight.
Both accounts give the same numbers.
Put the triangle's entry and the actual list of pairs side by side for a few rows.
row ntriangle entry 2pairs from n itemscount
21{1,2}1
31 + 2 = 3{1,2} {1,3} {2,3}3
43 + 3 = 6{1,2} {1,3} {1,4} {2,3} {2,4} {3,4}6
Row by row the two columns agree: 11, 33, 66. Listing the pairs of {1,2,3,4}\{1, 2, 3, 4\} gives exactly six, the number the triangle produced by adding 3+33 + 3.
They had to agree, because counting pairs splits the same way the triangle adds.
Sort the pairs by whether they contain the last item, 44.
pairs from {1, 2, 3, 4}which oneshow many
containing 4{1,4} {2,4} {3,4}3 — pick 1 more of 3
not containing 4{1,2} {1,3} {2,3}3 — pick 2 of 3
all pairs3 + 3 = 6
Pairs with 44 need one more item from the other three: 33 ways. Pairs without 44 are pairs from three items: 33 ways. That is the triangle's rule — an entry is the sum of the two above it — read as a statement about choosing. The two accounts were never separate: the triangle is the table of these counts.
The definition
For non-negative integers nn and kk with 0≤k≤n0 \le k \le n, the binomial coefficient (nk)\binom{n}{k} is the number that both accounts describe — entry kk of row nn, the number of ways to choose kk of nn items — and it equals
Binomial Coefficient
(nk)=n!k! (n−k)!.\binom{n}{k} = \frac{n!}{k!\,(n-k)!}.
Learn more about this formula: Binomial Coefficient →
A binomial coefficient is a whole number, and its formula extends to a polynomial.
For whole-number nn and kk it is a count, so always a non-negative integer. Boundary cases follow directly: (n0)=(nn)=1\binom{n}{0} = \binom{n}{n} = 1 for every n≥0n \ge 0, and (nk)=0\binom{n}{k} = 0 whenever k>nk > n.
The formula itself does not need nn to be a whole number:
Generalized Binomial Coefficient
(xk)=x(x−1)(x−2)⋯(x−k+1)k!,k∈Z≥0,  x∈R (or C).\binom{x}{k} = \frac{x(x-1)(x-2) \cdots (x-k+1)}{k!}, \quad k \in \mathbb{Z}_{\ge 0}, \; x \in \mathbb{R} \text{ (or } \mathbb{C}\text{)}.
Learn more about this formula: Generalized Binomial Coefficient →
Here xx can be any real or complex number and kk remains a non-negative integer. The numerator is a polynomial of degree kk in xx, so (xk)\binom{x}{k} is itself a polynomial in xx. This is the form that appears in Newton's generalized binomial theorem, where the upper index is no longer required to be a non-negative integer.
C(x, 2) as a curve through the counts C(n, 2)−1012342468xC(x, 2) = x(x − 1)/2C(2,2) = 1C(3,2) = 3C(4,2) = 6x = −1: value 1x = 5/2: value 15/8x = n, a whole number: the count of 2-element subsets of n itemsany other x: the same polynomial, no longer a count
One polynomial through the counts

For k = 2 the descending-product form gives C(x, 2) = x(x − 1)/2, a parabola in x. At x = 0, 1, 2, 3, 4 it passes through 0, 0, 1, 3, 6 — the number of ways to choose 2 items from x. Between and beyond those points the same formula still returns a value: 15/8 at x = 5/2, and 1 at x = −1. Those values count nothing; they are what the algebraic definition adds, and what Newton’s generalized binomial theorem uses.

For any k the curve is a polynomial of degree k, and it vanishes at x = 0, 1, ..., k - 1: fewer than k items leave no way to choose k.
Reach for the triangle, the count or the formula depending on the job.
The triangle is quickest for small nn and makes identities visible — symmetry, row sums, the adding rule. The count is what gives a binomial coefficient its meaning in a problem. The factorial formula is the one to compute with once nn is large: no one builds row 5050 by hand, but (502)=50⋅492=1225\binom{50}{2} = \frac{50 \cdot 49}{2} = 1225 takes a line.
Pitfall: Dropping the k! in the denominator
Computing (502)\binom{50}{2} as 50⋅49=245050 \cdot 49 = 2450 counts ordered picks, so every pair is counted twice. Dividing by 2!=22! = 2 gives (502)=1225\binom{50}{2} = 1225.
The factorial formula cancels down to a short product before any large factorial is computed: n!k! (n−k)!=n(n−1)⋯(n−k+1)k!\frac{n!}{k!\,(n-k)!} = \frac{n(n-1)\cdots(n-k+1)}{k!}, with kk factors on top. The top counts the ways to pick kk items one after another, as a first, a second and so on. The bottom counts the orders in which the same kk items can be picked, which is why it appears whenever order does not matter.
To evaluate the factorials in this formula for specific values, use the factorial calculator.
The rest of the page covers the notation, the identities that connect binomial coefficients, Pascal's triangle in detail, and the multinomial coefficient; the binomial theorem page shows the same numbers as the coefficients of (a+b)n(a + b)^n.

Binomial Coefficient Notation

Notation

Binomial Coefficient Notation

One object, four spellings, and a stack that is not a fraction. The read-aloud form — "nn choose kk" — is the key that unlocks all of them; in LaTeX the stacked form is \binom{n}{k}.
n!n! inside every formula is owned by permutation notation; the multinomial extension (nk1,…,kr)\binom{n}{k_1, \ldots, k_r} is built in The Multinomial Coefficient below.
(nk)\binom{n}{k}
n choose k
The standard modern form: two numbers stacked in parentheses, no bar between them — the top chooses from, the bottom chooses how many. Reading it as a fraction is the founding error; (62)=15\binom{6}{2} = 15, not 33.
CasesThe same mark survives the definition's stretch: (xk)\binom{x}{k} with real or complex upper index — Definition above — and grows extra lower entries in the multinomial form of The Multinomial Coefficient below.
Same glyph elsewhereA two-entry column vector wears identical clothing — two stacked numbers in parentheses; context (counting versus coordinates) is the only separator.
C(n,k)C(n, k) · nCk_nC_k
C n k; n choose k on a calculator
The linear spellings: C(n,k)C(n, k) in introductory texts — function notation borrowed for a count — and nCk_nC_k on calculator keys and displays, the combinatorial sibling of nPr_nP_r from permutation notation.
CasesAll spellings agree with the stacked form: C(n,k)=nCk=(nk)C(n, k) = {}_nC_k = \binom{n}{k}; the linear forms survive where stacking is impossible — plain-text input, spreadsheet formulas, calculator screens.
Do not confuseA function named C. C(n,k)C(n, k) looks like an evaluation of some function CC — harmless until CC is also a constant or a circle in the same problem; the stacked form dodges the letter entirely.
CnkC_n^k vs CknC_k^n
C with n and k in the corners — order varies
The European corner forms: French and Russian traditions attach nn and kk as subscript and superscript — but which corner holds which number varies by country and by book. The mark alone does not say.
CasesWhere the convention is fixed it is fixed hard — Russian texts write CnkC_n^k with the pool nn below; some French sources invert. Checking against a known value (C52=10C_5^2 = 10 or C25C_2^5?) settles any book in one line.
Do not confuseA power. CnkC_n^k reads dangerously like "CnC_n raised to the kk" — the superscript is an index, not an exponent; the same crowded-corner hazard the inverse marks live with.
DownloadPNG2×PDF
Notation · Cheat sheet
Combinatorics Notation at a Glance
The marks from the notation cards across the combinatorics pages: how each is read and what it means. Every group links to the full card on its page.
Permutations
n!n!
n factorial
n×(n−1)×⋯×1n \times (n-1) \times \cdots \times 1: the count of complete rearrangements.
P(n,r)P(n, r) · nPr_nP_r
P n r; n permute r
Ordered selections of rr from nn: n!/(n−r)!n!/(n-r)!.
!n!n · DnD_n
subfactorial n; derangements of n
Permutations that leave nothing in its place.
Binomial coefficientThis page
(nk)\binom{n}{k}
n choose k
Unordered selections of kk from nn; no bar between the numbers.
C(n,k)C(n, k) · nCk_nC_k
C n k; n choose k on a calculator
The linear spellings: introductory texts, and calculator keys.
CnkC_n^k vs CknC_k^n
C with n and k in the corners
The European forms; which corner holds nn varies by tradition.
Binomial theorem
∑k=0n\textstyle\sum_{k=0}^{n}
the sum as k runs from zero to n
Sigma folds the n+1n + 1 terms of the expansion into one expression.
Tk+1T_{k+1}
the k-plus-first term
The term containing bkb^k; numbering starts at T1T_1.
∑k1+⋯+kr=n\textstyle\sum_{k_1 + \cdots + k_r = n}
the sum over all splittings of n
One term for every way of writing nn as rr non-negative parts.
Same marks, different job
(nk)\binom{n}{k}A count; not a fraction with its bar missing, and not a column vector.
P(n,r)P(n, r) vs P(A)P(A)A permutation count here; a probability in probability.
!n!n vs n!n!The position decides: derangements before the number, factorial after it.
CnkC_n^kRead the corners by the book’s convention; nn may sit on top or below.
Combinatorics Notation at a Glance·/combinatoricsLearn Math Class

Identities


The binomial coefficient satisfies a network of identities, many of which are not visible from the counting interpretation alone.

Symmetry


Binomial Symmetry Identity
(nk)=(nn−k).\binom{n}{k} = \binom{n}{n-k}.
Learn more about this formula: Binomial Symmetry Identity →


Choosing which kk items to include is equivalent to choosing which n−kn-k items to exclude.

Pascal's Rule


Pascal's Rule
(nk)=(n−1k−1)+(n−1k).\binom{n}{k} = \binom{n-1}{k-1} + \binom{n-1}{k}.
Learn more about this formula: Pascal's Rule →


Fix a particular element of the nn-set. A kk-subset either contains that element — in which case the remaining k−1k-1 items come from the other n−1n-1 — or does not, in which case all kk items come from the other n−1n-1. The two cases partition the kk-subsets, and adding their counts gives the identity. This recursion is the foundation of Pascal's triangle.

Absorption Identity


Absorption Identity
k(nk)=n(n−1k−1).k \binom{n}{k} = n \binom{n-1}{k-1}.
Learn more about this formula: Absorption Identity →


Both sides count the number of ways to choose a kk-element subset and then designate one of its members as distinguished.

Row Sum


Binomial Row Sum
∑k=0n(nk)=2n.\sum_{k=0}^{n} \binom{n}{k} = 2^n.
Learn more about this formula: Binomial Row Sum →


The total number of subsets of an nn-set, summed over all possible sizes, equals the size of the power set.

Alternating Row Sum


Alternating Binomial Sum
∑k=0n(−1)k(nk)=0,n≥1.\sum_{k=0}^{n} (-1)^k \binom{n}{k} = 0, \quad n \ge 1.
Learn more about this formula: Alternating Binomial Sum →


The number of even-sized subsets of an nn-set equals the number of odd-sized subsets.

Vandermonde's Identity


Vandermonde's Identity
(m+nr)=∑k=0r(mk)(nr−k).\binom{m+n}{r} = \sum_{k=0}^{r} \binom{m}{k} \binom{n}{r-k}.
Learn more about this formula: Vandermonde's Identity →


Fact: Found in China in 1303
Zhu Shijie wrote this identity in his Jade Mirror of the Four Unknowns in 1303, together with a drawing of the triangle. Vandermonde published it in 1772, about 470 years later, and the name stayed with him.

Choosing rr items from the disjoint union of an mm-set and an nn-set partitions according to how many of the chosen items come from each side.

Take m=n=3m = n = 3 and r=3r = 3. The 33 chosen items can include 00, 11, 22 or 33 from the first group, so (63)=1⋅1+3⋅3+3⋅3+1⋅1=20\binom{6}{3} = 1 \cdot 1 + 3 \cdot 3 + 3 \cdot 3 + 1 \cdot 1 = 20. With m=n=rm = n = r in general, the identity becomes (2nn)=∑k(nk)2\binom{2n}{n} = \sum_{k} \binom{n}{k}^2: the squares of the entries of row nn add up to the middle entry of row 2n2n.

Hockey Stick Identity


Hockey Stick Identity
∑i=kn(ik)=(n+1k+1).\sum_{i=k}^{n} \binom{i}{k} = \binom{n+1}{k+1}.
Learn more about this formula: Hockey Stick Identity →


A sum running down a diagonal of Pascal's triangle equals a single entry one row below.

Pitfall: Taking the entry from the last row of the sum
Writing ∑i=25(i2)\sum_{i=2}^{5} \binom{i}{2} as (53)=10\binom{5}{3} = 10 stops one row too early and gives half the actual total. The upper index is n+1n + 1: (63)=20\binom{6}{3} = 20.

Take k=2k = 2 and n=5n = 5. The sum (22)+(32)+(42)+(52)=1+3+6+10=20\binom{2}{2} + \binom{3}{2} + \binom{4}{2} + \binom{5}{2} = 1 + 3 + 6 + 10 = 20 adds the first four triangular numbers, which run down one diagonal of the triangle. The identity names this total as a single coefficient, so a long diagonal sum never has to be added term by term.

Most of these identities admit both algebraic and combinatorial proofs. The combinatorial proofs typically use double counting: the same set is enumerated by two different strategies, and the two expressions for its size are equated.
DownloadPNG2×PDF
Layout
IdentityFormulaCombinatorial meaning
SymmetryC(n, k) = C(n, n − k)choosing the k included items ↔ choosing the n − k excluded items
Pascal's ruleC(n, k) = C(n−1, k−1) + C(n−1, k)a fixed element is either in the subset or out of it
Absorptionk · C(n, k) = n · C(n−1, k−1)choose a k-subset, then distinguish one of its members
Row sumΣₖ₌₀ⁿ C(n, k) = 2ⁿtotal number of subsets of an n-set
Alternating row sumΣₖ₌₀ⁿ (−1)ᵏ C(n, k) = 0 for n ≥ 1even-sized subsets and odd-sized subsets are equally numerous
Vandermonde's identityC(m+n, r) = Σₖ₌₀ʳ C(m, k) C(n, r−k)partition the chosen items between the two source sets
Hockey stickΣᵢ₌ₖⁿ C(i, k) = C(n+1, k+1)a diagonal sum in Pascal's triangle equals a single entry one row below
IdentitiesLearn Math Class
A binomial identity is usually a statement about subsets, and counting those subsets two ways is the shortest proof.

Pascal's Triangle


Pascal's rule arranges all binomial coefficients into a triangular array. Row nn, indexed starting from row 00, contains the n+1n+1 values

Pascal's Triangle
(n0),(n1),…,(nn).\binom{n}{0}, \binom{n}{1}, \ldots, \binom{n}{n}.

RULEPascal's Rule
Each interior entry equals the sum of the two entries directly above it — the visual form of Pascal's rule.

Pitfall: Counting rows and positions from 1
Calling the top 11 row 11 and the left edge position 11 reads (52)\binom{5}{2} off the row 1,4,6,4,11, 4, 6, 4, 1 as 44. Counting both from 00, row 55 is 1,5,10,10,5,11, 5, 10, 10, 5, 1 and (52)=10\binom{5}{2} = 10.

To read a value off the triangle, locate it by two counts: the row, counted down from the single 11 at the top, and the position within the row, counted from the left edge. Both counts follow the indices of (nk)\binom{n}{k}, so a lookup in the triangle needs no formula at all. For small nn this is the quickest way to get a binomial coefficient, and it shows the neighbouring values at the same time.

What the Triangle Encodes


The symmetry identity (nk)=(nn−k)\binom{n}{k} = \binom{n}{n-k} is immediate from the array: each row reads the same forwards and backwards.

The diagonals of the triangle hold familiar sequences:

• The first diagonal contains the constants 1,1,1,…1, 1, 1, \ldots
• The second contains the natural numbers 1,2,3,4,…1, 2, 3, 4, \ldots
• The third contains the triangular numbers 1,3,6,10,…1, 3, 6, 10, \ldots
• The fourth contains the tetrahedral numbers 1,4,10,20,…1, 4, 10, 20, \ldots

Fact: Odd entries draw Sierpiński's triangle
Shade the odd entries and the triangle fills with blank triangles inside blank triangles, the fractal Sierpiński described in 1915. By Lucas' theorem, (nk)\binom{n}{k} is odd exactly when every binary digit 11 of kk is also a 11 of nn, so in row 64=1000000264 = 1000000_2 only the two end entries are odd.

Sums along the shallow diagonals — diagonals that move one step down and one step left at each entry — produce the Fibonacci numbers.

The row sums double at each step, since ∑k(nk)=2n\sum_k \binom{n}{k} = 2^n.

Parity follows a pattern of its own. Pascal's rule adds the two entries above, and odd plus even is odd while odd plus odd and even plus even are even, so the odd entries of each row are fixed by those of the row before. Marking only whether each entry is odd or even, row after row, turns the array into a picture in two colours.

Computing Coefficients


For computing individual binomial coefficients, Pascal's triangle is the most efficient route when the values needed are small. Beyond moderate size, the explicit formula or the absorption identity is faster.
DownloadPNG2×PDF
Layout
DiagonalSequence nameFirst few valuesClosed form (n-th)
1st (k = 0)constants1, 1, 1, 1, …1
2nd (k = 1)natural numbers1, 2, 3, 4, …n
3rd (k = 2)triangular numbers1, 3, 6, 10, 15, …n(n+1) ⁄ 2
4th (k = 3)tetrahedral numbers1, 4, 10, 20, 35, …n(n+1)(n+2) ⁄ 6
Pascal's TriangleLearn Math Class
n = 0n = 1n = 2n = 3n = 4n = 5n = 6n = 71111211331146411510105116152015611721C(7, 2)35352171ROW 7 = COEFFICIENTS OF (a + b)⁷(a + b)⁷ = a⁷ + 7a⁶b + 21a⁵b² + 35a⁴b³ + 35a³b⁴ + 21a²b⁵ + 7ab⁶ + b⁷
C(7,2) = C(7,5) = 21

The two highlighted entries sit at mirrored positions in the same row and hold the same value, which is the identity C(n,k) = C(n,n−k) drawn rather than proved. Choosing which 2 of 7 items to take is the same act as choosing which 5 to leave, and the array makes that restatement visible as a reflection. Move the focus along a row and watch its mirror move with it on the Pascal’s triangle visualizer.

The diagonals and the shallow-diagonal sums above are read off the same array, so each one is another identity that the arrangement makes obvious.

The Multinomial Coefficient


The binomial coefficient counts ways to split nn items into two groups of sizes kk and n−kn-k. The multinomial coefficient is the natural generalization to more than two groups.

Definition


For non-negative integers k1,k2,…,krk_1, k_2, \ldots, k_r with k1+k2+⋯+kr=nk_1 + k_2 + \cdots + k_r = n,

Multinomial Coefficient
(nk1,k2,…,kr)=n!k1! k2!⋯kr!,k1+k2+⋯+kr=n.\binom{n}{k_1, k_2, \ldots, k_r} = \frac{n!}{k_1! \, k_2! \cdots k_r!}, \quad k_1 + k_2 + \cdots + k_r = n.
Learn more about this formula: Multinomial Coefficient →


The binomial coefficient is the case r=2r = 2:

The Multinomial Coefficient
(nk)=(nk, n−k).\binom{n}{k} = \binom{n}{k, \, n-k}.

Combinatorial Interpretation


The multinomial coefficient counts the number of distinct arrangements of nn items in which k1k_1 are of type 1, k2k_2 are of type 2, and so on through krk_r items of type rr. This is the same count that appears in permutations with identical items — the two viewpoints (partitioning into groups versus arranging with repetition of types) refer to the same enumeration.

Pitfall: Using the multinomial for unnamed groups
Using (62,2,2)=90\binom{6}{2, 2, 2} = 90 for the ways to split 66 people into 33 pairs counts each split 3!=63! = 6 times, once for every way of naming the pairs. The number of pairings is 90/6=1590 / 6 = 15.

In the group reading, each group has its own size and its own name: group 11 receives k1k_1 items, group 22 receives k2k_2 items, and so on.

Example
Splitting 66 people into a team for Monday, a team for Tuesday and a team for Wednesday, two people each, is counted by (62,2,2)=6!2! 2! 2!=90\binom{6}{2, 2, 2} = \frac{6!}{2!\,2!\,2!} = 90.

It is the same number as the arrangements of the letters A,A,B,B,C,CA, A, B, B, C, C: line the people up and write under each one the letter of that person's team.

The multinomial coefficient is also the natural coefficient in the multinomial theorem, which expands (x1+x2+⋯+xr)n(x_1 + x_2 + \cdots + x_r)^n.

Sharing items among named groups and arranging a word with repeated letters are one count, n!k1! k2!⋯kr!\frac{n!}{k_1! \, k_2! \cdots k_r!}.

Common Pitfalls

Four mistakes come up again and again when working with binomial coefficients. Each is marked where it happens in the sections above. Here each is worked through in full, with the wrong and the right working side by side.
DownloadPNG2×PDF
1Dropping the k! in the denominator
The binomial coefficient is computed as the product n(n−1)⋯(n−k+1)n(n-1)\cdots(n-k+1) alone, without dividing by k!k!. That product counts ordered selections, in which the same group picked in a different order is counted again.
Wrong turn
Error here
The number of ways to choose 22 of 5050 items is given as 50⋅49=245050 \cdot 49 = 2450.
Right path
(502)=50!2! 48!=50⋅492!=24502=1225\binom{50}{2} = \frac{50!}{2!\,48!} = \frac{50 \cdot 49}{2!} = \frac{2450}{2} = 1225.
Why it happensAfter the factorials cancel, the product on top looks like the whole computation, and the small k!k! underneath is easy to forget. The same product without the division is the correct count of permutations, so it looks familiar.
How to checkTry a case small enough to list. The pairs from {1,2,3}\{1, 2, 3\} are {1,2}\{1, 2\}, {1,3}\{1, 3\} and {2,3}\{2, 3\}: three of them, while 3⋅2=63 \cdot 2 = 6. A product without k!k! is always k!k! times too large.
2Taking the entry from the last row of the sum
The hockey stick sum ∑i=kn(ik)\sum_{i=k}^{n} \binom{i}{k} is written as a coefficient from row nn, where the sum stops, instead of from the row below it.
Wrong turn
Error here
(22)+(32)+(42)+(52)=(53)=10\binom{2}{2} + \binom{3}{2} + \binom{4}{2} + \binom{5}{2} = \binom{5}{3} = 10.
Right path
The identity gives (n+1k+1)\binom{n+1}{k+1} with n=5n = 5 and k=2k = 2, so the sum is (63)=20\binom{6}{3} = 20. Adding directly confirms it: 1+3+6+10=201 + 3 + 6 + 10 = 20.
Why it happensThe upper limit of the sum is nn, and that nn is copied into the answer without the shift. In the triangle, the total sits one row below the last term of the diagonal, a step that is easy to miss.
How to checkAdd the first two terms by hand. (22)+(32)=1+3=4=(43)\binom{2}{2} + \binom{3}{2} = 1 + 3 = 4 = \binom{4}{3}, while the last row of that sum gives (33)=1\binom{3}{3} = 1.
3Counting rows and positions from 1
Pascal's triangle is read with the top row as row 11 and the left edge as position 11. The triangle is indexed from 00 in both directions, so this lands one row above and one position to the left of the intended entry.
Start
For (52)\binom{5}{2},
Wrong turn
Error here
The fifth row from the top is 1,4,6,4,11, 4, 6, 4, 1, its second number is 44, and (52)=4\binom{5}{2} = 4 is reported.
Right path
The top row is row 00, so row 55 is 1,5,10,10,5,11, 5, 10, 10, 5, 1. Its positions are k=0,1,…,5k = 0, 1, \ldots, 5, and position 22 is the third number: (52)=10\binom{5}{2} = 10.
Why it happensEveryday counting starts at 11, and the triangle carries no labels. The count from 00 comes from the left edge (n0)=1\binom{n}{0} = 1 and the single entry (00)=1\binom{0}{0} = 1 at the top.
How to checkRow nn has n+1n + 1 entries, and its second entry is (n1)=n\binom{n}{1} = n. Row 55 must start 1,51, 5; a row that starts 1,41, 4 is row 44.
4Using the multinomial for unnamed groups
The multinomial coefficient is used to split items into groups of equal size that have no names. The coefficient counts splits into named groups, so each split into unnamed groups is counted once for every way of naming them.
Wrong turn
Error here
The number of ways to pair up 66 people is given as (62,2,2)=7208=90\binom{6}{2, 2, 2} = \frac{720}{8} = 90.
Right path
The 9090 counts splits into a first, a second and a third pair. Any one pairing can be labelled in 3!=63! = 6 ways, so the number of pairings is 906=15\frac{90}{6} = 15.
Why it happensThe formula has a slot for each group size, and nothing in it asks whether the groups have names. When the sizes are all different, the sizes themselves tell the groups apart and no division is needed, which makes the equal-size case easy to overlook.
How to checkCount directly. Person 11 has 55 possible partners, then the first person left over has 33, and the last two form the final pair: 5⋅3⋅1=155 \cdot 3 \cdot 1 = 15.
Common pitfalls with binomial coefficients·/combinatorics/binomial-coefficientLearn Math Class
Each slip misreads a formula or a picture. (nk)\binom{n}{k} divides by k!k!, the hockey-stick sum lands one row below its last term and one place to the right, the rows and positions of Pascal's triangle are counted from 00, and groups without names divide the multinomial by the number of ways to order the groups. A case small enough to list settles each of them.

Related Concepts


• Probability — the binomial distribution and several related discrete distributions are built directly on the binomial coefficient.

• Algebra — polynomial identities, generating functions, and finite difference calculus all rely on binomial expansions and binomial-coefficient identities.

Binomial Coefficient at a Glance

This summary gathers the binomial coefficient facts of the page in ten rows. Each row names a fact with a line on where it comes from and a link to its section, states it, and works one small example.

It opens with the factorial formula, its meaning as a count of subsets and the way it is read aloud. Three rows of special values follow: the ends of each row of Pascal's triangle, the values next to them, and the zero outside the allowed range. The last rows extend the coefficient to a real upper index, place it in Pascal's triangle, generalize it to more than two groups, and list where it appears.
DownloadPNG2×PDF
ConceptStatementExample
Standard formulaThe count of selections written with factorials, from the definition.(nk)=n!k! (n−k)!,0≤k≤n\displaystyle \binom{n}{k} = \frac{n!}{k!\,(n-k)!}, \quad 0 \le k \le n(52)=1202⋅6=10\displaystyle \binom{5}{2} = \frac{120}{2 \cdot 6} = 10
Combinatorial meaningChoosing kk items from nn when order does not matter, the reading the definition starts from.the number of kk-element subsets of an nn-element set1010 two-element subsets of {a,b,c,d,e}\{a, b, c, d, e\}
Read aloudSpoken as a choice, never as a fraction, as the notation section explains."nn choose kk"(52)\displaystyle \binom{5}{2} reads "5 choose 2"
Edge valuesChoosing nothing, or everything, can be done in one way only (the definition).(n0)=(nn)=1,n≥0\displaystyle \binom{n}{0} = \binom{n}{n} = 1, \quad n \ge 0(70)=(77)=1\displaystyle \binom{7}{0} = \binom{7}{7} = 1
Linear valuesOne item, or all but one, can be picked in nn ways; these values fill the second diagonal of Pascal's triangle.(n1)=(nn−1)=n\displaystyle \binom{n}{1} = \binom{n}{n-1} = n(71)=7\displaystyle \binom{7}{1} = 7
Out of rangeNo selection exists when more items are asked for than there are (the definition).(nk)=0,k>n or k<0\displaystyle \binom{n}{k} = 0, \quad k > n \text{ or } k < 0(35)=0\displaystyle \binom{3}{5} = 0
Real upper indexFor any real or complex xx and a whole number k≥0k \ge 0, as the generalization to a real upper index shows.(xk)=x(x−1)⋯(x−k+1)k!\displaystyle \binom{x}{k} = \frac{x(x-1) \cdots (x-k+1)}{k!}, a polynomial of degree kk in xx(1/22)=12⋅(−12)2=−18\displaystyle \binom{1/2}{2} = \frac{\frac{1}{2} \cdot \left(-\frac{1}{2}\right)}{2} = -\frac{1}{8}
Pascal's-triangle rowRows and positions are both counted from 00 in Pascal's triangle.row nn holds (n0),(n1),…,(nn)\displaystyle \binom{n}{0}, \binom{n}{1}, \ldots, \binom{n}{n}row 44: 1,4,6,4,11, 4, 6, 4, 1
Multinomial generalizationSplits nn items into named groups of the given sizes, as the multinomial coefficient shows.(nk1,k2,…,kr)=n!k1! k2!⋯kr!,k1+k2+⋯+kr=n\displaystyle \binom{n}{k_1, k_2, \ldots, k_r} = \frac{n!}{k_1! \, k_2! \cdots k_r!}, \quad k_1 + k_2 + \cdots + k_r = n(62,2,2)=7208=90\displaystyle \binom{6}{2, 2, 2} = \frac{720}{8} = 90
Where it appearsThe coefficient reaches well beyond counting, as related concepts lists.subset counts, polynomial expansions through the binomial theorem, discrete probability through the binomial distribution, and finite-difference calculusthe coefficients of (x+y)n(x + y)^n are (nk)\displaystyle \binom{n}{k}
Binomial coefficient formulas·All combinatorics formulasLearn Math Class
The factorial formula is the definition, but it is rarely the fastest route. Special values and the triangle settle small cases at a glance, and the same numbers return as subset counts, as the coefficients of a power of a sum and as binomial probabilities.

Skills You Should Learn

Each skill opens its step-by-step method page. Skills marked "On this page" are taught above.
Taught on this page
More combinatorics methods
  • Expand a binomial powerExpand (a+b)n(a + b)^n with the binomial theorem: coefficients from row nn of Pascal's triangle, powers of aa falling and powers of bb rising.
  • Find a specific term in a binomial expansionFind one term or coefficient of (a+b)n(a + b)^n without expanding: write the general term (nk)an−kbk\binom{n}{k}a^{n-k}b^k and solve for kk.

Binomial Coefficient FAQ

How do you read the notation n choose k?

+
As the number of ways to select k items from n when order does not matter. The stacked pair in brackets carries no fraction bar, despite looking like one, and is spoken as n choose k rather than n over k. Writing it as a fraction is a frequent transcription error.Read more →

Why does choosing k items equal choosing n minus k?

+
Because selecting which items to take is the same decision as selecting which to leave behind. Every choice of k determines a unique choice of the remaining items, so the two counts match exactly. This symmetry halves the work when computing values near the middle of a row of Pascal's triangle.Read more →

Why is zero factorial equal to one?

+
Because there is exactly one way to arrange nothing: the empty arrangement. Defining it as one also keeps the formulas consistent, since choosing all n items or choosing none should both give a count of one, and only this convention makes the binomial coefficient formula produce that.Read more →

Which numbers in Pascal's triangle are odd?

+
Lucas' theorem gives the rule: (nk)\binom{n}{k} is odd exactly when every binary digit 11 of kk is also a 11 of nn. Row 10=1010210 = 1010_2 has odd entries only at k=0,2,8,10k = 0, 2, 8, 10, and row 64=1000000264 = 1000000_2 only at its two ends. Shading the odd entries row after row draws Sierpiński's triangle, blank triangles inside blank triangles.Read more →

What do the squares of a row of Pascal's triangle add up to?

+
The middle entry of the row twice as far down: ∑k(nk)2=(2nn)\sum_{k} \binom{n}{k}^2 = \binom{2n}{n}. It is Vandermonde's identity with m=n=rm = n = r, once (nr−k)\binom{n}{r-k} is rewritten as (nk)\binom{n}{k} by symmetry. Row 33 gives 1+9+9+1=20=(63)1 + 9 + 9 + 1 = 20 = \binom{6}{3}: choosing 33 of 66 items means taking some from the first three and the rest from the other three.Read more →

Can the top number of a binomial coefficient be negative or a fraction?

+
Yes, through the descending-product form (xk)=x(x−1)⋯(x−k+1)k!\binom{x}{k} = \frac{x(x-1)\cdots(x-k+1)}{k!}, which needs only kk to be a whole number. Then (−12)=(−1)(−2)2=1\binom{-1}{2} = \frac{(-1)(-2)}{2} = 1 and (1/22)=−18\binom{1/2}{2} = -\frac{1}{8}. Such values count nothing, but they are the coefficients of Newton's generalized binomial theorem. The factorial form n!k! (n−k)!\frac{n!}{k!\,(n-k)!} does not apply, since it needs whole numbers.Read more →