QuotientRemainder
QuotientRemainder[m, n] gives a list of the quotient and remainder from division of m by n.
Examples
Get quotient and remainder:
QuotientRemainder[17, 5]
(* {3, 2} *)This means 17 = 5 × 3 + 2.
QuotientRemainder[100, 7]
(* {14, 2} *)Please visit the official Wolfram Language Reference for more details.