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

Quotient

Quotient
gives the integer quotient of m and n.
Quotient
uses an offset d.
  • Integer mathematical function, suitable for both symbolic and numerical manipulation.
  • n*Quotient[m, n, d]+Mod[m, n, d] is always equal to m.
  • Quotient automatically threads over lists.
Find quotients of two numbers:
Plot the sequence:
Find quotients of two numbers:
In[1]:=
Click for copyable input
Out[1]=
 
Plot the sequence:
In[1]:=
Click for copyable input
Out[1]=
Form the quotient of approximate numbers:
Quotient threads element-wise over lists:
Form quotients with offsets:
Use with exact, nonrational arguments:
Complex numbers:
Implement the Euclidean algorithm in one line:
Number of positive integers less than 1000 divisible by 2 or 3, but not divisible by 6:
Direct count:
Results depend on the sign of the second argument:
Express through Floor:
Simplify expressions containing Quotient:
Express as a piecewise function:
Solve an implicit equation:
Evaluate an integral:
Quotient does not automatically resolve the value:
New in 1 | Last modified in 4