Basic Number Theory: Prof. Ashok K Bhateja, IIT Delhi
Basic Number Theory: Prof. Ashok K Bhateja, IIT Delhi
Lemma: If a and b are integers such that there are integers x and y with
ax + by = 1, then gcd (a, b) = 1.
AK Bhateja IIT Delhi
10 Congruences
A single congruence
x a mod (m1m2) can be written as
x a mod m1 and x a mod m2
Example: x 3 mod 63 is equivalent to
x 3 mod 7 and x 3 mod 9
Example: Z26* = {1, 3, 5, 7, 9, 11, 15, 17, 19, 21, 23, 25}, Z26*= 12.
a Z21* 1 2 4 5 8 10 11 13 16 17 19 20
order of a 1 6 3 6 2 6 6 2 3 6 6 2