Congruence

Congruence

Carl Friedrich Gauss, in his landmark work Disquisitiones Arithmeticæ, introduced congruence notation.

Definition

Let be a fixed positive integer. For integers and , we say that is congruent to modulo , and write

when . For integers and such that , we write . We refer to as congruence, and as its modulus.

Lemma
Remark

  • Note that the has NO connection to logical equivalency

Example

Elementary Properties of Congruence

Consider be a fixed integer

Congruence is an Equivalence Relation (CER)

See Equivalence Relation

Proposition

For all integers , , and , we have

  1. (see implication)
  2. (see logical and)

Congruence Add and Multiply (CAM)

Proposition

For all positive integers , for all integers , and , if for all , then

Congruence Power (CP)

Proposition

For all positive integers and integers and , if , then

Congruence Divide (CD)

Proposition

For all integers , , and , if and , then

(See GCD)