Appearance
Number operations
Denote by . Recall the notation " divides ", meaning . Also, the congruent notation (" is congruent to modulo "), which means . Modular arithmetic deals with relations under this modulo notation. Another name for modular arithmetic is "calendar arithmetic", e.g., implies that, if today is Sunday, then days from now will be Monday.
Exercise 42
Prove that under modulo is an equivalence relation.
Exercise 43
If and , then and
The above exercise allows us to have an easier time working in modular arithmetic. For instance, if we want to find the last digit of number , we could simply write and then we can raise both sides to the power of , which gives us . The last digit of this number is !
Exercise 44
What is the last digit of ? Prove your answer.