Class 9 · Mathematics
Questions
1,196 questions
/
1–5 of 5 matchingj k to move · Enter to open
#QuestionType
850850.Compute the following using the improved version of Euclid's algorithm.Ch 11 · The World of AlgorithmsmediumNumerical858858.Let , .–
– Initially set most-recent-common-divisor to 1
– k = 2 divides both 6 and 12. Update: most-recent-common-divisor to 2.
– k = 3 divides both 6 and 12. Update: most-recent-common-divisor to 3.
– k = 4 doesnot divide 6. most-recent-common-divisor remains 3.
– k = 5 doesnot divide 6. most-recent-common-divisor remains 3.
– k = 6 divides both 6 and 12. Update: most-recent-common-divisor to 6.
Scan complete. gcd(6, 12) = 6Ch 11 · The World of AlgorithmsmediumShort answer859859. = , carried out by long division: , , then , , . The last divisor is the gcd.Ch 11 · The World of AlgorithmseasyNumerical860860. = , carried out by long division: , , then , , . The last divisor is the gcd.Ch 11 · The World of AlgorithmseasyNumerical861861.Here is another example— = = , carried out by long division: , ; , ; , , .Ch 11 · The World of AlgorithmsmediumNumerical