Mathematics
13 Online
OpenStudy (shamil98):
Can someone explain how to use the Euclidean algorithm, to me?
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (anonymous):
I think he uses it in the vid.
OpenStudy (shamil98):
No, he doesn't.
The Euclidean algorithm is a technique in getting the gcd.
OpenStudy (anonymous):
Are you sure? I thought i read at the desscription he did.
In that case you can search youtube; it has many videos describing this technique.
OpenStudy (fibonaccichick666):
Ok why don't we do an example to explain. First lets find the gcd of 14 and 28
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (fibonaccichick666):
by inspection the answer is clearly 14, right? so now let us apply the algorithm and see if we get the same answer.
OpenStudy (shamil98):
Okay.
28 = 14 * 2 + 0
?
OpenStudy (fibonaccichick666):
yep i was trying to type that pretty but meh, so good your remainder is zero right? therefore the 14 is your gcd
OpenStudy (fibonaccichick666):
so do a big number you pick two
OpenStudy (shamil98):
729 and 9
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (fibonaccichick666):
k, so first set up the eq.
OpenStudy (fibonaccichick666):
729=a*9+r
OpenStudy (shamil98):
okay, so.
729 = 81*9 + 0
OpenStudy (fibonaccichick666):
good so the gcd is?
OpenStudy (shamil98):
81
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (shamil98):
thanks.
OpenStudy (fibonaccichick666):
wait
OpenStudy (shamil98):
I have the general concept understood.
OpenStudy (fibonaccichick666):
does 81 divide 9?
OpenStudy (shamil98):
729 = 81*9 + 0
81 = 9*9 + 0
9 = 9*1 + 0
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (fibonaccichick666):
not quite, 9 is the answer but you can stop at the first step because the remainder is 0
OpenStudy (fibonaccichick666):
let's try 613 and 769
OpenStudy (fibonaccichick666):
769=?
OpenStudy (shamil98):
they're both primes right? so they're gcd would just be 1..
OpenStudy (fibonaccichick666):
meh we'll see. but first apply the algorithm
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (shamil98):
769=a*613+r
OpenStudy (shamil98):
769 = 1*613 + 156
OpenStudy (shamil98):
613 = 3*156 + 145
156 = 1*145 + 11
145 = 13*11 + 2
11 = 5*2 + 1
2 = 2*1 + 0
1 = 1*1 + 0
?
OpenStudy (fibonaccichick666):
yep that is exactly how it works
OpenStudy (shamil98):
ok ty
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (fibonaccichick666):
np good luck in number theory