I have to find the general formula to compute the determinant of a matrix which has all the diagonal elements $0$ and all non-diagonal elements $1$.
I have calculated the $\det$ starting from $n=1$, $n=2$, $n=3$, $n=4$ and $n=5$
For $n=1$, $\det(A) = 0$
For $n=2$, $\det(A) = -1$
For $n=3$, $\det(A) = 2$
For $n=4$, $\det(A) = -3$
For $n=5$, $\det(A) = 4$
For $n=6$, $\det(A) = -5$
From this pattern I saw that every time the value is $n-1$ and the sign is alternating, so I created this general formula based on the results I got:
$$\det(A) = (-1)^{n+1} \cdot (n-1)$$
Now I need to proof this by induction, when I do the base case $n=0$, I get $0=1$, does that mean that I should only start from $n\ge 1$ since there is no matrix with dimension $0$, or I am doing something wrong which I cannot see?