Number Theory Flashcards

1
Q

What does a|b mean?

A

a divides/is a divisor/ a factor/ a multiple of b

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

Division Algo

A

a = bq+r where q is the quotient and r is the remainder

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

Congruence Modulus

A

if m divides (a-b)
also known as a ≡ b (mod m)

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

Congruence Modulus Theorem

A

If a ≡ b (mod m) and c ≡ d (mod m)
then:
a + c ≡ b + d (mod m)
a -c ≡ b - d (mod m)
ac ≡ bd (mod m)
a^n ≡ b^n (mod m)

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

Corollary for the Congruence Modulus Theorem

A

(a + b) mod m ≡ ((a mod m) + (b mod m)) mod m
(a x b) mod m ≡ ((a mod m) x(b mod m)) mod m

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

Arithmetic Addition

A

a ⊕ b = (a + b ) mod m

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

Arithmetic Multiplication

A

a ⨂ b = (a x b) mod m

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

Commutative property for arithmetic addition and multiplication

A

a ⊕ b = b ⊕ a
a ⨂ b = b ⨂ a

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

Associative property for arithmetic addition and multiplication

A

a ⊕ (b ⊕ c) = (a ⊕ b) ⊕ c
a ⨂ (b ⨂ c) = ( a ⨂ b) ⨂c

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

Identity property for arithmetic addition and multiplication

A

a ⊕ 0 = a
a ⨂ 1 = a
a ⨂ 0 = 0

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

The distributive property for arithmetic addition and multiplication

A

a ⨂ ( b ⊕ c) = ( a ⨂ b) ⊕ (a ⨂ c)

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

Modular Subtraction

A

a ⊖ b = (a - b) mod m

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

Modular Reciprocal

A

a^-1 = b

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

Modular Division

A

a ⨂ b ^ -1

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

Prime Number

A

has exactly two positive divisors 1 and itself

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

Relatively Prime

A

if a and b’s only GCD is 1

17
Q

Pairwise Relatively Prime

A

if gcd(a₁, a₂) = 1 whenever 1 ≤ a sub 1 value ≤ a sub 2 value ≤ n

18
Q

Prime Lemma

A

a = bq+r then gcd(a,b) = gcd(b,r)

19
Q

Steps for Euclid Algo

A
  1. Divide two numbers and find the remainder
  2. Remainder becomes the new second number in GCD
  3. Repeat step 1 until the second number is 0
  4. The first number when the second is 0 is the GCD of the two OG numbers
20
Q

Steps for extended Euclid Algo

A
  1. Do Euclid
  2. Apply the following recursive algo
    Base Case:
    s sub 0 = 1
    s sub 1 = 0
    t sub 0 = 0
    t sub 1 = 1
    Recursive Case:
    s sub j = s sub j-2 - q sub j-1 x s sub j-1
    t sub j - t sub j-2 - q sub j-1 x t sub j-1
    j and q sub j are the quotient in the divisors from Euclid’s
  3. gcd(a,b) = s sub n a + t sub n b
21
Q
A
21
Q

Bea

A
22
Q
A
23
Q
A
24
Q
A