Inclusion and exclusion
1.[1p] How many integers from to are divisible by or by ?
How many integers from to are divisible by or by ?
2.[3p] How many integers from to are divisible by none of , , and ?
How many integers from to are divisible by none of , , and ?
3.[1p] An element lies in exactly four of the sets . How many times is it counted in , the sum of the sizes of all pairwise intersections?
An element lies in exactly four of the sets . How many times is it counted in , the sum of the sizes of all pairwise intersections?
4.[2p] How many onto functions are there from a set of six elements to a set of three elements?
How many onto functions are there from a set of six elements to a set of three elements?
5.[2p] Seven letters are put into seven addressed envelopes so that no letter is in its own envelope. In how many ways can this be done?
Seven letters are put into seven addressed envelopes so that no letter is in its own envelope. In how many ways can this be done?
6.[2p] Six guests get their hats back at random. What is the probability that nobody gets their own hat? Give it to four decimal places.
Six guests get their hats back at random. What is the probability that nobody gets their own hat? Give it to four decimal places.
7.[2p] Compute , where .
Compute , where .
8.[3p] Match each count to the sets whose union the sieve removes.
Match each count to the sets whose union the sieve removes.
Onto functions
Derangements
Euler's totient of
the permutations that fix a given element
the integers up to divisible by a given prime divisor of
the functions that miss a given element of the target
Show the answer
Onto functions: the functions that miss a given element of the target Derangements: the permutations that fix a given element Euler's totient of : the integers up to divisible by a given prime divisor of
9.[3p] Which of these statements are correct?
Which of these statements are correct?
Select all that apply