In mathematics, nCr is the standard notation for the number of combinations of r items chosen from a set of n distinct items, where the order of selection does not matter. It is read aloud as "n choose r" and is defined by the formula nCr = n! / (r!(n − r)!), where the exclamation mark denotes a factorial. For example, 5C2 = 10, because there are ten different two-item subsets of a five-item set. The notation is standard in combinatorics, probability and statistics, and it appears on scientific calculators as the nCr function.
Background: Where nCr Comes From
The symbol belongs to a family of counting notations that developed alongside probability theory in the seventeenth and eighteenth centuries. The binomial coefficient — the number that nCr produces — was studied by Blaise Pascal and others in connection with the expansion of (a + b)n, and the familiar "Pascal's triangle" is a table of these coefficients. The notation itself has several common forms: C(n, r), nCr, and the binomial coefficient written with large parentheses. The compact "nCr" form became widespread because it is easy to type and is printed directly on calculator keypads, which is why most students meet it there first.
Strictly speaking, "nCr" is not a word at all — it is a piece of mathematical notation, and it is entirely standard within its field. It is not slang, informal or nonstandard. A writer would use it in a sentence such as: "The number of possible five-card hands from a 52-card deck is 52C5, which equals 2,598,960." In formal writing, the binomial-coefficient form is often preferred, but nCr is accepted and unambiguous.
How the Formula Works
The formula nCr = n! / (r!(n − r)!) counts subsets. The numerator, n!, is the number of ways to arrange all n items in a line. Dividing by r! removes the orderings within the chosen group, and dividing by (n − r)! removes the orderings within the items left behind. What remains is the number of distinct groups of size r.
Consider a small example. A club has five members — call them A, B, C, D and E — and needs a committee of two. The possible committees are AB, AC, AD, AE, BC, BD, BE, CD, CE and DE: ten in total, so 5C2 = 10. If the club instead needed a president and a vice-president, order would matter and the answer would be 5P2 = 20, because AB and BA would be different outcomes. This is the central distinction between combinations (nCr) and permutations (nPr).
Some values are worth memorising because they appear constantly:
- nC0 = 1 and nC1 = n, for any n.
- nCn = 1, since there is only one way to choose everything.
- nC2 = n(n − 1)/2, the formula behind handshake puzzles and tournament counts.
- nCr = nC(n − r), a symmetry that can simplify calculations.
Combinations Versus Permutations
The most common confusion in this area is mixing up nCr and nPr. The difference is whether order counts.
- Combinations (nCr): order does not matter. Choosing a three-person subcommittee from ten people gives 10C3 = 120 possibilities.
- Permutations (nPr): order matters. Assigning gold, silver and bronze medals to three of ten runners gives 10P3 = 720 possibilities, because each set of three medallists can be arranged in 3! = 6 ways.
A useful check is to ask whether swapping two chosen items produces a genuinely different outcome. If it does not, use nCr. Lottery draws, card hands, pizza toppings and committee selections are combination problems; race finishes, passwords and seating arrangements are permutation problems.
Worked Examples
Concrete cases make the definition easier to trust.
- Lottery numbers. A draw picks six numbers from 49. Since the order of the draw is irrelevant, the count is 49C6 = 13,983,816 possible tickets.
- Card hands. A five-card hand from a 52-card deck gives 52C5 = 2,598,960 distinct hands.
- Pizza toppings. A shop offers eight toppings and a customer may choose any three: 8C3 = 56 combinations.
- Handshakes. If twelve people each shake hands once with every other person, the number of handshakes is 12C2 = 66.
Each of these uses the same formula; only the numbers change. Working through one by hand — for instance, 8C3 = (8 × 7 × 6) / (3 × 2 × 1) = 56 — shows why the factorial division is needed: the numerator counts ordered picks, and the denominator cancels the redundant orderings.
Using nCr on a Calculator
Most scientific calculators have a dedicated nCr key, often reached through a shift or second function. The usual sequence is:
- Enter the value of n.
- Press the nCr key (or the shift function that activates it).
- Enter the value of r.
- Press equals to display the result.
Two practical cautions apply. First, r must be a whole number between 0 and n; otherwise the calculator will return an error, because the formula is undefined there. Second, factorials grow extremely fast, so calculators overflow at surprisingly modest values of n — often somewhere above 69 for standard floating-point models. For large numbers, use the multiplicative form nCr = [n(n − 1)…(n − r + 1)] / r! and cancel terms before multiplying, which keeps intermediate values manageable.
Common Mistakes and Misconceptions
Several errors recur among students meeting nCr for the first time.
- Using nCr when order matters. Selecting a president and treasurer is not a combination problem; the roles make the order significant.
- Forgetting that r can be zero. nC0 = 1, not 0 — there is exactly one way to choose nothing.
- Assuming nCr means n multiplied by r. The notation is a function, not a product; 5C2 is 10, not 10 by coincidence but because of the formula.
- Ignoring repetition rules. The standard nCr formula assumes each item is chosen at most once. If repetition is allowed, a different formula applies: the number of ways to choose r items from n types with repetition is (n + r − 1)Cr.
Another frequent misconception is that nCr and the binomial coefficient are different things. They are the same quantity written in different notation; the coefficient of xr in the expansion of (1 + x)n is exactly nCr.
Frequently Asked Questions
What does nCr stand for?
It stands for "n choose r", meaning the number of ways to choose r items from n distinct items without regard to order. The C refers to combinations.
What is the difference between nCr and nPr?
nCr counts selections where order does not matter, while nPr counts arrangements where order does matter. The relationship is nPr = nCr × r!.
Can nCr be used when items can repeat?
Not with the standard formula. The basic nCr assumes each item is chosen at most once. With repetition allowed, use (n + r − 1)Cr instead.
Why does nC0 equal 1?
There is exactly one way to choose zero items from any set: choose nothing. The formula confirms it, since n! / (0! × n!) = 1 and 0! is defined as 1.
Is nCr the same as a binomial coefficient?
Yes. The binomial coefficient is the number itself, and nCr is one of several notations for it, alongside C(n, r) and the large-parenthesis form.