Fing $G_2$ and $G_3$ and then by row operations $G_4$. Can you predict $G_n$?
The matrices $G_2, G_3, G_4$ are below.
$$\begin{vmatrix}0 & 1\\ 1 & 0 \end{vmatrix}$$
$$\begin{vmatrix}0 & 1 &1 \\ 1 & 0 &1 \\ 1 &1 &0 \end{vmatrix}$$
$$\begin{vmatrix}0 & 1 &1 &1\\ 1 & 0 &1 &1 \\ 1 &1 &0 &1 \\ 1 &1 &1 &0 \end{vmatrix}$$
I understand how to calculate the determinants with pivots and cofactors.
The first $3$ make sense:
$$ G_2 = −1, G_3 = 2, G_4 = −3$$
However, I do not yet see how he got
$$G_n = (−1)^{n−1}(n − 1).$$