-
MathType
-
Wiris Quizzes
-
Learning Lemur
-
CalcMe
-
MathPlayer
-
Store FAQ
-
VPAT for the electronic documentation
-
MathFlow
-
BF FAQ
Quotient and remainder
Reading time: 1minNota
Working with polynomials? See Remainder (Polynomials).
Computes the quotient and remainder of the division of two integers.
Syntax
quotient_and_remainder(Integer, Integer)
Description
Given two integers a and b, the operation a divided by b, with a≥b: a=q·b+r; has a quotient q and a remainder r. This function returns a list: the first element is the quotient, and the second is the remainder.