Learn / Library / Brainteasers
Counting acquaintances
At a conference people meet. Acquaintance is mutual. Each person writes down how many of the other people they know. What is the largest possible number of people who wrote an odd number?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Add up all the numbers written down and think about what each acquaintance contributes.
Solution
- Each acquaintance between people is counted by both of them, so the sum of the written numbers is the number of acquaintances multiplied by , an even number.
- So the number of people with an odd count is even, and cannot be ; it is at most .
- The value is possible: split people into couples who know only each other, and let the last person know nobody.
- Then people wrote , and the answer is .
Answer: