Introduction : Prime Numbers Flashcards

1
Q

(Bézout’s Lemma)

A

Suppose the hcf(m , n) = d. Then there exists s,t c Z such that sm + tn = d

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

(Factorization Algorithm)

A

To factorise N:

  1. Start with n =N and p=2
  2. If p divides n then record the prime factor p, replace n with n/p and repeat this step.
  3. If p does not divide n, replace p with the next smallest prime.
  4. If P <= n^1/2 then return to step 2.
  5. If P > n ^1/2 then record the prime factor n, and end.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

(The Sieve of Eratosthenes)

A

Step 1
Cross out 1 We have agreed that 1 is not a prime.
Step 2
Find the next unmarked number, p, and circle it.
Step 3 Cross out all proper multiples of p which are not yet crossed out.
Step 4
If there remain unmarked entries in the grid, return to Step 2.
Step 5
If there are no unmarked entries then end.

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

Prove there are infinitely many prime numbers

A

Suppose that we have a finite set of primes p1 , p2, … pt . Let N be the product p1 …. pt of all these primes. Now if we try to divide N + 1 by any if the primes in our set, we get remained 1 ; so none of these primes can divide N + 1. but N + 1 /= 1, and so N + 1 must have a prime divisor ; hence our finite set of primes does not contain all primes.

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

(The Prime Number Theorem)

A

x ( n ) ~ n
——–
log n

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

fermats little theorem

A

let p be prime, and let a be that a^p = a mod p. If P is prime and a is coprime with p, then a^p-1 = 1 mod p

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

Which algorithm calculates highest common factor?

A

Euclidian Algorithm

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

fundamental theorem of arithmetic

A

Let n c N, then n has a unique factorisation as a product of primes.

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

Prime factorisation

A

reduce into powers of primes
e.g 2024 = 2^3 x 11 x 23

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

Find the period of 15 in Z17.

A

8

Tutorial 1

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

calculate 7^10000 in Z103

A

32

Tutorial 1

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

Find x ∈ N such that 13x ≡ 666 (mod 1000).
Euclids

A

x = 282

SS1

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