prove that if $n\in N$,(ab,n)=1,$(ord_na,ord_nb)$=1,then $ord_n(ab)=ord_na\cdot ord_nb$
My attempt suppose $a’=ord_na$,$b’=ord_nb$ then $a^{a’}\equiv 1 \pmod n$. $b^{b’} \equiv 1 \pmod n$ Then I can get $(ab)^{a’b’} \equiv 1\pmod n$ The next I should proof a’b’=$ord_nab$,I think I may use (a’,b’)=1, I think if I proof for any h such that $(ab)^h\equiv 1\pmod n$ we have a’b’|h,then we finish .but I can’t figure it out
Hint $ $ If $\,(ab)^{\large k}\! = 1\,$ let $\,c = a^{\large k}\! = b^{\large -k}\,$ so $\,c^{\large a'}\!\!=1=c^{\large b'}\!$ $\Rightarrow {\rm ord}\, c = c'\mid a',b'$ coprimes, so $c' = 1$ hence $\,c = 1,\,$ therefore $\,a^k = 1 = b^k,\,$ so $\,a',b'\mid k\,$ so their lcm $\,a'b'\mid k$