Modular arithmetical operations on integers
Enter a:
Enter b:
Enter m (> 1):
Select an operation:
a+b (mod m)
a-b (mod m)
a·b (mod m)
a^b (mod m) (b >= 0)
1/a (mod m) (gcd(a,m)=1) (put b=1 to fill the b box)
b/a (mod m) (gcd(a,m)=1
Last modified 5th September 2002
Return to main page