QuotientRemainder
QuotientRemainder[m,n]
gives a list of the quotient and remainder from division of m by n.
Details
- QuotientRemainder is also known as the ratio and quantity "left over" from division of m by n.
- Integer mathematical function, suitable for both symbolic and numerical manipulation.
- QuotientRemainder[m,n] returns the ratio of m,n and the quantity "left over".
Examples
open allclose allBasic Examples (2)
Scope (7)
QuotientRemainder works over integers:
QuotientRemainder threads elementwise over lists:
Applications (8)
Basic Appications (3)
Number Theory (5)
Use NestWhileList to compute the quotient of positive arguments:
Use Floor to compute the quotient for integers:
Demonstrate how division works:
Count the number of positive integers less than 1000 divisible by 2 or 3, but not divisible by 6:
Properties & Relations (2)
The first part of QuotientRemainder is the Quotient:
The second part of QuotientRemainder is the Mod:
Neat Examples (2)
Plot the arguments of the Fourier transform of the QuotientRemainder:
Plot the Ulam spiral of the QuotientRemainder:
Text
Wolfram Research (2007), QuotientRemainder, Wolfram Language function, https://reference.wolfram.com/language/ref/QuotientRemainder.html.
CMS
Wolfram Language. 2007. "QuotientRemainder." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/QuotientRemainder.html.
APA
Wolfram Language. (2007). QuotientRemainder. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/QuotientRemainder.html