Mathematica > Mathematics and Algorithms > Mathematical Functions > Integer Functions >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team