I have no problem solving smaller equations and understand the logic but don't know how to go about solving a large one such as the one below:
21^16 mod 17
Please show me the process in which to find the answer.
Thanks for your help
Read here Fermat's little theorem - Wikipedia, the free encyclopedia the first few lines, in particular line 6.