Possible Duplicate:
Find $ord_m b^2$ if $ord_m a = 10$ and $ab\equiv 1\pmod m$
If $ab \equiv 1 \pmod{m}$ and if $ord_ma=10$, find $ord_mb^{2}$.
I know that $ab \equiv 1 \pmod{m}$ is used to find multiplicative inverses, and I know the basics to orders of elements, but I'm not sure how I would go about combining what I know to solve this.
Thanks