Let $n$ be a fixed positive integer. We have a $n\times n$ chessboard. We call a pair of cells [b]good[/b] if they share a common vertex (May be common edge or common vertex). How many [b]good[/b] pairs are there on this chessboard?
To find the number of **good** pairs on an \( n \times n \) chessboard, we need to count all pairs of cells that share a common vertex. We will break down the problem step-by-step.

1. **Counting Good Pairs for a Single Cell:**
   - A cell in the interior of the board (not on the edge or corner) has 8 neighbors (4 sharing an edge and 4 sharing a vertex).
   - A cell on the edge but not in a corner has 5 neighbors (3 sharing an edge and 2 sharing a vertex).
   - A cell in a corner has 3 neighbors (2 sharing an edge and 1 sharing a vertex).

2. **Counting Good Pairs for the Entire Board:**
   - We will count the number of good pairs for each type of cell (interior, edge, and corner) and then sum them up.

3. **Interior Cells:**
   - There are \((n-2) \times (n-2)\) interior cells.
   - Each interior cell has 8 good pairs.
   - Total good pairs for interior cells: \((n-2)^2 \times 8\).

4. **Edge Cells (excluding corners):**
   - There are \(4 \times (n-2)\) edge cells (each side has \(n-2\) edge cells).
   - Each edge cell has 5 good pairs.
   - Total good pairs for edge cells: \(4 \times (n-2) \times 5\).

5. **Corner Cells:**
   - There are 4 corner cells.
   - Each corner cell has 3 good pairs.
   - Total good pairs for corner cells: \(4 \times 3\).

6. **Summing Up All Good Pairs:**
   - Total good pairs = good pairs from interior cells + good pairs from edge cells + good pairs from corner cells.
   - Total good pairs = \((n-2)^2 \times 8 + 4 \times (n-2) \times 5 + 4 \times 3\).

7. **Simplifying the Expression:**
   \[
   \begin{align*}
   \text{Total good pairs} &= 8(n-2)^2 + 20(n-2) + 12 \\
   &= 8(n^2 - 4n + 4) + 20n - 40 + 12 \\
   &= 8n^2 - 32n + 32 + 20n - 40 + 12 \\
   &= 8n^2 - 12n + 4.
   \end{align*}
   \]

Thus, the number of good pairs on an \( n \times n \) chessboard is \( 8n^2 - 12n + 4 \).

The final answer is \( \boxed{8n^2 - 12n + 4} \).