By signing in you confirm you are 18 or older, or have your parent’s or guardian’s consent.

UPSC Prelims 2015 CSAT, question 74

Topic: Counting and probability

Q74

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 2424 handshakes.

Which one among the following numbers indicates the possible number of hugs ?

  1. (a) 3939
  2. (b) 3030
  3. (c) 2121Correct answer
  4. (d) 2020

Solution.

Answer: (c) 2121

  1. Let there be mm male and ff female friends at the party; since opposite-sex pairs shake hands, the number of handshakes is m×f=24m \times f = 24, and the number of same-sex hugs is (m2)+(f2)\binom{m}{2} + \binom{f}{2}.
  2. Testing factor pairs (m,f)(m, f) of 2424: for (4,6)(4, 6), the number of hugs is (42)+(62)=6+15=21\binom{4}{2} + \binom{6}{2} = 6 + 15 = 21 (while (3,8)(3, 8) gives 3131, (2,12)(2, 12) gives 6767, and (1,24)(1, 24) gives 276276); thus 2121 is the possible number of hugs.