modulaariluvuissa
Modulaariluvuissa, commonly referred to as modular arithmetic, is a system of arithmetic for integers where numbers "wrap around" upon reaching a certain value—the modulus. This means that in modular arithmetic, we are only concerned with the remainders after division by a fixed integer, the modulus.
For example, in modulo 12 arithmetic, the numbers are 0, 1, 2, 3, 4, 5, 6, 7,
The congruence relation, denoted by the symbol $\equiv$, is fundamental to modular arithmetic. If two integers
Modular arithmetic has widespread applications in various fields, including cryptography, computer science (for hashing functions and