Quotient

Quotient[m,n]

gives the integer quotient of m and n.

Quotient[m,n,d]

uses an offset d.

Details

  • 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.

Examples

open allclose all

Basic Examples  (2)

Find quotients of two numbers:

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

Plot the sequence:

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

Scope  (5)

Applications  (4)

Properties & Relations  (7)

Possible Issues  (1)

Neat Examples  (1)

See Also

Mod  PolynomialQuotient  Divisible  CoprimeQ

Tutorials

Introduced in 1988
(1.0)
| Updated in 1999
(4.0)