Question: Find all $n\times n$ matrices that commutes with $$T=\left(\begin{matrix}0&1&&\\&0&\ddots&\\&&\ddots&1\\&&&0\end{matrix}\right)$$
You are probably wondering why I am answering my own question. Well, as I was typing my question I accidentally solved it...but I didn't want to waste all this typing, and I didn't find this one on MSE so I decided to post it anyway. This could be a duplicate, if so, welcome to point it out.
For any matrix $U,$ we can calculate any polynomial $$ W = a_0 I + a_1 U + a_2 U^2 + ... + a_{n-1} U^{n-1} $$ and conclude that $$ WU = UW $$ Also, there is no reason to worry about exponents $n$ or higher, because of Cayley-Hamilton.
If every eigenvalue occurs in just a single Jordan block, which is equivalent to the minimal polynomial being equal to the characteristic polynomial, then the only matrices that commute with $U$ are themselves polynomials in $U$