I do not know what this kind of matrix is called, it does not really look Circulant, but I tried to do many row and columns operation in order to make it into an upper triangular matrix so the determinant would be the product of the diagonal elements but I couldn't find a way. Any thoughts?
This is the matrix :
$$\begin{bmatrix}n&n-1&n-2&\cdots&2&1\\1&n&n-1&\cdots&3&2\\1&1&n&\cdots&4&3\\\vdots&\vdots&\vdots&\ddots&\vdots&\vdots\\1&1&1&\cdots&n&n-1\\1&1&1&\cdots&1&\lambda\end{bmatrix}$$
This is a rank one update of a triangular matrix. Let $A$ be the matrix in the post and let $B$ be the matrix with entries $b_{ij} = a_{ij} - 1$. Let $e$ be the column vector of 1's. Then $A = ee^T + B$.
Then $\det(A) = \det(B)(1+ e^TB^{-1}e)$. Since $B$ is triangular, $B^{-1}e$ is not hard to find.
This is defined if $\lambda \ne 1$. For $\lambda = 1$, take the limit.