Mathematics/Lessons/Sequences & Series/Factorial Notation & nCr
Pure Mathematics · Sequences & Series · Year 1

Factorial Notation & nCr

Pascal's triangle is quick for small rows and painful for large ones. Factorials give a formula that reaches any entry of any row directly — no triangle required.

10 min read 4 worked examples

Factorial notation

For a positive integer $n$, the factorial $n!$ ("$n$ factorial") is the product of every whole number from $n$ down to $1$:

$n! = n \times (n-1) \times (n-2) \times \cdots \times 2 \times 1$

So $5! = 5\times4\times3\times2\times1 = 120$, and $3! = 3\times2\times1=6$. By definition, $0! = 1$ — not $0$. This isn't arbitrary: it makes every formula built from factorials behave correctly at the edges, as you'll see below.

The shortcut that makes factorials useful

Factorials often appear as a ratio, and most of the terms cancel. For instance $\dfrac{7!}{5!} = \dfrac{7\times6\times5\times4\times3\times2\times1}{5\times4\times3\times2\times1} = 7\times6=42$ — everything from $5!$ downward cancels, leaving only $7\times6$. Recognising this saves enormous amounts of arithmetic; never expand a factorial fully if it's about to be divided by a smaller one.

The nCr formula

The number $\dbinom{n}{r}$ (read "$n$ choose $r$", also written $^nC_r$) counts the number of ways to choose $r$ objects from a group of $n$, where order doesn't matter. It's defined by:

$\dbinom{n}{r} = \dfrac{n!}{r!\,(n-r)!}$

This is exactly the entry at position $r$ in row $n$ of Pascal's triangle. The formula reaches it directly — for row $10$, position $3$, you don't need rows $0$ through $9$; you just compute $\binom{10}{3} = \dfrac{10!}{3!\,7!} = 120$.

Why the formula matches the triangle

$\binom{n}{r}$ counts the ways to choose $r$ items from $n$. Choosing $r$ items is the same as choosing which $r$ of the $n$ positions get a "$b$" when expanding $(a+b)^n$ — which is exactly what each Pascal's-triangle entry represents. The formula and the triangle are two routes to the same count; the formula is just faster once $n$ is large.

Two useful properties

Symmetry: $\dbinom{n}{r} = \dbinom{n}{n-r}$ — choosing which $r$ to include is the same as choosing which $n-r$ to leave out. Edge values: $\dbinom{n}{0} = \dbinom{n}{n} = 1$ always — there's exactly one way to choose nothing, and exactly one way to choose everything. This is also why $0!=1$ is essential: it makes $\binom{n}{0} = \dfrac{n!}{0!\,n!} = 1$ come out correctly rather than being undefined.

Worked example 1

Evaluating a factorial ratio
Simplify $\dfrac{8!}{6!\,2!}$ without a calculator.
MethodCancel the larger factorial against the smaller one first
1
Write $8! = 8\times7\times6!$, so the $6!$ in the denominator cancels: $\dfrac{8\times7\times6!}{6!\times2!} = \dfrac{8\times7}{2!}$.
Never expand a factorial that's about to cancel.
2
$2! = 2\times1=2$, so the expression is $\dfrac{56}{2}$.
$8\times7=56$.
3
$\dfrac{56}{2}=28$.
Final value.
▪ solved
Examiner's eye

This is exactly $\binom{8}{2}=28$ — the same calculation as "choose 2 from 8", and the same as the third entry of row 8 of Pascal's triangle. Recognising the pattern $\binom{n}{2} = \dfrac{n!}{2!(n-2)!} = \dfrac{n(n-1)}{2}$ is worth memorising, since it appears constantly.

Worked example 2

Computing nCr directly
Find $\dbinom{9}{4}$, and verify your answer using the symmetry property.
MethodApply the formula, then cross-check with symmetry
1
$\dbinom{9}{4} = \dfrac{9!}{4!\,5!}$.
Substitute $n=9,r=4$.
2
Cancel: $9! = 9\times8\times7\times6\times5!$, so $\dfrac{9!}{5!}=9\times8\times7\times6=3024$.
Cancel the larger shared factorial first.
3
Divide by $4!=24$: $\dfrac{3024}{24}=126$.
Complete the calculation.
4
Check with symmetry: $\dbinom{9}{4}=\dbinom{9}{5}$, and computing $\dbinom{9}{5}=\dfrac{9!}{5!\,4!}$ gives the identical fraction.
Same denominator factorials, same value.
▪ solved
The key insight

Symmetry isn't just a nice fact — it's a genuine shortcut. $\dbinom{20}{18}$ looks intimidating, but it equals $\dbinom{20}{2} = \dfrac{20\times19}{2}=190$, which is far quicker. Always check whether $r$ or $n-r$ gives the smaller, easier calculation.

Worked example 3

Solving an equation involving nCr
Given that $\dbinom{n}{2} = 66$, find the value of $n$.
MethodUse the simplified $\binom{n}{2}$ formula to form a quadratic
1
$\dbinom{n}{2} = \dfrac{n!}{2!(n-2)!} = \dfrac{n(n-1)}{2}$.
The standard simplification for choosing 2.
2
Set this equal to $66$: $\dfrac{n(n-1)}{2}=66 \Rightarrow n(n-1)=132$.
Multiply both sides by 2.
3
Expand and rearrange: $n^2-n-132=0$.
A quadratic in n.
4
Factorise: $(n-12)(n+11)=0$, so $n=12$ or $n=-11$.
Two roots from the quadratic.
5
$n$ must be a positive integer, so reject $n=-11$. Hence $n=12$.
nCr is only defined for non-negative integers.
▪ solved
Common mistake

Quadratics from $\binom{n}{r}$ equations almost always produce one valid root and one that must be rejected on the grounds that $n$ has to be a positive integer (often the equation gives a negative solution). Always state explicitly why the second root is rejected — it's a method mark in most schemes.

Worked example 4

An equation with two different nCr terms · Challenge
Solve the equation $\dbinom{n}{2} = 3\dbinom{n}{1}$ for $n>2$.

With two different binomial coefficients in the same equation, write both in terms of $n$ using the factorial formula before attempting to solve.

MethodExpand both sides in terms of n, then solve
1
$\dbinom{n}{2} = \dfrac{n(n-1)}{2}$, and $\dbinom{n}{1} = \dfrac{n!}{1!(n-1)!}=n$.
Simplify each side separately first.
2
The equation becomes $\dfrac{n(n-1)}{2} = 3n$.
Substitute both simplified forms.
3
Multiply both sides by 2: $n(n-1) = 6n$.
Clear the fraction.
4
Since $n>2$, $n\neq0$, so divide both sides by $n$: $n-1=6$.
Safe to divide because n is known to be nonzero.
5
So $n=7$.
Final answer, and $7>2$ as required.
▪ solved
Look deeper — why dividing by n was safe here

Dividing an equation by a variable is only valid once you know that variable can't be zero — otherwise you risk losing a solution. Here the question states $n>2$, which guarantees $n\neq0$, so the division loses nothing. Had $n=0$ been a genuine possibility, the correct approach would have been to factorise out $n$ and consider both factors separately, exactly as with any other quadratic.

Common mistake

$\binom{n}{r}$ is only defined when $n$ and $r$ are non-negative integers with $r \leq n$. If solving an equation produces a fractional, negative, or otherwise invalid value, it must be rejected — always check your answer makes sense as a genuine "choose" count before finishing.

Check yourself

Evaluate $\dbinom{12}{3}$, and use the symmetry property to state the value of $\dbinom{12}{9}$ without recalculating.
(Hint: cancel the larger factorial first, then use $\binom{n}{r}=\binom{n}{n-r}$.)

Method
1
$\dbinom{12}{3}=\dfrac{12!}{3!\,9!}=\dfrac{12\times11\times10}{3!}=\dfrac{1320}{6}=220$.
2
By symmetry, $\dbinom{12}{9}=\dbinom{12}{3}=220$ — no recalculation needed.
$12-9=3$.
▪ solved