7.1.10 Euclidean quotient and Euclidean remainder of two integers
The iquorem command
finds both the quotient and remainder of two integers (see Section 7.1.8).
-
iquorem takes two arguments:
a and b, integers.
- iquorem(a,b) returns the list [q,r], where q
is the quotient and r the remainder of a divided by b.
Examples