Fifteen people from different places come together for a family reunion. Each one of them had two gifts each for every other person. When the gifts were exchanged they hugged each other. What is the difference between the number of hugs and the number of gifts exchanged?
Fifteen people from different places come together for a family reunion. Each one of them had two gifts each for every other person. When the gifts were exchanged they hugged each other. What is the difference between the number of hugs and the number of gifts exchanged?
Solution
We have people at a reunion. Each person brought gifts for every other person, and when they exchanged gifts, they hugged each other.
A hug involves people, and when Person A hugs Person B, that's the same hug as Person B hugging Person A. So we pick people from and divide by to avoid double counting:
Each person gave gifts to every other person. Since each person has other people to give to:
We don't divide by here because giving is one-directional — if A gives gifts to B and B gives gifts to A, those are separate gifts.