Combinatorics
Combinatorics - a fancy word for counting
For us, determining the size of some set. We define the things we want to count as the elemtns of some set $S$ and we want to determine the size of that set.
The product rule
If a procedure $P$ has $m$ steps (step 1, step 2...., step $m$), we define the number of ways to execute the $i$th step as $N_i$. Then the number of ways to execute $P$ is $N_1 * N_2 *...*N_m$
The number of ways of doing $N_i$ does not depend on the previous steps.