Calculator Sequences and series
Binomial coefficient calculator
In one sentence
Evaluates C(n, r) = n!/(r!(n − r)!).
Last checked Source: uk-dfe-alevel-maths-subject-content Source: Department for Education, GCE AS and A level subject content for mathematics (topics derived; every example and value computed here), uk-dfe-alevel-maths-subject-content www.gov.uk (opens in a new tab)
Key facts
Binomial coefficient calculator
- Formula ref
- C(n, r) = n!/(r!(n − r)!)
- Topic
- Sequences and series
Inputs
- n, r
Worked input
- Input n = 12, r = 4.
- 12 × 11 × 10 × 9/(4 × 3 × 2 × 1) = 11880/24.
- C(12, 4) = 495.
- Take n = 9 and r = 0, the edge case where nothing is chosen. The formula gives 9!/(0! × 9!) = 1, because 0! is defined as 1. Choosing nothing from a set can be done in exactly one way, and the same is true of choosing everything, which is why the edges of Pascal's triangle are all ones. Check: there is exactly one way to choose no items from a group of nine, and by symmetry C(9, 9) is also 1.
- Take n = 20 and r = 17, where the long product is avoided by using symmetry. C(20, 17) = C(20, 3) = 20 × 19 × 18/6 = 1140. Symmetry lets you replace a large value of r by the smaller n minus r, which cuts the length of the calculation dramatically and reduces the chance of an arithmetic error. Check: choosing 17 items to keep is the same as choosing 3 to leave out, so the two coefficients must be equal.
- Take n = 8 and r = 3, a small case that can be confirmed from Pascal's triangle. C(8, 3) = 8 × 7 × 6/6 = 56. Each entry in Pascal's triangle is the sum of the two above it, so a small coefficient can always be confirmed by a short addition, which is a handy check when no calculator is allowed. Check: the two entries above it in the triangle are C(7, 2) = 21 and C(7, 3) = 35, and they add to 56.
How to use it
- Enter n and r with r ≤ n.
- Use symmetry C(n, r) = C(n, n − r) to shorten the work.
Binomial coefficient calculator for your study of A-level maths: where it comes from and what it covers.
See also Number of terms of an arithmetic series, Sum to infinity calculator, Arithmetic sequence nth term and sum and Sigma notation evaluator.
Study brief
- The binomial coefficient for n, where r is an integer such that 0 ≤ r ≤ n, is denoted as nCr. This value is calculated using the formula n! / (r!(n - r)!). Within these calculations, n factorial (n!) represents the product n × (n - 1) × … × 2 × 1 for a natural number n, while 0! is equal to 1. For A Level Maths, students use the binomial distribution as a model for real-world situations. The notation X ∼ B(n, p) can be applied to describe this distribution. Learners should be able to calculate probabilities by using a calculator to find either individual or cumulative binomial probabilities. This involves understanding discrete distributions and the calculation of the mean and variance of discrete random variables. Identifying the discrete uniform distribution is also part of the required knowledge. Understanding these models helps in describing certain scenarios, and students are expected to comment critically on how appropriate a model is for a given situation.
Practise for free
Test yourself with exam-style questions and see why each answer is right or wrong.
More from Sequences and series
-
Arithmetic sequence nth term and sum
Gives the nth term and the sum of the first n terms of an arithmetic sequence.
-
Binomial series estimate
Estimates (1 + x)ⁿ for small x using the first terms.
-
Coefficient of xᵏ in a binomial expansion
Gives the coefficient of xᵏ in (a + bx)ⁿ.
-
Compound growth calculator
Finds the value after n periods of constant percentage change.
-
First term of a geometric sequence to exceed a target
Uses logarithms to find the smallest n with arⁿ⁻¹ > T.
-
Geometric sequence nth term and sum
Gives the nth term and finite sum of a geometric sequence.
-
Number of terms of an arithmetic series
Finds how many terms are needed to reach a target sum or term.
-
Sigma notation evaluator
Adds f(r) from r = m to r = n for a linear f.