Lemmas and Theories Flashcards

1
Q

Lemma 1

A

A composite integer 𝑛 > 1, has a prime factor 𝑝 ≀ βˆšπ‘›.

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

Theorem 1

A

If 𝑑|π‘Ž and 𝑑|𝑏, then for any integers 𝑠 and 𝑑,
𝑑 | (π‘ π‘Ž + 𝑑𝑏)
We call (π‘ π‘Ž + 𝑑𝑏) a linear sum, or linear combination, of π‘Ž and 𝑏.

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

Lemma 2

A

Let π‘Ž and 𝑏 be two positive integers, where π‘Ž > 𝑏. Then,
gcd(π‘Ž, 𝑏) = gcd(𝑏, π‘Ž π‘šπ‘œπ‘‘ 𝑏).

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

Lemma 3

A

Let π‘Ÿ1 and π‘Ÿ2 each be a linear sum of integers (π‘Ž, 𝑏), and let π‘Ÿ3 be a linear
sum of (π‘Ÿ1, π‘Ÿ2). Then, π‘Ÿ3 is a linear sum of the original integers (π‘Ž, 𝑏).

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

Theorem 2

A

Let π‘Ž and 𝑏 be positive integers, π‘Ž > 𝑏. There exist integers 𝑠 and 𝑑 such
that
gcd(π‘Ž, 𝑏) = π‘ π‘Ž + 𝑑𝑏
Furthermore, gcd(π‘Ž, 𝑏) is the smallest positive integer which is a linear sum of (π‘Ž, 𝑏)

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

Lemma 4

A

Let π‘Ž be the larger of the two inputs to GCD algorithm. The number of
iterations (thus the number of mod operations) is at most 2 log2 π‘Ž.

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

Lemma 5

A

Suppose the larger input to GCD algorithm is π‘Ž ≀ 𝐹𝑛 for some integer 𝑛. The
number of iterations of the algorithm (the number of mod operations) is at most 𝑛 βˆ’ 2.

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

Lemma 6

A

Let π‘₯, 𝑦, 𝑧, and 𝑛 be positive integers.
(1) (π‘₯ βˆ— 𝑦) mod 𝑛 = ((π‘₯ mod 𝑛) βˆ— (𝑦 mod 𝑛) ) mod 𝑛
(2) (π‘₯ βˆ— 𝑦 βˆ— 𝑧) mod 𝑛 = ((π‘₯ βˆ— 𝑦) mod 𝑛) βˆ— 𝑧) mod 𝑛

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

Theorem 3

A

Let π‘₯ and 𝑛 be two positive integers. The inverse of π‘₯ modulo 𝑛 exists, and
is unique, if and only if gcd(π‘₯, 𝑛) = 1

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

Lemma 7

A

Given positive integers π‘₯ and 𝑛, where gcd(π‘₯, 𝑛) = 1. The sequence
(π‘₯ βˆ— 𝑖 mod 𝑛 | 𝑖 = 1, 2, β‹― , 𝑛 βˆ’ 1)
is a permutation of (1, 2, β‹― , 𝑛 βˆ’ 1).

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

Theorem 4 (Fermat’s Little Theorem)

A

Let 𝑝 be a prime integer, and let π‘₯ be a
positive integer with gcd(π‘₯, 𝑝) = 1. (Since 𝑝 is prime, this condition means π‘₯ β‰  π‘Ÿπ‘ for
any integer π‘Ÿ.) Then,
π‘₯^(π‘βˆ’1) mod 𝑝 = 1

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

Lemma 8

A
  1. Every integer 𝑖 ∈ π‘π‘›βˆ— has an inverse mod 𝑛, and the inverse is in π‘π‘›βˆ— (This is called closure under inversion.)
  2. For every pair of integers 𝑖 and 𝑗 in π‘π‘›βˆ— , their product (𝑖 βˆ— 𝑗 mod 𝑛) is also in π‘π‘›βˆ— . (This property is called closure under multiplication.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Lemma 9:

A

Let π‘π‘›βˆ— = {𝑒1, 𝑒2, β‹― , π‘’πœ™(𝑛)}. Let π‘₯ be any integer in π‘π‘›βˆ— . The sequence
(π‘₯ βˆ— 𝑒𝑖 mod 𝑛 | 𝑖 = 1, 2, β‹― , πœ™(𝑛))
is a permutation of (𝑒1, 𝑒2, β‹― , π‘’πœ™(𝑛)).

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

Theorem 5 (Euler’s Theorem)

A

Let 𝑛 be a positive integer, and π‘π‘›βˆ— = {𝑒1, 𝑒2, β‹― , π‘’πœ™(𝑛)}
be the set of elements in 𝑍𝑛 which are prime relative to 𝑛. And let π‘₯ be an integer in π‘π‘›βˆ— .Then,
π‘₯^(πœ™(𝑛)) mod 𝑛 = 1

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

Computing Inverse by Exponentiation

A

Euler’s Theorem gives another way of
computing the inverse of an integer π‘₯ mod 𝑛, where π‘₯ ∈ π‘π‘›βˆ— ,. Namely,
π‘₯^βˆ’1 = π‘₯^(πœ™(𝑛)βˆ’1) mod 𝑛

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

Corollary 1

A

Let 𝑛 be a positive integer, and π‘π‘›βˆ— = {𝑒1, 𝑒2, β‹― , π‘’πœ™(𝑛)} be the set of
elements prime relative to 𝑛. And let π‘₯ be an integer in π‘π‘›βˆ— . Then, for any integer π‘Ÿ,
π‘₯^(π‘Ÿπœ™(𝑛)+1) mod 𝑛 = π‘₯

17
Q

Theorem 6 (Generalized Euler’s Theorem)

A

Let 𝑛 = π‘π‘ž be product of two primes 𝑝 and π‘ž, and πœ™(𝑛) = (𝑝 βˆ’ 1)(π‘ž βˆ’ 1).
Let π‘₯ be any positive integer, π‘₯ < 𝑛. Then, for any integer π‘Ÿ,
π‘₯^(π‘Ÿπœ™(𝑛)+1) mod 𝑛 = π‘₯

18
Q

RSA Public Key

A

Public key composed of (s, n) s being a small number relatively prime to πœ™(𝑛)

y = x^s mod n

19
Q

RSA Private Key

A

Private key composed of (t), t being s^-1 mod πœ™(𝑛).

z = y^t mod n