Content deleted Content added
m →Basic properties: Ce |
m ce: prepositions after "denoted" are unnecessary. |
||
Line 66:
The [[modular multiplicative inverse]] is defined by the following rules:
* Existence: There exists an integer denoted
* If {{math|''a'' ≡ ''b'' (mod ''m'')}} and {{math|''a''<sup>−1</sup>}} exists, then {{math|''a''<sup>−1</sup> ≡ ''b''<sup>−1</sup> (mod ''m'')}} (compatibility with multiplicative inverse, and, if {{math|1=''a'' = ''b''}}, uniqueness modulo {{math|''m''}}).
* If {{math|''ax'' ≡ ''b'' (mod ''m'')}} and {{math|''a''}} is coprime to {{math|''m''}}, then the solution to this linear congruence is given by {{math|''x'' ≡ ''a''<sup>−1</sup>''b'' (mod ''m'')}}.
Line 88:
== Congruence classes <span class="anchor" id="Residue"></span><span class="anchor" id="Residue class"></span><span class="anchor" id="Congruence class"></span> ==
The congruence relation is an [[equivalence relation]]. The [[equivalence class]] modulo {{mvar|m}} of an integer {{math|''a''}} is the set of all integers of the form {{math|''a'' + ''k m''}}, where {{mvar|k}} is any integer. It is called the '''congruence class''' or '''residue class''' of {{math|''a''}} modulo {{math|''m''}}, and may be denoted
Each residue class modulo {{math|''m''}} contains exactly one integer in the range <math>0, ..., |m| - 1</math>. Thus, these <math>|m|</math> integers are [[representative (mathematics)|representatives]] of their respective residue classes.
|