Given that a matrix $X$ satisfies $X^2 = X$ it is clear that $X^{100}=X$ by repeated multiplication of $X$. Algebraically, we might write:
$$X^{100} = (X^2)^{50}=X^{50}=(X^2)^{25}=X^{25}=X(X^2)^{12} = \dots = (X^2)^2 = X $$
But this seems like too much work for such a simple fact. Is there a short algebraic proof?