Let $A=[a_{ij}]$ be a square matrix of order $n$ whose entries are given as follows.
For $1\leq i,j\leq n$ we have $a_{ij}=ij$ if $i\neq j$ and $a_{ij}=1+ij$ if $i=j$.
I have to evaluate the determinant.
I just wrote the matrix but don't know how to proceed further.
HINT
We can use the matrix determinant lemma
$$\det\left(\mathbf{A} + \mathbf{uv}^\textsf{T}\right) = \left(1 + \mathbf{v}^\textsf{T}\mathbf{A}^{-1}\mathbf{u}\right)\,\det\left(\mathbf{A}\right)$$
with