<s>[INST] Find the determinant of order $100$ Find the determinant of order $100$: 
$$D=\begin{vmatrix}
5 &5 &5 &\ldots &5 &5 &-1\\
5 &5 &5 &\ldots &5 &-1 &5\\
5 &5 &5 &\ldots &-1 &5 &5\\
\vdots &\vdots &\vdots &\ddots &\vdots &\vdots &\vdots\\
5 &5 &-1 &\ldots &5 &5 &5\\
5 &-1 &5 &\ldots &5 &5 &5\\
-1 &5 &5 &\ldots &5 &5 &5
\end{vmatrix}$$
I think I should be using recurrence relations here but I'm not entirely sure how that method works. I tried this:
Multiplying the first row by $(-1)$ and adding it to all rows: 
$$D=\begin{vmatrix}
5 &5 &5 &\ldots &5 &5 &-1\\
5 &5 &5 &\ldots &5 &-1 &5\\
5 &5 &5 &\ldots &-1 &5 &5\\
\vdots &\vdots &\vdots &\ddots &\vdots &\vdots &\vdots\\
5 &5 &-1 &\ldots &5 &5 &5\\
5 &-1 &5 &\ldots &5 &5 &5\\
-1 &5 &5 &\ldots &5 &5 &5
\end{vmatrix}=\begin{vmatrix}
5 &5 &5 &\ldots &5 &5 &-1\\
0 &0 &0 &\ldots &0 &-6 &6\\
0 &0 &0 &\ldots &-6 &0 &6\\
\vdots &\vdots &\vdots &\ddots &\vdots &\vdots &\vdots\\
0 &0 &-6 &\ldots &0 &0 &6\\\
0 &-6 &0 &\ldots &0 &0 &6\\
-6 &0 &0 &\ldots &0 &0 &6
\end{vmatrix}$$
Applying Laplace's method to the first column
$$D=5\begin{vmatrix}
0 &0  &\ldots &0 &-6 &6\\
0 &0 &\ldots &-6 &0 &6\\
\vdots &\vdots &\ddots &\vdots &\vdots &\vdots\\
0 &-6 &\ldots &0 &0 &6\\
-6 &0 &\ldots &0 &0 &6
\end{vmatrix}+6\begin{vmatrix}
5 &5 &\ldots &5 &5 &-1\\
0 &0 &\ldots &0 &-6 &6\\
0 &0 &\ldots &-6 &0 &6\\
\vdots &\vdots &\ddots &\vdots &\vdots &\vdots\\
0 &-6 &\ldots &0 &0 &6\\
-6 &0 &\ldots &0 &0 &6
\end{vmatrix}$$
I can see that this one is $D$ but of order $99$...Is this leading anywhere? How would you solve this?
 [/INST] Add all the rows to the last row and in the last row all entries will be $99 \cdot 5 - 1 = 494$. Now you can take $494$ outside of the determinant and now start subtracting $-5$ times the last row from each other row. Then the entries in the second diagonal will be $-6$, the last row will be $1$'s , while all other entries will be $0$. Then you can start changing the first row with the last one, the second with the second to last and so on. As there will be $50$ changes (even number), the value of the determinant will not change. Eventually you will get a triangular number and hence the determinant is:
$$494 \cdot (-6)^{99}$$
</s>