



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
The basics of number theory, including divisibility, the euclidean algorithm, congruences, the chinese remainder theorem, and the fundamental theorem of arithmetic. It also discusses prime and composite numbers, fermat's little theorem, and the computation of gcds and lcms.
Typology: Lecture notes
1 / 5
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)