GATE / CS ARCHIVE

GATE CSE 2015 SET 2 / QUESTION 61

GATE CSE 2015 Set 2 Q61

Discrete Mathematics · Graph Theory · Full GATE CSE 2015 Set 2 paper

GATE 2015 Set 2, Q61 2 marks · MCQ
Report issue

Graph Theory

Question 61, GATE 2015: For which residue classes of n modulo 4 can a simple self-complementary graph have n vertices? Options: A multiple of 4; B even; C odd; D n≡0 or 1 (mod 4).
Tap to enlarge
Your answer
Answer & solution

Official answer: D

A simple self-complementary graph has the same number m of edges as its complement, so 2m=C(n, 2), or m=n(n−1)/4. This must be an integer, forcing n congruent 0 or 1 modulo 4. Thus D. The statement is a necessary condition; it does not assert every graph of those orders is self-complementary.

If a graph has m edges, its complement has n(n−1)/2−m. An isomorphism between them requires equal edge counts, so m=n(n−1)/4 must be an integer. Among four consecutive residue possibilities, n(n−1) is divisible by 4 exactly when n≡0 or 1 modulo 4. This establishes the necessary arithmetic restriction; the standard existence theorem for self-complementary graphs establishes these classes are attainable, rather than claiming edge integrality alone constructs a graph.

Original paper, page 49 · Answer key