Skip to content

GATE CS 2003 Q5 — Combinatorics: Counting, Recurrence Relations, Generating Functions

Explain with AI

nn couples are invited to a party with the condition that every husband should be accompanied by his wife. However, a wife need not be accompanied by her husband. The number of different gatherings possible at the party is

Choose one option
View worked solution

Answer: B

To find the number of different gatherings possible, we can analyze the choices available for each of the nn couples independently.

For any single couple consisting of a husband (HH) and a wife (WW), let's look at the possible attendance scenarios:

  1. Neither attends: This is valid because the husband is not present, so the condition of him being accompanied by his wife is not violated.
  2. Only the wife (WW) attends: This is valid because a wife does not need to be accompanied by her husband.
  3. Both (HH and WW) attend: This is valid because the husband is accompanied by his wife.
  4. Only the husband (HH) attends: This is invalid because the husband must be accompanied by his wife.

Thus, there are exactly 33 valid choices for each couple.

Since the decision for each of the nn couples is independent of the others, we apply the product rule of combinatorics:

Total number of gatherings=3×3×⋯×3⏟n times=3n\text{Total number of gatherings} = \underbrace{3 \times 3 \times \dots \times 3}_{n \text{ times}} = 3^n

Hence, the correct option is B.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Combinatorics: Counting, Recurrence Relations, Generating Functions questions