The 2^n vertices of a graph G corresponds to all subsets of a set of size n, for n >= 6. Two vertices of G are adjacent if and only if the corresponding sets intersect in exactly two elements. The number of vertices of degree zero in G is: A. 1 B. n C. n+1 D. 2^n
GATE 2006 · Discrete Mathematics · Degree of Graph · medium
Answer: n + 1 (Option C)
- Which subsets can never overlap in 2 elements: if |A| <= 1 then |A intersect B| <= 1 < 2 for every B, so A is isolated
- Count the isolated subsets: C(n,0) + C(n,1) = 1 + n = n + 1