In a society it is customary for friends of the same sex to hug and for friends of opposite sex to shake hands when they meet. A group of friends met in a party and there were 24 handshakes.
Which one among the following numbers indicates the possible number of hugs?
Correct Answer :
21
Solution :
The correct option is 21.
Let us analyze the problem step-by-step to understand why 21 is a possible number of hugs.
Let the group of friends consist of males and females. According to the custom described in the problem:
1. Friends of the opposite sex shake hands when they meet. Therefore, each meeting between a male and a female results in a handshake. The total number of handshakes is the product of the number of males and females:
Since and must be positive integers, we find the possible pairs of such that their product is 24, and calculate the corresponding total hugs for each case:
Case 1: and (or vice versa)
Case 2: and (or vice versa)
Case 3: and (or vice versa)
Case 4: and (or vice versa)
Looking at the options provided, 21 corresponds to Case 4 where there are 4 members of one sex and 6 members of the other sex. Hence, 21 is a possible number of hugs.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.