## Big Integer Modular Arithmetic Calculator

The Big Integer Modular Arithmetic Calculator (Big MAC) performs modular arithmetic on very large numbers. An example of a very large number is a googol (1 followed by a hundred zeros).

To use Big MAC, enter a non-zero integer for the modulus m (the default value is a googol), and integers a and b below. Then press one of the operation buttons.(**Note:** I just added an exponentiation button—thanks to the person who just pointed out that this was missing.)

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.

- - a returns m - a, the additive inverse of a.

Paul Trow's math page

Copyright 2017 by Paul Trow