Suppose that p and q are distinct primes, then for every integer a and exponent e with e≢(mod(p−1)(q−1)) show that:
ae≡ae⋅mod(p−1)(q−1)(modp⋅q).
I tried to prove it this way:
Let n=p⋅q, gcd(p,q)=1 and e′=emodφ(n), then e=m⋅φ(n)+e′,m∈Z. We have ae=am⋅φ(n)+e′=(aφ(n))m⋅ae′≡ae′(modn). The last step is true based on the Euler's totient theorem.
Unfortunately, this proof is correct if and only if a is relatively prime to n. However, the task asks to prove it for every integer a and exponent e. How to prove it in that case?
Answer
Case#1: If p|a clearly the ae≡ae⋅mod(p−1)(q−1)(modp) holds as e>0
and similarly for q
Case#2: If p\nmid a\iff (a,p)=1, a^{p-1}\equiv1\pmod p
\implies a^{\text{lcm}(p-1,q-1)}\equiv1\pmod p
and similarly, a^{\text{lcm}(p-1,q-1)}\equiv1\pmod q for q\nmid a\iff(a,q)=1
\implies a^{\text{lcm}(p-1,q-1)}\equiv1\pmod{pq}
Let e=r+k\cdotlcm(p-1,q-1) where r is any integer
a^e=a^r\cdot (a^{\text{lcm}(p-1,q-1)})^k\equiv a^r\cdot1^k\pmod{pq}
No comments:
Post a Comment