Modulus Division

Modulus division is performed using the mod operator or the mod function.

9 mod 5

mod (9;5)

Modular exponentiation x^y mod p is performed using the modexp function.

modexp (9;3;5)