NAT · 2 marks · Discrete Mathematics

GATE CS 2014 CS-1 — Q51

Consider an undirected graph GG where self-loops are not allowed. The vertex set of GG is {(i,j):1≤i≤12,1≤j≤12}\{(i,j): 1 \le i \le 12, 1 \le j \le 12\}. There is an edge between (a,b)(a, b) and (c,d)(c, d) if ∣a−c∣≤1|a - c| \le 1 and ∣b−d∣≤1|b - d| \le 1.
The number of edges in this graph is __________.