edited by
9,226 views
45 votes
45 votes

Let $G$ be the graph with $100$ vertices numbered $1$ to $100$.  Two vertices $i$ and $j$ are adjacent  if $\vert i-j \vert =8$ or $\vert i-j \vert=12$. The number of connected components in $G$ is

  1. $8$
  2. $4$
  3. $12$
  4. $25$
edited by

6 Answers

0 votes
0 votes

A method I tried,  sir,  sir please check:

P(Number of disconnected components with |i-j|=12)   floor(12/100)/100= 8/100

P(Number of disconnected components with |i-j|=8)   floor(8/100)/100= 12/100

P(Number of disconnected components with |i-j|=12 or |i-j|=8)   12/100 * 8/100 = 96/100

Therefore connected components=1-96 = 4/100 i.e 4? 

Does it makes sense? please check

Answer:

Related questions