wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Using Euclid's algorithm, find the HCF of 504and1188.


Open in App
Solution

Solution:

Step 1: Stating Euclid's algorithm:

Given numbers are 504 and 1188.

Euclid's algorithm: For any two positive integers a and b, there exist two unique integers q and r such that a=bq+r. Here, 0r<b.

Step 2: Use Euclid's algorithm for a=1188andb=504

1188=(504×2)+180

Step 3: Use Euclid's algorithm for a=504andb=180

504=(180×2)+144

Step 4: Use Euclid's algorithm for a=180andb=144

180=(144×1)+36

Step 5: Use Euclid's algorithm for a=144andb=36

144=(36×4)+0

Final answer: Hence, by using Euclid's algorithm the HCF of 504 and 1188 is obtained as 36.


flag
Suggest Corrections
thumbs-up
1
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Algebraic Identities
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon