Modular Arithmetic

Modular exponentiation, inverse, Chinese Remainder Theorem, Euler's totient

Modular Arithmetic

Modular exponentiation, inverse, Chinese Remainder Theorem, and Euler's totient using BigInt

Input

a^b mod n