Suppose there are \(350\) undergraduates in an auditorium. Of these, \(220\) are computer science majors, \(147\) are math majors, and \(51\) are double majoring in computer science and math. How many are neither computer science nor math majors?
How many surjective functions are there from \(A\) to \(N\text{?}\) It is a trickier problem to determine the number of surjective functions from \(N\) to \(A\text{.}\)
A particular brand of shirt comes in a variety of colors (red, green, blue, black, pink, orange, purple) and sizes (XS, S, M, L, XL). How many different types of shirts are there?
How many license plates can be made using either three uppercase English letters (A--Z) followed by three digits (0--9) or four uppercase English letters (A--Z) followed by two digits (0--9)?
In how many ways can a photographer at a wedding arrange five people in a row from a group of twenty people, given that the bride must be in the picture?
In how many ways can Alice arrange twelve of her fifty-four books on a shelf, given that she must include Strangers Have the Best Candy and The Joy of Chickens?
Let \(f\) be a bijection from the set of positive rational numbers \(\QQ_{>0}\) to the set of positive integers \(\NN=\ZZ_{>0}\text{.}\) Use \(f\) to construct a bijection from \(\QQ\) to \(\ZZ\text{.}\) Use this to fill in the gap in the proof in TheoremΒ 4.1.1.6.
Hint: Extend the domain of \(f\) to be \(\QQ\text{:}\) For a positive rational number \(r\) you know \(f(r)\text{.}\) What is a reasonable choice to pick to define \(f(-r)\) ?