peggy10
But how about if the question was:
1. 7 different pens, 4 identical books. In how many ways can a person select at least one object from this set?
You still multiply together the number of ways to select the pen(s), times the number of ways to select the book(s).
The books are easier to deal with, so start there: there are 5 different ways to do it. You could select 0, 1, 2, 3, or 4 of the books, for a total of five options.
For the pens: this is a pretty different problem! The quickest way to solve something like this is to think about it in this way. For each of the 7 different pens, you could either choose it, or not choose it. That's two different options for pen #1 (chosen or not chosen), two options for pen #2 (chosen or not chosen), two options for pen #3 (chosen or not chosen), etc. For example, here are some possibilities for the 7 pens in order:
in, in, in, in, in, in, out
in, out, in, in, in, in, in
out, out, out, out, out, in, in
in, out, in, out, in, out, out
etc.
In total, with two options for what to do with each pen, you have 2*2*2*2*2*2*2 = 2^7 options.
So, the answer overall will be (5)(2^7) - 1.
By the way, you subtract 1 for the same reason you did initially! You don't want to choose 0 pens and 0 books, so you have to remove that option at the end.