We use partitions to enumerate sets.

1 Partitions

When counting the number of elements in a set, it is sometimes helpful to break the set into distinct pieces and count the number of elements in each piece.

We will denote the number of elements in a set by . The main result is that the number of elements in a set is the sum of the elements in each subset of the partition: where is a partition of .

(problem 1a) Two 6-sided dice are thrown, one of which is red and the other green. In how many ways can their sum be at most 5?
The number of outcomes whose sum is at most 5 is .
(problem 1b) Two 6-sided dice are thrown, one of which is red and the other green. In how many ways can their sum be a prime number?
The number of outcomes whose sum is prime is .
(problem 1c) Two 6-sided dice are thrown, one of which is red and the other green. In how many ways can their sum be an odd number?
The number of outcomes whose sum is odd is .
(problem 2) Jake is going jogging. Jake has 4 t-shirts, 3 pairs of shorts and 2 pairs of sneakers. How many jogging outfits can Jake make consisting of a pair of shorts, a pair of sneakers and an optional t-shirt?
(problem 3) A menu consists of 6 appetizers, 10 entrees and 4 desserts. If a meal consists of an appetizer and an entree with dessert being optional, how many meals are possible?
(problem 4) Fluffy is about to give birth to either 5 or 6 kittens. How many combinations of males and females are possible assuming that birth order of each gender is irrelevant?
The total number of combinations of males and females that Fluffy can have is
2024-09-27 14:04:35