The Smiths, the Andrings and the Cliffords all hold a big party. Everyone shakes hands with every member of the other two families (no one shakes hands with members of their own family), 142 handshakes in all.
Assuming that there at least as many Andrings as Smiths, and at least as many Cliffords as Andrings, how many of each family are present?
12, 10 and 1 persons. I wrote a small program to check out possibilities and this was the only solution.
Posted by e.g.
on 2004-06-14 07:46:41