Correct Option (3)
The problem establishes two distinct social customs: handshakes occur exclusively between friends of the opposite sex, and hugs occur between friends of the same sex. We are given that there were 24 handshakes.
- Let 'x' represent the number of males and 'y' represent the number of females in the party.
- Since handshakes occur between males and females, the total number of handshakes is the product of the number of males and females: x × y = 24.
- Considering integer values for x and y that represent reasonable group sizes for a party, the possible pairs (x, y) satisfying x × y = 24 are (4, 6) or (6, 4).
- Hugs occur between friends of the same sex. The number of hugs can be calculated using combinations:
- Number of hugs among males = xC2 (combinations of 2 males chosen from x)
- Number of hugs among females = yC2 (combinations of 2 females chosen from y)
- Total number of hugs = xC2 + yC2
- Using the pair (x=6, y=4):
- 6C2 = 6! / (2! × 4!) = (6 × 5) / (2 × 1) = 15
- 4C2 = 4! / (2! × 2!) = (4 × 3) / (2 × 1) = 6
- Total hugs = 15 + 6 = 21
- If the pair (x=4, y=6) is used, the calculation yields 4C2 + 6C2 = 6 + 15 = 21, confirming the result.
Thus, the possible number of hugs is 21.
Incorrect Options:
Options 1 (39), 2 (30), and 4 (20) are incorrect. Based on the condition that x × y = 24 handshakes occur between opposite sexes, and considering reasonable party sizes, the only valid combination of males and females (x, y) is (6, 4) or (4, 6). This combination uniquely leads to 21 hugs. Other integer pairs for x × y = 24, such as (3, 8) or (8, 3), would result in 3C2 + 8C2 = 3 + 28 = 31 hugs, which is not provided as an option. Therefore, 21 is the only number of hugs consistent with the problem's constraints among the given choices.