Given $A=\begin{bmatrix}1&1&b\\ 0&3&c\\ 0&0&1\end{bmatrix}$
Since $A$ is a triangular matrix, it has eigenvectors $\lambda_1=3$ and $\lambda_{2,3}=1$. So if I want to diagonalize this matrix, the algebraic multiplicity of each eigenvalue has to match the geometric multiplicity.
So for the eigenvalue $1$ we get:
$A-I=\begin{bmatrix}0&1&b\\ 0&2&c\\ 0&0&0\end{bmatrix}$
And how can I tell from this what the values need to be? I tried using symbolab and putting in some random numbers and sometimes it worked, sometimes it didn't. At first I thought that $2b=c$ was the condition, but it turned out false.