Fermats Little Theorem Calculator

<-- Enter a
<-- Enter prime number (p)