Adam, Benin, Chiang, Deshawn, Esther, and Fiona have internet accounts. Some, but not all, of them are internet friends with each other, and none of them has an internet friend outside this group. Each of them has the same number of internet friends. In how many different ways can this happen?
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
Everyone has the same number k of friends, 1 to 4; count k = 1 (pairings) and k = 2 (cycle covers), and complements give k = 3, 4.
Solution
Picture the six people as points and each friendship as a segment between two points. Every person has the same number of friends. "Some" friendships means ; "not all" rules out everyone being friends with everyone, so .
Complement symmetry: if we swap every friendship for a non-friendship and vice versa, a configuration in which everyone has friends becomes one in which everyone has friends, and swapping back undoes it. So there are as many configurations as , and as many as . Only and need to be counted.
: the six people split into three friend pairs. Adam's friend can be any of people; the first person not yet paired has choices; the last pair is forced. That is .
: each person's two friendships link into closed loops that cover all six people, and a loop needs at least three people, so the loops are either one loop of six or two loops of three.
- One loop of six: seat six people around a circle, ways, because rotating or reflecting the circle gives the same friendships.
- Two loops of three: choose Adam's two loop-mates in ways; the other three form the second loop.
So gives , hence gives and gives . Total: .
The answer is .
Why this works
"Everyone has the same number of friends" describes a regular graph, and two structural facts make the count tractable: taking the complement swaps degree with degree , and a graph where every vertex has degree is a disjoint union of cycles. Whenever a condition is symmetric under exchanging "yes" and "no," count only the small half and double it.
Alternative approach
Check the count directly. A configuration where everyone has three friends on six people is either "two groups of three, everyone friends with all of the other group" (choose the groups: ) or "two triangles with matching corners joined" (a triangular prism: labelings). Total , agreeing with the complement argument.
The trap
Forgetting that the two-friends case includes two separate triangles as well as one six-person loop, or overcounting loops by ignoring rotations and reflections.
Common mistakes
- Forgetting that the two-friends case includes two separate triangles as well as one six-person loop, or overcounting loops by ignoring rotations and reflections.
- Including or (one configuration each), which the phrase "some, but not all" excludes.
- Counting the six-person loops as or instead of .
Techniques
Organized listing / direct enumeration · Split into exhaustive cases and handle each · Exploit symmetry to reduce work or pair up objects