In a party of n people, certain pairs of people shake hands with each other. In any group of k people, there exists at least one person who shakes hands with all other persons in that group. What is the minimum number of handshakes that can take place at the party?

Lina Neal

Lina Neal

Answered question

2022-09-05

In a party of n people, certain pairs of people shake hands with each other. In any group of k people, there exists at least one person who shakes hands with all other persons in that group. What is the minimum number of handshakes that can take place at the party?
The problem is inspired from a contest question which I want to solve in general. Here are my attempts in solving the problem:
There are ( n k ) possible groups. In each group, the minimum number of handshakes is k 1. So, at first I thought the answer should be ( k 1 ) ( n k ) . But I realized that the maximum number of handshakes is ( n 2 ) . So, I was highly over counting.
Then, I tried for small cases. For n = 4 and k = 3, we have 4 people A,B,C,D. And there are 4 groups of 3. We take the first group (A,B,C) where A shakes hands with B and C. Then in the groups (A,B,D) and (A,C,D), B and D shake hands with D. So, we have a total of 4 handshakes as minimum in this case. From here, I think it's not easy to find the minimum for even small cases.
So, how to solve the problem?

Answer & Explanation

Kendall Ponce

Kendall Ponce

Beginner2022-09-06Added 18 answers

Step 1
Any person need to shake hand with minimum ( n 1 ) ( k 2 ) other persons because otherwise we can select k 1 people to form a group with this one person and no one in the group will have shook hand with him. So the minimum amount of handshake is;
1 2 n × [ ( n 1 ) ( k 2 ) ]
Step 2
Division by 2 because one handshake is done by 2 people
Raina Russo

Raina Russo

Beginner2022-09-07Added 20 answers

Step 1
Via integer linear programming, here are minimum values for 1 k n 10:
Step 2
n k 1 2 3 4 5 6 7 8 9 10 1 0 2 0 1 3 0 3 2 4 0 6 4 3 5 0 10 8 7 4 6 0 15 12 12 9 5 7 0 21 18 18 15 11 6 8 0 28 24 25 22 18 13 7 9 0 36 32 33 30 26 21 15 8 10 0 45 40 42 39 35 30 24 17 9

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?