the euclidean algorithm and primes Flashcards

1
Q

euclidean division:

A

let a and b be integers with b!=0, then there is a unique pair of integers m and r such that a=mb+r and 0<=r<|b|

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

b|a:

A

let a and b be integers, if there is an integer c with a=bc, we say b divides a or a is a multiple of b, written b|a

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

common divisor:

A

if d|a and d|b, d is a common divisor of a and b, D(a,b) is the set of all common divisors of a and b

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

greatest common divisor:

A

if at least one of a and b is nonzero, D(a,b) is finite, so it has a greatest element, denoted gcd(a,b)

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

coprime:

A

two integers a and b are coprime if gcd(a,b)=1, so no prime factors in common

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

a=mb+r and common divisors:

A

if a=mb+r, D(a,b)=D(b,r), and if at least one of a and b is nonzero then gcd(a,b)=gcd(b,r)

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

euclidean algorithm:

A

given two integers a0 and a1 with a1!=0, gcd(a0,a1) can be found by:
1 - apply euclidean division to write a0=m1a0+r1, where m1,r1 are integers and 0<=r1<|a1|. if r1=0, return gcd(a0,a1)=a1, otherwise proceed
k - set ak=r↓(k-1), apply euclidean division to write a↓(k-1)=mkak+rk, where mk,rk are integers and 0<=rk<ak. if rk=0, return gcd(a0,a1)=r↓(k-1), otherwise proceed to step k+1

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

bezout’s lemma:

A

let a,b be integers with at least one nonzero, there exists integers s,t such that as+bt=gcd(a,b)

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

linear diophantine equation:

A

the form is a1x1+…+anxn=c, where ai,c are integers and we are solving for x1,…,xn. when there’s only one variable, a solution only exists if a|c and the solution is unique

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

2 variable linear diophantine equations:

A

a,b,c are integers with at least one of a,b nonzero, and d=gcd(a,b)
ax+by=c has a solution iff d|c
if c=de, then a particular solution of ax+by=c is x0=se, y0=te, where s,t are integers satisfying d=as+bt
if (x0,y0) is a particular solution, then there’s infinitely many solutions, each of which has the form (x0+k(b/d), y0-k(a/d)), where k is an integer
imagine all this when x and y are real to have (x0,y0) be a point on a line, so you get the rest of the integer solutions by looking at the points on the line where x and y are both integers (like grid marks on the graph) - notice you can rearrange the original equation to a straight line graph

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

euclid’s lemma:

A

let p be a prime and a,b be integers, if p|ab then p|a or p|b (it can be both)

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

fundamental theorem of arithmetic:

A

every integer greater than 1 has a prime factorisation and this factorisation is unique up to reordering the factors

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

euclid’s theorem:

A

there are infinitely many primes

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