Section 3 - Modular Arithmetic Flashcards

1
Q

Congruence

A

If a, b ∈ Z, we say a is congruent to b mod n if n|a-b. We write a ≡ b mod n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

a ≡ a’ mod n and b ≡ b’ mod n

A

a + b ≡ a’ + b’ mod n and ab ≡ a’b’ mod n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Inverse

A

If n > 0, and a is coprime to n, then a b∈Z such that ba ≡ 1 mod n is called an inverse of a mod n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Proposition: Let n be a positive integer and x,y∈Z

A

(i) If a∈Z>=1, then ax ≡ ay mod an iff x ≡ y mod n
(ii) If a∈Z coprime to n, then ax ≡ ay mod n iff x ≡ y mod n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Chinese Remainder Theorem

A

Let m,n be coprime positive integers (1 = sm + tn for some s,t∈)Z), a,b be any integers. Then the solution to the simultaneous congruences: x ≡ a mod m and x ≡ b mod n is:
x ≡ atn + bsm mod mn

How well did you know this?
1
Not at all
2
3
4
5
Perfectly