## Modular Exponentiation Calculator

Given three positive integer $b$ (the base), $e$ (the exponent), and $m$ (the modulus) this calculator calculate \[b^e\mod{m}\] i.e. calculate the remainder when $b$ raised to the $e$th power is divided by $m$. This calculation can be used when it is not convenient to apply directly the Euler's theorem. For example finding the last three digits of $24^{2015}$ by this calculator by entering $b=24$, $e=2015$, and $m=1000$ and obtaining the remainder of $624$.