The total number of ways of selecting one or more items from $p$ identical items of one kind, $q$ identical objects of second kind, $r$ identical objects of third kind and n different items is $(p+1)(q+1)(r+1)(2^n-1$)
Can someone tell me how this expression here?I thought number of ways of selection from identical object is always $1$.
1 For the identical sets of objects
Number of objects we can pick from the $p$ identical objects of the first kind are-
$0,1,2,3,...,p-1$ or $p$
Which are exactly $(p+1)$ distinct values
The same applies for each of the other sets of identical items.
2 For the $n$ distinct objects
There are $2$ ways for each object -
$1$. The object is chosen
$2$. The object is not chosen
$\therefore$ Number of ways =$2^n$
Multiplying each case gives us - $(p+1)(q+1)(r+1)(2^n)$ ways
Removing the case that no object is chosen gives us the required answer which gives us $(p+1)(q+1)(r+1)(2^n)-1$ ways