Fermat's and Wilson's Theorems - Please help me with this problem: What is the remainder when 2001^2001 is divided by 26?
Please show all work. Thanks in advance for the help.
Fermat's and Wilson's Theorems - Please help me with this problem: What is the remainder when 314^164 is divided by 165? (Watch out - 165 is not prime!)
Please show all work. Thanks in advance for the help.