Define the binary hollow matrices
$$ A_2 = \left[ \begin{array}{cc} 0 & 1\\ 1 & 0 \end{array}\right], \qquad A_3 = \left[ \begin{array}{ccc} 0 & 1 & 1\\ 1 & 0 & 1 \\ 1 & 1 & 0 \end{array}\right], \qquad A_4 = \left[ \begin{array}{cccc} 0 & 1 & 1 & 1\\ 1 & 0 & 1 & 1 \\ 1 & 1 & 0 & 1 \\ 1 & 1 & 1 & 0\end{array}\right] $$
and so on for $A_n$. Calculate the determinant for $A_1, A_2, A_3, A_4$ and then guess about the determinant for $A_n$ in general.
Of course the pattern is clear that
$$ \det A_n = (n-1)(-1)^{n-1} $$
but I am wondering as to what the proof of this is. I tried to be clever with cofactor expansions but I couldn't get anywhere. Could someone explain it to me, please?