The Big Integer Modular Arithmetic Calculator (Big MAC) performs modular arithmetic on very large numbers, using the Perl bigint module.

To use Big MAC, enter a non-zero integer for the modulus m (the default value is a googol, 1 followed by 100 zeros), and integers a and b below. Then press one of the operation buttons.Big MAC hasn't been tested much, so if you have any problems with it, please feel free to send me a message. If you just need to work with ordinary size numbers, the original modular arithmetic calculator should suffice.**Notes:**

- 1 / a (the multiplicative inverse of a) exists if and only if the greatest common divisor of a and m is 1. See Greatest Common Divisor.

Copyright 2017 by Paul Trow