Modular arithmetic: Difference between revisions

Content deleted Content added
mNo edit summary
Tag: Reverted
Line 96:
It is generally easier to work with integers than sets of integers; that is, the representatives most often considered, rather than their residue classes.
 
Consequently, {{math|(''a'' mod ''m'')}} denotes generally the unique integer {{mvar|kr}} such that {{math|0 ≤ ''kr'' < ''m''}} and {{math|''kr'' ≡ ''a'' (mod ''m'')}}; it is called the '''residue''' of {{math|''a''}} modulo&nbsp;{{math|''m''}}.
 
In particular, {{math|1=(''a'' mod ''m'') = (''b'' mod ''m'')}} is equivalent to {{math|''a'' ≡ ''b'' (mod ''m'')}}, and this explains why "{{math|1==}}" is often used instead of "{{math|≡}}" in this context.