A library has n different books and has p copies of each of the book. The number of ways of selecting one or more books from the library is
np
pn
(n+1)p−1
(p+1)n−1
For each book we have p + 1 choices