Let $A \in M_{n}(\mathbb{Z}) $ be a matrix with $\det A \neq 0$ and with the following property: for any positive integer $k$ the equation $X^{k}=A$ has at least one solution in $M_{n}(\mathbb{Z})$. Prove that $A$ is the unit matrix.
A.M.M. Dec. 2008, Problem 11401 , author: Marius Cavachi