Let $A$ be an $n\times n$ complex nilpotent matrix. Then we know that because all eigenvalues of $A$ must be $0$, it follows that $\text{tr}(A^n)=0$ for all positive integers $n$.
What I would like to show is the converse, that is,
if $\text{tr}(A^n)=0$ for all positive integers $n$, then $A$ is nilpotent.
I tried to show that $0$ must be an eigenvalue of $A$, then try to show that all other eigenvalues must be equal to 0. However, I am stuck at the point where I need to show that $\det(A)=0$.
May I know of the approach to show that $A$ is nilpotent?