



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




If a ≡ b mod m and c ≡ d mod m, then a + c ≡ b + d mod m, and ac ≡ bd mod m More generally:
gcd(1470,350) = 2^min(1,1) * 3^min(1,0) * 5^min(1,2) * 7^min(2,1) = 70 LCM (least common multiple): The least common multiple of two positive integers a and b is the smallest positive integer that is divisible by both a and b.
If a and m are relatively prime integers with m > 1, then there exists a unique modular inverse x of a modulo m satisfying 0 < x < m Note: when a and m are not relatively prime (i.e. gcd(a,m) != 1, then a doesn't have modular inverse, and a is called a zero-divisor for arithmetic modulo m) Chinese remainder theorem (CRT): let m, n be two co-prime integers greater than 1, then: ⌈x ≡ a mod m ⌊x ≡ b mod n has a unique solution modulo m * n: sm + tn = 1, then x = bsm + atn (≡ a mod m ≡ b mod n)