Fermat's/Euler Problem: Proving Equivalence Modulo pq and ab

  • Thread starter Thread starter pacdude9
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 1K views
pacdude9
Messages
4
Reaction score
0
I've got a pair of (related) problems that are keeping me stumped. The two problems they are asking me to prove are:

[tex]p^{(q-1)} + q^{(p - 1)} \equiv 1 \; (\!\!\!\!\!\! \mod \, pq)[/tex]

[tex]a^{\phi(b)} + b^{\phi(a)} \equiv 1<br /> \; (\!\!\!\!\!\! \mod \, ab)[/tex]

Where [tex]\phi(n)[/tex] is Euler's Totient Function.

I know that these are similar, as the second problem is using Euler's Theorem, a generalization of Fermat's Little Theorem, I just can't seem to figure them out.
 
Physics news on Phys.org
for the first one, see if this helps...

By Fermat's Theorem (assuming that p and p are relatively prime...) we have
[tex]q^p=q[/tex]mod [tex]p[/tex]. We can cancel q from both sides since gcd(q,p) = 1, so [tex]q^{(p-1)} = 1 (mod p)[/tex]. Also [tex]p^{(q-1)} = 0 (mod p)[/tex] we get

[tex]p^{(q-1)} + q^{(p-1)} = 1 (mod p)[/tex]

can you go from there?
 
Last edited: