How would you solve these two general determinants?
$$ \begin{vmatrix} 2 & 1 & 0 & \cdots & 0 & 0 \\ 1 & 2 & 1 & \cdots & 0 & 0\\ 0 & 1 & 2 & \cdots & 0 & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\ 0 & 0 & 0 & \cdots & 2 & 1\\ 0 & 0 & 0 & \cdots & 1 & 2\\ \end{vmatrix} $$
$$ \begin{vmatrix} 3 & 2 & 2 & \cdots & 2 \\ 2 & 3 & 2 & \cdots & 2 \\ 2 & 2 & 3 & \cdots & 2 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 2 & 2 & 2 & \cdots & 3 \\ \end{vmatrix} $$
And if there are any tips for counting determinants of this type, please let me know :-)