Skip to content

Counting

Last Updated: 10 months ago2024-05-14 ; Contributors: AhmedThahir

Fundamental counting principle

No of ways =n1×n2×= n_1 \times n_2 \times \dots

How many different xx digit numbers can be created using nn digits only: yxy^x

Factorial

nn unique objects can be arranged in n!n! 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

  • k=k= no of unique groups
  • ni=n_i = no of objects in group kk
  • ikni=n\sum_i^k n_i = n

Permutation

Combination

  • Order doesn’t matter
  • Outcomes of one stage are same as outcomes of other stages

Comments