Graph Theory


Shared context
G has one vertex for each of the 2ⁿ subsets of S={1,…,n}. Vertices A,B are adjacent iff |A△B|=2, where △ is symmetric difference.
Answer & solution
Answer: C(n,2)=n(n−1)/2. (no official key was published)
1. Fix any vertex A. A neighbor must be obtained by toggling membership of exactly two distinct elements of S.
2. For every unordered pair P⊆S, |P|=2, the vertex B=A△P is a neighbor. Different pairs give different B because A△B uniquely recovers P.
3. This is a bijection between neighbors and two-element subsets of S. Thus every vertex has degree C(n,2), independently of |A|. For n=0 or 1 there are no edges.