How to show that $(a \text{ } mod \text{ } m)^2 \text{ } mod \text{ } m = a^2 \text{ } mod \text{ } m$?

38 Views Asked by At

I have seen this small equality used in a proof that I was reading and I wanted to show that it is true. It seems like an easy problem but I didn't know how to start. Can you show me how is it true?