Remainder
Syntax
mod(Expression1, Expression2)mod(List1, List2)mod(Matrix1, Matrix2)Examples
Remainders and modular arithmetic

The remainder can be computed using the mod() command. The remain() command also computes a remainder; the difference appears for negative numbers. If the numtheory library is available, the pwrmod command can be used to compute remainders of large numbers that exceed the numeric limits.
