Artificial intelligent assistant

When are powers of square matrices linearly independent? If I have an $n$-by-$n$ matrix $A$, is $1, A, A^2,...,A^{n^2}$ always linearly independent?

No, never, because the space of $n\times n$ matrices has dimension $n^2$ and you have $n^2+1$ matrices there.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 6261c5dbd47b01079bbf5a09a16c0599