GATE Computer ScienceHardGATE CS (PYQ pattern)

How many independent sets (including the empty set) does the 4×4 grid graph have?

  1. A. 1024
  2. B. 1156
  3. C. 987
  4. D. 1234

Correct answer: D. 1234

Row-by-row transfer matrix (each row a subset with no two adjacent, 8 choices, and compatible with the row above) gives 1234.

More Discrete Mathematics questions

Exams that ask this topic