Mod[m,n]
gives the remainder on division of m by n.
Mod[m,n,d]
uses an offset d.
- Mod is also known as modulo operation.
- Mathematical function, suitable for both symbolic and numerical manipulation.
- Typically used in modular arithmetic, cryptography, random number generation and cyclic operations in programs.
- Mod[m,n] gives the remainder of m divided by n.
- Mod[m,n] is equivalent to m-n Quotient[m,n].
- For positive integers m and n, Mod[m,n] is an integer between 0 and n-1.
- Mod[m,n,d] gives a result such that and .
Basic Examples(4)
Scope(13)
Numerical Evaluation(6)
Symbolic Manipulation(7)
Applications(19)
Basic Applications(3)
Numeric Identifiers(1)
Cryptography(2)
Number Theory(6)
Computer Sciences(3)
Politics, Economics and Social Sciences(2)
Properties & Relations(7)
Possible Issues(1)
PowerMod Quotient QuotientRemainder Divisible CoprimeQ ModularInverse FractionalPart PolynomialMod PolynomialRemainder PolynomialQuotientRemainder Xor Modulus
- ▪
- Some Mathematical Functions ▪
- Integer and Number Theoretic Functions
- ▪
- Mathematical Functions ▪
- Differential Equations with Events ▪
- Integer Functions ▪
- Number Theory ▪
- Number Theoretic Functions ▪
- Representation of Numbers ▪
- Numerical Functions ▪
- Cryptographic Number Theory ▪
- Conditionals ▪
- Additive Number Theory ▪
- Multiplicative Number Theory
- MathWorld
- The Wolfram Functions Site
- An Elementary Introduction to the Wolfram Language : More about Numbers
- NKS|Online (A New Kind of Science)
Introduced in 1988 (1.0) | Updated in 1996 (3.0) ▪ 1999 (4.0) ▪ 2000 (4.1) ▪ 2002 (4.2)
Wolfram Research (1988), Mod, Wolfram Language function, https://reference.wolfram.com/language/ref/Mod.html (updated 2002). Wolfram Research (1988), Mod, Wolfram Language function, https://reference.wolfram.com/language/ref/Mod.html (updated 2002). Wolfram Language. 1988. "Mod." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2002. https://reference.wolfram.com/language/ref/Mod.html. Wolfram Language. (1988). Mod. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Mod.html @misc{reference.wolfram_2024_mod, author="Wolfram Research", title="{Mod}", year="2002", howpublished="\url{https://reference.wolfram.com/language/ref/Mod.html}", note=[Accessed: 01-July-2024]} @online{reference.wolfram_2024_mod, organization={Wolfram Research}, title={Mod}, year={2002}, url={https://reference.wolfram.com/language/ref/Mod.html}, note=[Accessed: 01-July-2024]}Text
CMS
APA
BibTeX
BibLaTeX