FlashKeepers

Advanced Math · College · College and University

Number Theory I: Divisibility and Congruences

Euclidean algorithm, Bezout identity, modular arithmetic, linear congruences, Chinese remainder theorem and Fermat and Euler theorems.

About this set

39 basic cards for College Advanced Math. Set 1 of 2 in Number Theory. It opens with "What is the Euclidean algorithm?" and "What is the greatest common divisor (gcd) of two integers a and b?". Study it alongside the other College sets below.

39 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is the Euclidean algorithm?
Show answerAn algorithm to compute the greatest common divisor of two integers using repeated division with remainder.
What is the greatest common divisor (gcd) of two integers a and b?
Show answerThe largest positive integer that divides both a and b.
In the Euclidean algorithm, the process terminates when the remainder equals what?
Show answerZero. At that point, the gcd is the last nonzero remainder.
Calculate gcd(48, 18) using the Euclidean algorithm.
Show answer6. (48 = 18*2 + 12, 18 = 12*1 + 6, 12 = 6*2 + 0)
What does it mean if gcd(a, b) = 1?
Show answera and b are coprime (relatively prime), sharing no common positive divisor other than 1.
The Euclidean algorithm terminates in O(log(min(a,b))) time.
Show answerTrue. This is shown by Lame's theorem.
State Bezout's identity.
Show answerFor any integers a and b, there exist integers x and y such that ax + by = gcd(a,b).
When do Bezout coefficients x and y exist satisfying ax + by = gcd(a,b)?
Show answerAlways, for any two integers a and b.
How are Bezout coefficients found?
Show answerUsing the extended Euclidean algorithm, working backward through the steps of the standard Euclidean algorithm.
Name one application of Bezout's identity.
Show answerFinding modular inverses. If ax + by = 1, then ax ≡ 1 (mod b), so x is a modular inverse of a mod b.
What does a ≡ b (mod n) mean?
Show answera is congruent to b modulo n, equivalently, n divides (a - b).
If a ≡ b (mod n) and d divides n, what can we conclude about a and b modulo d?
Show answera ≡ b (mod d). Congruence modulo n implies congruence modulo any divisor of n.
If a ≡ b (mod n) and c ≡ d (mod n), then a + c ≡ ____ (mod n).
Show answerb + d
If a ≡ b (mod n) and c ≡ d (mod n), then ac ≡ ____ (mod n).
Show answerbd
If a ≡ b (mod n), then for any integer c, ac ≡ ____ (mod n).
Show answerbc

24 more cards in the app

Study this set free