Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2018/discrete-mathematics-continuous-mathematics-and-probability/2/a/solution

Use modular exponentiation by repeated squaring:
Since , multiply the indicated powers to obtain . Only the binary expansion of the exponent determines which squared powers are multiplied.

New to topics? Read the docs here!