First off, I have this matrix
1 0 3 1 0 2 0 5 0
I have calculated the eigenvalues, which are
(11+sqrt(141))/2. From what I understand, if I don't have 3 distinct eigenvalues then the matrix is not diagonalizable in R. Is this matrix diagonalizable in R?
The second part of my question is: if it's not diagonalizable then what other option do I have for calculating
n is really big, something like the order of
10^12. I need to calculate this for a programming problem.