Quotient

Quotient[m,n]
gives the integer quotient of m and n.

Quotient[m,n,d]
uses an offset d.

DetailsDetails

  • 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.
Introduced in 1988
(1.0)
| Updated in 1999
(4.0)