- Basic Rules
- Factorial
- Permutations
- Combinations
- Techniques
- Inclusion-Exclusion Principle
- Permutation with Repetition
- stars and bars
- Derangement
- Resources & Session
How many positive divisors does
Solution ✅
Any positive divisor of
The factorial is defined for positive integers as
base case
The factorial is used in the definitions of combinations and permutations, as
Find the rightmost digit of the sum
Solution ✅
If
$(1!)^2=1$ $(2!)^2=4$ $(3!)^2=36$ $(4!)^2=576$ -
$1+4+6+6=17$ , which has a rightmost digit of 7$\Rightarrow \mathrm{(E)}$
A permutation of
Elodie is putting on a fashion show and has five fabulous outfits for her five fabulous fashion models. However, on the day of the show, two of the outfits were ruined in an unfortunate permanent marker incident. Regardless, the show must go on and the remaining outfits will be presented. If each outfit can only be worn by one model and there is no time for any model to wear more than one dress, how many different shows can Elodie put on? (Note: Two shows are considered the same if they contain the same models wearing the same dresses.)
Solution ✅
Answer:
Since two of the outfits are ruined, we only have three outfits. There are five models available for the first outfit, four models available for the second outfit, and three models available for the third outfit. Therefore, there are
A combination, sometimes called a binomial coefficient, is a way of choosing
-
${ {n}\choose {r}} = \frac {n!} {r!(n-r)!}$ -
$\binom{n-1}{r-1}+\binom{n-1}{r}=\binom{n}{r}$
23 people attend a party. Each person shakes hands with at most 22 other people. What is the maximum possible number of handshakes, assuming that any two people can shake hands at most once?
Solution ✅
Answer:
Note that if each person shakes hands with every other person, then the number of handshakes is maximized.
There are
casework is a counting method that involves splitting a problem into several parts, counting these parts individually, then adding together the totals of each part. Casework is a very general problem-solving approach, and as such has wide applicability.
How many positive integers satisfy the equation
Solution ✅
We use casework, based on the value of x.
Case 1:
Case 2:
If
complementary counting is a counting method where one counts what they don't want, then subtracts that from the total number of possibilities
How many positive integers less than
Solution ✅
We use a complementary approach. The total number of positive integers, with no restrictions, is
the pigeonhole principle states that if
-
If a Martian has an infinite number of red, blue, yellow, and black socks in a drawer, how many socks must the Martian pull out of the drawer to guarantee he has a pair?
Solution ✅
The Martian must pull 5 socks out of the drawer to guarantee he has a pair. In this case the pigeons are the socks he pulls out and the holes are the colors. Thus, if he pulls out 5 socks, the Pigeonhole Principle states that some two of them have the same color. Also, note that it is possible to pull out 4 socks without obtaining a pair.
-
Suppose
$S$ is a set of$n + 1$ integers. Prove that there exist distinct$a, b \in S$ such that$a - b$ is a multiple of$n$ .Solution ✅
Consider the residues of the elements of
$S$ , modulo$n$ . By the Pigeonhole Principle, there exist distinct$a, b \in S$ such that$a \equiv b \pmod n$ , as desired.
The Principle of Inclusion-Exclusion (abbreviated PIE) provides an organized method/formula to find the number of elements in the union of a given group of sets, the size of each set, and the size of all possible intersections among the sets
for the sets A, B and C is given by
If
Many states use a sequence of three letters followed by a sequence of three digits as their standard license-plate pattern. Given that each three-letter three-digit arrangement is equally likely, the probability that such a license plate will contain at least one palindrome (a three-letter arrangement or a three-digit arrangement that reads the same left-to-right as it does right-to-left) is
Solution1 ✅
Consider the three-digit arrangement,
By the Principle of Inclusion-Exclusion, the total probability is
Solution2 ✅
Using complementary counting, we count all of the license plates that do not have the desired property. In order to not be a palindrome, the first and third characters of each string must be different. Therefore, there are
A permutation with repetition is a permutation where the same element can appear more than once
what is the number of permutations of the word "MISSISSIPPI" with 4 I's, 4 S's, 2 P's, and 1 M's?
Solution ✅
$$ \frac{11!}{ 4! \cdot 4! \cdot 2! \cdot 1!} = 34650 $$
For any pair of positive integers n and k, the number of k-tuples of positive integers whose sum is n is equal to the number of (k − 1)-element subsets of a set with n − 1 elements.
For example, if n = 10 and k = 4, the theorem gives the number of solutions to x1 + x2 + x3 + x4 = 10 (with x1, x2, x3, x4 > 0) as the binomial coefficient
For any pair of positive integers n and k, the number of k-tuples of non-negative integers whose sum is n is equal to the number of multisets of cardinality n taken from a set of size k, or equivalently, the number of multisets of cardinality k − 1 taken from a set of size n + 1.
For example, if n = 10 and k = 4, the theorem gives the number of solutions to x1 + x2 + x3 + x4 = 10 (with x1, x2, x3, x4
A derangement is a permutation with no fixed points. That is, a derangement of a set leaves no element in its original place. For example, the derangements of