Total ways of choosing 2 squares =C264=32×63
Now, each corners has two neighbours, and each 24 squares across the outer edge of the chess board has 3 neighbours, and remaining 36 squares have four neighbours
Favorable ways =21[4(2)+24(3)+36(4)]=21[224]=112.Since, every pair counted twice.
Required probability =32×63112=181
