kids encyclopedia robot

Modulo operation facts for kids

Kids Encyclopedia Facts

In mathematics, modulo operation, represented by the symbol \text{mod}, returns the remainder of an integer division (also known as Euclidean division), where the division of two integers produces a quotient and a remainder.

More specifically, given an integer n and a non-zero integer d, the expression n \text{ mod } d refers to the remainder of the division n \div d. Here, n is also known as the dividend; d is also known as the divisor (or the modulus), and the remainder can be also called the least non-negative residue.

However, other conventions and definitions of the modulo operation are also possible, since computers and calculators have various ways of storing and representing numbers. Their definition of the modulo operation depends on the programming language and/or the underlying hardware.

Related pages

See also

Kids robot.svg In Spanish: Operación módulo para niños

kids search engine
Modulo operation Facts for Kids. Kiddle Encyclopedia.