Britannica Sources used in this answer

Why do βˆ’6 and 4 belong to the same congruence class modulo 5?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

In number theory, two integers are defined as belonging to the same congruence class modulo N if their difference is exactly divisible by N.12

For the integers −6 and 4 with a modulus of 5, the difference is calculated as:
4−(−6)=10

Since 10 is divisible by 5 (specifically, 10÷5=2), the two numbers are congruent modulo 5, written as −6≡4(mod5). Consequently, they reside in the same congruence class, which includes other integers such as …,−11,−6,−1,4,9,…1