exponentiation in modular arithmetic 4705418