Counting Unordered Combinations
Count selections of distinct items without assigning an order to the chosen group.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
The binomial coefficient \(\binom nk=n!/(k!(n-k)!)\) counts selections of \(k\) distinct items from \(n\), with \(0\le k\le n\).
Derive a small count
Choosing three of five in order has \(5\cdot4\cdot3=60\) outcomes. Each selected group appears \(3!=6\) times in that list, giving ten groups. Ordered selection supplies the starting count.
Check complementary choices
Choosing three from five determines the two items left out. This pairing shows \(\binom53=\binom52\). A bijection gives a structural reason for that equality instead of relying only on a formula.[1]
Divide by the number of orders for each subset
Choosing three reviewers from five gives \(5\cdot4\cdot3=60\) ordered lists. Under an unordered contract, each group of three distinct reviewers appears in six orders, so the answer is ten. See ordered choices to check the starting count.
One group {A,B,C} appears as
ABC ACB BAC BCA CAB CBA
60 lists ÷ 6 lists per group = 10 groups
Check edge values and when equal multiplicity fails
There is exactly one zero-person selection, the empty set. No selection of six distinct reviewers exists from five. If elements have duplicate values and the output ignores their identity, different groups can have different numbers of distinct orders.