I am trying to show
$ord_n(x)=lcm(ord_p(x), ord_q(x))$ for primes p,q such that $n=pq$
I tried a few different things and found some similar questions but I failed to understand them. Please help me?
I thought of simply using the definition of ord and lcm and their commutative properties to prove it but I get $lcm(\text{ord}_p(x),\text{ord}_q(x))|\text{ord}_n(x)$ and not sure how this would prove the above.
Another proof that I fail to understand:
This follows because $x^j \equiv 1 (mod n) \iff x^j \equiv 1 mod p$ and $x^j \equiv 1 mod q$ but it is not immediately obvious why that is the case. Because the above is the definition of order
Similar questions I read but failed to understand: