Counting and combinatorics
The four counting cases
Classify by order and repetition, and the formula follows without guesswork.
Where
- Ordered, no repetition.
- Unordered, no repetition.
- Ordered, with repetition.
- Unordered with repetition — stars and bars.
Assumptions
- With repeated identical items, divide by the factorial of each repeat count.
Sanity check. In a probability, count numerator and denominator under the same convention or the will not cancel.
Where this is taught
- Counting: the four cases, and how to tell them apart · COMB · Basic counting