Hello smart mathematicians,
I am new to advanced maths so please do not judge.
I basically learnt some cool new math equation algorithm: Euclidean Algortihm.
Basically, I used it for the following example...
11a = 1 mod 60
Using Euclidean Algorithm:
60 = 5(11)+5
11 = 2(5)+1
But then what do I do after 11 = 2(5)+1?
The answer to a is 11 but then I am stuck as to why or where I am going wrong
Any help, greatly appreciated!!!!!
Using your equations $$ 60 = 5(11)+5\implies 5= 60 - 5(11) $$ $$ 11 = 2(5)+1\implies 1 = 11 - 2(5) $$
we can unwind everything to write the gcd 1 in terms of 11 and 60, so we have
$$ 1 = 11 - 2(5) = 11 - 2(60 - 5(11)) = 11(11) - 2(60). $$
do you see what the answer is from here?