ββββ±*.q:qβ±*.:qβ§*.qβ°*.:qβ§*.q:q*.qⱠβββ
Factorial
- The product of all positive integers to some number
-
Permutations
- An ordered arrangement of a set or items
- Used when order matters and elements are not-reused (unless specified)
Complete Permutation
- , where is the number of items
- Used when arranging all items in a set
- βHow many ways can the letters in βLizardβ be rearranged?β
- βLizardβ β 6 characters;
Permutation with Replacement
- , where is the number of items in the set and is the number of items selected
- 10 possible digits, 4 slots β 10,000 possible pin codes.
- Choosing items where order matters and repetitions are allowed
Permutation without Replacement
- Choose a subset of items where the order matters and elements cannot be duplicated
Permutation with Constraints
- βHow many ways can you arrange the letters βabcdefgβ where βbcdβ must stay togetherβ
Combinations
- Choosing items from a set of items where order does not matter
Combination without Replacements
- βHow many 5-card hands in a 52-card deck?β
Combination with Replacements
- βRoll 3 5-sided dice, order is irrelevantβ
ββββ±*.q:qβ±*.:qβ§*.qβ°*.:qβ§*.q:q*.qⱠβββ