Modular arithmetic: Difference between revisions
Jump to navigation
Jump to search
imported>Texvc2LaTeXBot m Replacing deprecated latex syntax mw:Extension:Math/Roadmap |
(No difference)
|
Latest revision as of 08:02, 12 May 2019
Modular arithmetic is a type of arithmetic on finite subsets of the natural numbers
Definition
For then
- iff
This is read as "a is congruent modulo n to b".
Examples
If then
If then
Calculation
An easy way to calculate in mod{n} is they have the same remainder when divided by .
Equivalence
Congruence modulo n is an equivalence relation.
Reflexivity
Let . Then and so . Thus .
Symetry
Let such that . Then . Since . Thus .
Transitivity
Let such that. Then . Then . Thus and .