10-08-2005, 04:34 PM
Sagar,
Your answer is right .Let me give explanation more lucidly.
Let me say that the squares are named as
A1 A2 A3 A4 A5 A6 A7 A8
B1 B2 B3 B4 B5 B6 B7 B8
C1 C2 C3 C4 C5 C6 C7 C8
D1 D2 D3 D4 D5 D6 D7 D8
E1 E2 E3 E4 E5 E6 E7 E8
F1 F2 F3 F4 F5 F6 F7 F8
G1 G2 G3 G4 G5 G6 G7 G8
H1 H2 H3 H4 H5 H6 H7 H8
Now as you said I can select two squares that share a common side from first row (i.e row A) in 7 ways i.e(A1,A2),(A2,A3), (A3,A4),(A4,A5),(A5,A6),(A6,A7),(A7,A

.
Similarly since there are 8 rows total ways are 8 x 7 = 56.
Now thinking in the same way I can select two squares that share a coomon side from the first column in 7 ways and since there are 8 columns I get another 56 ways.
So total no. of ways is 112.
BUT I HAVE MY OWN DOUBT ABOUT THIS APPROACH IF THE SQUARES TO BE SELECTED ARE SQUARES OF DIMENSION 2 X 2, 3 X 3, .........
SAGAR CAN U PROCEED FURTHER NOW AND CAN U GET ME A GENERALISATION FOR ANY M X N DIMENSIONAL BOARD