Given: $$A \in M_{n\times n} (\mathbb C) \; , \; A \; \text{is diagonalizable}$$
We need to prove that:
$$ \exists B \in M_{n\times n} (\mathbb C) \; : B^{2012} = A$$
What I said so far:
If $A$ is diagonalizable, then $\exists P$ and $D$ such that $A = P D P^{-1}$ where $D = \begin{pmatrix} \lambda_1 & 0 &\cdots& 0 \\ 0 & \lambda_2 & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & \lambda_n \end{pmatrix}$ , $P = [[v_1], [v_2], \dotsc ,[v_n]]$, $\det(P) \neq 0$ and also $\lambda_1 , \lambda_2 , \dotsc , \lambda_n$ are all distinct.
also,
$A^{2012} = P D^{2012} P^{-1}$
But where do I exactly go from there?