This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Quotient

Quotient[m, n]
gives the integer quotient of m and n.
Quotient[m, n, d]
uses an offset d.
  • Integer mathematical function, suitable for both symbolic and numerical manipulation.
  • Quotient[m, n] is equivalent to Floor[m/n] for integers m and n.
  • Quotient[m, n, d] gives a result x such that d≤m-nx<d+n.
  • n*Quotient[m, n, d]+Mod[m, n, d] is always equal to m.
  • Quotient automatically threads over lists.
New in 1 | Last modified in 4