Modular exponentation
an integer base b
a positive exponent x
a positive modulus m
(b^x) % m
See Implementation
Modular exponentation