Ask your own question, for FREE!
Mathematics 7 Online
OpenStudy (anonymous):

whats the euclidean algorithm & how does it work? examples please.

OpenStudy (anonymous):

it is a way to find the greatest common divisor using division with remainder

OpenStudy (anonymous):

EX: gcd(14,35). First we divide 35 by 14 with remainder. 35= 2(14)+7 Now you divide 14 by your remainder 7: 14= 2(7)+0 You repeat the process until you get 0, and then the previous remainder is the greatest common divisor

OpenStudy (anonymous):

so here 7 is the greatest common divisor of 14 and 35

OpenStudy (anonymous):

In general: gcd(a,b), a>b. Divide a by b with remainder r: \[a=q_1b+r_1\]

OpenStudy (anonymous):

So how would the solution go for 25&65. The answer would be 5 wouldn't it?

OpenStudy (anonymous):

then divide b by the first remainder, etc until you get remainder 0, then check the last remainder: \[b=q_2r_1+r_2\] \[r_1=q_3r_2+r_3\] . . etc until some r_n is 0, then r_(n-1) is the gcd(a,b) .

OpenStudy (anonymous):

ok lets try that problem. gcd(65,25) 65=2(25)+15 25=1(15)+10 15=1(10)+5<-----gcd(65,25) 10=2(5)+0<------stop here and go up one remainder

OpenStudy (anonymous):

so you're right it is 5

OpenStudy (anonymous):

hope that helps :)

OpenStudy (anonymous):

Why divide 25 by 2 first?

OpenStudy (anonymous):

we divided 65 by 25 first

OpenStudy (anonymous):

25 goes into 65 two whole times, then there is 15 left

OpenStudy (anonymous):

65=2*25+15

OpenStudy (anonymous):

it is just another way to think about division. 65/25=2+15/25

OpenStudy (anonymous):

so multiply by 25 through the whole thing and you get 65=2*25+15

OpenStudy (anonymous):

It did help a lot. Thank you soo much :)

OpenStudy (anonymous):

y.w. :)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!