The full problem is:
If p and q are distinct primes, prove that
p^q-1 + q^p-1 = 1 (mod pq)
I need help proving these:
p^q-1 + q^p-1 = 1 (mod p)
and
p^q-1 + q^p-1 = 1 (mod q)
then I can say that p^q-1 + q^p-1 = 1 (mod pq) is true.
I know this is a bit confusing, so please ask questions and I will clarify if you are confused. Thanks in advance.
If p and q are distinct primes, prove that
p^q-1 + q^p-1 = 1 (mod pq)
I need help proving these:
p^q-1 + q^p-1 = 1 (mod p)
and
p^q-1 + q^p-1 = 1 (mod q)
then I can say that p^q-1 + q^p-1 = 1 (mod pq) is true.
I know this is a bit confusing, so please ask questions and I will clarify if you are confused. Thanks in advance.