Two squares are chosen at random on a chessboard (see figure). The probability that they have a side in common is :

Two squares are chosen at random on a chessboard (see figure). The probability that they have a side in common is :

Total ways of choosing 2 squares
Now, each corners has two neighbours, and each squares across the outer edge of the chess board has neighbours, and remaining squares have four neighbours
Favorable ways Since, every pair counted twice.
Required probability
Asked in: JEE Main 2021 (01 Sep Shift 2)