QuotientRemainder

QuotientRemainder[m,n]

gives a list of the quotient and remainder from division of m by n.

Examples

Basic Examples  (1)

Find the quotient and remainder from dividing 7 by 2:

In[1]:=
Click for copyable input
Out[1]=

See Also

Quotient  Mod  PolynomialQuotientRemainder

Tutorials

Introduced in 2007
(6.0)