-3

Suppose that $p$ and $q$ are distinct odd primes and $a$ is an integer such that $\text{gcd}(a,pq)=1$. Prove that $a^{(p-1)(q-1)+1}\equiv a \pmod{pq}$.

Hana
  • 57

2 Answers2

1

Use Fermat's Little Theorem to say $a^{p-1}\equiv1 \mod p$ and $a^{q-1}\equiv 1 \mod q.$

Therefore $a^{(p-1)(q-1)}\equiv 1 \mod p,q.$

Therefore $a^{(p-1)(q-1)}\equiv 1 \mod pq,$ using the Chinese Remainder Theorem.

Now multiply both sides by $a$.

J. W. Tanner
  • 60,406
  • If you don’t want to invoke CRT, will you accept primes $p,q|x-1\implies pq|x-1$ ? – J. W. Tanner Jul 02 '19 at 19:35
  • Okay, but then I cannot figure out how I can apply this rule to prove it... – Hana Jul 02 '19 at 20:13
  • which rule? Fermat's little theorem? that was used to prove $a^{p-1}\equiv1\mod p$ and same for $q$; then $x=a^{(p-1)(q-1)}\equiv1 \mod p,q$; the next line in my answer uses either CRT or the alternative in my comment – J. W. Tanner Jul 02 '19 at 20:21
  • Ah okay, that was very helpful. Thank you so much! – Hana Jul 02 '19 at 21:01
0

Hint: $(p-1)(q-1)$ is the value of Euler's phi-function; then go from there.

DDS
  • 3,199
  • 1
  • 8
  • 31