I'm still a beginner, and would appreciate any tips regarding this. (Full solution appreciated, but hints more so!)
This is the problem.
\begin{equation}{D_n} = \begin{vmatrix} 1+{a_1} & 1 & ... & 1 \ 1& 1+{a_2} &... & \vdots \ \vdots &... &\ddots &1 \ 1&1 & ... & 1+{a_n} \end{vmatrix}
So using elementary operations, I simply multipled the last row by -1 and added it to all other rows to get the below matrix, so we're left with two columns to expand.
\begin{equation}{D_n} = \end{equation} \begin{vmatrix} {a_1} & 0 & ... & 0 & -{a_n} \\ 0& {a_2} & 0 & ... & \vdots \\ \vdots &... &\ddots &... &\vdots \\ 0 &... &0 &{a_{n-1}} & -{a_n}\\ 1& ... & ... & 1& 1+{a_n} \end{vmatrix}
This is where I got stuck - if I expanded them, I would get
\begin{equation}{a_1}\times cofactor(a_{11}) + (-1)^n \times -{a_n} \times cofactor(a_{1n})\end{equation}
Both of which would turn into recursive formulae.
Is there an alternative way of simplifying the original matrix to get a more easily calculable format?
EDIT: Following Alex's tip, I expanded it further by multiplying each row by its negative reciprocal to cancel out the 1's in the last row, so the determinant is simply equal to the product of the diagonal cells.
The final answer I got was
\begin{equation}\prod_{k=1}^{n-1} {a_k} \times \left(1 + {a_n} + {a_n} \left( \frac{1}{a_1}+ \frac{1}{a_2} + \dots + \frac{1}{a_n}\right)\right)\end{equation}

It seems that you can proceed farther as follows. Multiplying by $a_i^{-1}$ the $i$-th row and adding it to the last, you will kill “1” placed at $(n,i)$-cell. Then you can calculate the determinant as a product of diagonal cells of the obtained matrix. The cases when $a_i=0$ should be considered separately.