Congruence Modulo Checker

Determine if two numbers are congruent modulo a given number. Enter the numbers and modulus below to check.

Result

Congruence Status:

Visualization

Number 1:

Remainder when divided by Modulus:

Number 2:

Remainder when divided by Modulus:

Congruence Relation:

Understanding Congruence Modulo

In number theory, two integers a and b are said to be congruent modulo n if they have the same remainder when divided by a positive integer n, called the modulus. Mathematically, this is written as:

$$ a \equiv b \pmod{n} $$

This is equivalent to saying that the difference a - b is an integer multiple of n, or that n divides a - b. Congruence modulo is a fundamental concept in number theory and is used in various areas of mathematics and computer science.

Learn more about congruence modulo on Wikipedia or explore number theory textbooks for deeper insights.