Counting¶
Fundamental counting principle¶
No of ways
How many different digit numbers can be created using digits only:
Factorial¶
unique objects can be arranged in ways
Restrictions¶
No of ways to follow rule = no of ways to ignore rule - no of ways to break rule
Duplicates¶
When there are duplicate objects $$ \begin{aligned} &= \dfrac{n!}{\prod_i^k n_i!} \end{aligned} $$ where
- no of unique groups
- no of objects in group
Permutation¶
Combination¶
- Order doesn’t matter
- Outcomes of one stage are same as outcomes of other stages