Question 1

Greatest common divisor of 89 and 55 (using the Euclidean algorithm, positive remainders):

Question 2

Greatest common divisor of 89 and 55 (using the Euclidean algorithm, any remainders):

Question 3

Using the extended Euclidean Algorithm to find integers and such that 89 + 55 = 1.

Question 4

unimportant question, return to later

Question 5

Find all the integer solutions of .

From the Euclidean algorithm we find…

There are no integer solutions to the equation , since the greatest common divisor, 4, does not divide 6.

Question 6

Question 6a

Find all the integer solutions of .

From the Euclidean algorithm we find…

Thus, using the extended Euclidean algorithm we can deduce :

Extending this to be more generalised means finding such that

This means finding the lowest common multiple of 19 and 12, so that .

Thus .

Therefore, all the integer solutions of are in the form:

Question 6b

How many of them satisfy and ?

  • Thus, the integers that satisfy the constraints for are .

  • Thus, the integers that satisfy the constraints for are .

Therefore, the integers that satisfy both constraints for are : 2 satisfying integers.

Correction: .

Question 7

Express the fraction as a difference , finding all solutions for positive integers .

This is a linear combination, thus requires the Euclidean algorithm, then the extended Euclidean algorithm, then the LCM to find the general solutions for , as shown below:

Therefore, by Bézout’s Lemma, we can say that there exists infinite solutions for . To find , we use the extended Euclidean algorithm:

To find all solutions, we need to find such that:

For this, we’ll find , then use that to find such that they’ll always cancel each other out:

Therefore, the solutions for are:

To fit this with the question, the expression of the two difference is as follows:

Calculating these gives the required result.

Question 8

There is a currency: the “unit”. There exists two division, a small coin worth 13 units, and a big coin worth 17 units.

How do you pay for an item worth 7 units?

First, we can formulate the question mathematically:

In other words, what combination of small coins, , and big coins, , gives a value of 7? Any integer is allowed here, as a negative answer is simply some coins returned as change.

This is a linear combination, so can be solved using a combination of Euclid’s algorithm, Euclid’s extended algorithm, and Bézout’s Lemma, as shown below:

For all solutions,

Question 9

In the same country as Q8, how many different ways is it possible to pay for an item worth 700 units without having to receive any change?

Mathematically, how many solutions of the equation are ?