'Let $H$ be a Hilbert space. Find all compact self-adjoint operators $T:H \rightarrow H$ such that $T^{k}=0$ with $k>0, k \in N$.' $ \ $
I have this idea. Consider $\lambda_n$ eigenvalue of T and $e_n$ its corresponding eigenvector. Then $Te_n=\lambda_n e_n $. So: $T^{k}e_n=T^{k-1}(Te_n)=\lambda_nT^{k-1}e_n=...=\lambda_n^{k}e_n =0$. And we have this for all eigenvalues and eigenvectors. So $T$ should be $T=0$?
If $T$ is self-adjoint and $T^2x=0$, then $Tx=0$ because $$ \|Tx\|^2=\langle T^2 x,x\rangle = 0. $$ Therefore, if $T^k=0$ for some $k > 1$, then $T=0$. This doesn't rely on $T$ being compact, but it does rely on $T$ being self-adjoint.