1020 handshakes between N students seated at desks in mxn array
Source: Mexican Mathematical Olympiad 1995 OMM P1
July 28, 2018
combinatoricsnumber theoryArray
Problem Statement
students are seated at desks in an array, where . Each student shakes hands with the students who are adjacent horizontally, vertically or diagonally. If there are handshakes, what is ?