Question:medium

The number of groups of three or more distinct numbers that can be chosen from1, 2, 3, 4, 5, 6, 7 and 8 so that the groups always include 3 and 5, while 7 and 8 are never included together is

Updated On: Jan 15, 2026
Show Solution

Solution and Explanation

Select a minimum of 3 numbers from the set $\{1, 2, 3, 4, 5, 6, 7, 8\}$, with the mandatory inclusion of numbers 3 and 5. An additional constraint prohibits the simultaneous selection of numbers 7 and 8.

Initial Setup

Given that numbers 3 and 5 must be part of the selection, the remaining pool of numbers to choose from is $\{1, 2, 4, 6, 7, 8\}$. At least one number must be selected from this subset of six.

Restriction

The simultaneous selection of 7 and 8 is forbidden.

Cases to Consider

Case 1: Selection includes 7 (and excludes 8)

Additional numbers available for selection are $\{1, 2, 4, 6\}$, in addition to the mandatory inclusion of 7. The number of elements to select from these 4 numbers, along with 7, can range from 0 to 4. The total number of combinations is calculated as: \[ \sum_{k=0}^4 \binom{4}{k} = 2^4 = 16. \]

Case 2: Selection includes 8 (and excludes 7)

Similarly, selections are made from the set $\{1, 2, 4, 6\}$ and 8. The number of possible combinations is: \[ 2^4 = 16. \]

Case 3: Selection excludes both 7 and 8

In this scenario, selections are made exclusively from the set $\{1, 2, 4, 6\}$. Since 3 and 5 are already included, at least one additional number must be chosen. The number of ways to do this is: \[ \sum_{k=1}^4 \binom{4}{k} = 2^4 - \binom{4}{0} = 16 - 1 = 15. \]

Total Number of Ways

The total number of ways is the sum of the combinations from each case: \[ 16 + 16 + 15 = 47 \]

✅ Final Answer: 47 ways

Was this answer helpful?
0


Questions Asked in CAT exam