I think this proposition is right. If this is not right, could you provide a counter example? However, this is definitely right for the $\mathbb{R}^3 $ case. Here is how I proved it. Is it right and if so rigorous? Even if yes, are there more ways to prove this, I'm really curious. I put two ways, I'm not sure if either is right, or maybe one of them is rigorous and the other one is not. Could you please point out flaws in the proofs if the idea is right but it is not rigorously explained? I'm new to proofs and it's summer so I can't annoy my professors. Thanks.
$\\(I-A)^k=0 \\ det(I-A)^k=0 \Rightarrow det(I-A)=0 \\ \text{Therefore there exists a non-zero vector x, }\\ (2) \quad(I-A)x=Ix-Ax=0 \\ \text{There exists non trivial x s.t. } Ax=\lambda_{2}x \\ \text{So now } (I-A)x=x-\lambda_2x=(1-\lambda_2)x \\ \text{Multiplying both sides by (A-I) k times, we get } 0=(1-\lambda)^kx \\ \text{Since x is non-trivial, }1-\lambda=0 \Rightarrow \lambda=1 \\ \therefore \text{A has eigenvalue 1 of multiplicity k, and so A is invertible} $
Best is to denote $B\colon = I- A$, so $A = I-B$. Now $B$ is nilpotent, ( $B^k = 0$). Check that $$( I + B + B^2 + \cdots B^{k-1})(I-B) = I$$
With your method: assume that $A v = 0$. Then $(I-A)v = v$, so by induction, $(I-A)^n v = v$ for all $n\ge 1$. Now, for $n=k$ we get $(I-A)^k v = v$. But the LHS is $0$, so $v=0$, and thus $A$ is injective, and therefore has an inverse $A^{-1}$.