I want to calculate exponential of the matrix which on diagonal has some $a \in \mathbb{R}$ and ones above. The $n\times n$ matrix looks like following
$$ A = \left( \begin{matrix} a & 1 & 0 & 0 & \cdots & 0 \\ 0 & a & 1 & 0 & \cdots & 0 \\ 0 & 0 & a & 1 & 0 & 0 \\ 0 & 0 & 0 & a & \ddots & 0 \\ 0 & 0 & 0 & 0 & \ddots & 1 \\ 0 & 0 & 0 & 0 & 0 & a \end{matrix} \right) $$
I tried to do it by counting determinant of matrix $A-\lambda I$ by the following algorithm :
Divide last row by $a-\lambda$, so the $n$-th row is just $0$ and $1$ in the $n$-th column.
Subtract $(n-1)$-th row by $n$-th row. Then the $1$ in the $n$-th column and $n-1$ row disappears.
Divide $n-1$ row by $a-\lambda$, so the $(n-1)-$ th row is just $0$ and $1$ in the $(n-1)$-th column.
And so on so on. By algorithm above we get matrix with only ones at diagonal, so the determinant of that matrix is just $(a - \lambda)^n$. So we have $n$-th fold eigenvalue equals to $\lambda$. I now I have a problem with derivation of eigenvectors of matrix $A$. Can you give me some advice? Is there any simplest way to calculate that?