Division Algorithm Flashcards

1
Q

State Euclid’s division algorithm.

A

It states that given any two positive integers, a and b, unique integers r and q can be found such that:
a = bn + r, 0 ≤ r < b.
Where q is called the quotient and r the remainder.

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

What is the gcd of two integers a and b?

A

Assume integer d divides a and b, (d|a, d|b), thus is a common divisor of a and b. Now suppose every other common divisor of a and b divides d, (d’|d), then d is said to be the greatest common divisor (gcd) of a and b.

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

What is the linear property of gcd?

A

If d is the gcd of a and b, then,
d = ua +vb, where u and v are integers.

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