I am trying to calculate the following determinant:
$$ \begin{vmatrix} a_0 & -1 & 0 & 0 & \ldots & 0 & 0 \\ a_1 & x & -1 & 0 & \ldots & 0 & 0 \\ a_2 & 0 & x & -1 & \ldots & 0 & 0 \\ a_3 & 0 & 0 & x & \ldots & 0 & 0 \\ \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\ a_{n-1} &0 & 0 & 0 & \ldots & x & -1 \\ a_n & 0 & 0 & 0 & \ldots & 0 & x \\ \end{vmatrix} $$
but I don't really know how to start solving it. I've thought about multiplying the second column with $a_0$ and adding it to the first, and doing the same with the other columns (while multiplying them with $a_2,a_3,\ldots , a_n$) respectively but that doesn't seem to get me anywhere. Any hints would be appreciated.