Consider the matrix A=(110011001)A = \begin{pmatrix} 1 & 1 & 0 \\ 0 & 1 & 1 \\ 0 & 0 & 1 \end{pmatrix}A=100110011. What is the minimal polynomial of AAA?
(λ−1)3(\lambda-1)^3(λ−1)3
(λ−1)2(\lambda-1)^2(λ−1)2
λ−1\lambda-1λ−1
(λ−1)(λ−2)(\lambda-1)(\lambda-2)(λ−1)(λ−2)