I'm working on a matrix extension of Fermat's Little Theorem, but I'm stuck on trying to show that if $A^p \equiv A$ mod $p$, then $A$ does not have to be diagonalizable.
Any help would be appreciated!
Edit:: I would like to either find a reason why $A$ does not have to be diagonalizable, or somehow be able to categorize the matrices that are / are not diagonalizable in a way that would suggest a pattern. An example would be that if $A^p \equiv A$ mod $p$, then $A$ is diagonalizable when xxx or not diagonalizable when xxx.
You haven't been clear about your base field. Let $k=\Bbb R$. Consider $p=2$. Then $\begin{pmatrix}1&2\\0&1\end{pmatrix}$ is congruent to its square modulo two. However, it is not diagonalizable over $\Bbb R$, say, since it is a Jordan block.