Problem

Source: 2021 Taiwan APMO Preliminary First Round

Tags: combinatorics



Let $n$ be a fixed positive integer. We have a $n\times n$ chessboard. We call a pair of cells good if they share a common vertex (May be common edge or common vertex). How many good pairs are there on this chessboard?