If there are 6 alike fruits, 7 alike vegetables and 8 alike biscuits, then the number of ways of selecting…

If there are 6 alike fruits, 7 alike vegetables and 8 alike biscuits, then the number of ways of selecting any number of things out of them such that at least one from each category is selected, is
  1. $504$
  2. $336$
  3. $503$
  4. $335$

Solution

Total number of ways of selecting one or more things $=(6+1)(7+1)(8+1)-1=503$
Now, total ways to select from only one category $=6+7+8=21$
Total ways to select from only two category $=6 \times 7+8 \times 6+7 \times 8=146$
So, required total ways of selecting at least one or more things from each category $=503-21-146=336$

Asked in: AP EAMCET 2024 (22 May Shift 2)

Practice more Permutation Combination questions on Aicharya