Number Theory

Congruence

Two integers are congruent modulo n when they have the same remainder after division by n.

Meaning

What Is Congruence?

Two integers are congruent modulo n when they have the same remainder after division by n.

Two integers are congruent modulo n when they have the same remainder after division by n.

Examples

Examples of Congruence

117 ≡ 2 (mod 5).
Understand

Formula and Key Points

Formula / rule
a ≡ b (mod n)
  • Know the definition and standard notation for Congruence.
  • Be able to recognise or compute congruence in a small example.
  • Connect the concept to nearby topics in the same subject before using it in larger CSE problems.
CSE Connection

Why This Matters in Computer Science

Used in cryptography, hashing, coding theory, security protocols and efficient integer algorithms.

FAQ

Congruence: Frequently Asked Questions

What is Congruence?

Two integers are congruent modulo n when they have the same remainder after division by n.

Why is Congruence useful in computer science?

Used in cryptography, hashing, coding theory, security protocols and efficient integer algorithms.