How to Find the Greatest Common Divisor of Two Integers
Drop any negative signs., Know your vocabulary: when you divide 32 by 5, 32 is the dividend 5 is the divisor 6 is the quotient 2 is the remainder(or modulo). , Identify the larger of the two numbers., Write out this algorithm: (dividend) = (divisor)...
Step-by-Step Guide
-
Step 1: Drop any negative signs.
That will be the dividend, and the smaller the divisor. ,,,,,,,,, Then, the 18 and 12 shift to create the third line, and the 12 and 6 shift to create the fourth line.
The 3, 1, 1, and 2 that follow the multiplication symbol do not reappear.
They represent how many times the divisor goes into the dividend, so they are unique to each line. -
Step 2: Know your vocabulary: when you divide 32 by 5
-
Step 3: 32 is the dividend 5 is the divisor 6 is the quotient 2 is the remainder(or modulo).
-
Step 4: Identify the larger of the two numbers.
-
Step 5: Write out this algorithm: (dividend) = (divisor) * (quotient) + (remainder)
-
Step 6: Put the larger number in the spot for dividend
-
Step 7: and the smaller number as the divisor.
-
Step 8: Decide how many times the smaller number will divide into the larger number
-
Step 9: and drop it into the algorithm as the quotient.
-
Step 10: Calculate the remainder
-
Step 11: and substitute it into the appropriate place in the algorithm.
-
Step 12: Write out the algorithm again
-
Step 13: but this time A) use the old divisor as the new dividend and B) use the remainder as the new divisor.
-
Step 14: Repeat the previous step until the remainder is zero.
-
Step 15: The last divisor is the greatest common divisor.
-
Step 16: Here is an example
-
Step 17: where we are trying to find the GCD of 108 and 30:
-
Step 18: Notice how the 30 and the 18 in the first line shift positions to create the second line.
Detailed Guide
That will be the dividend, and the smaller the divisor. ,,,,,,,,, Then, the 18 and 12 shift to create the third line, and the 12 and 6 shift to create the fourth line.
The 3, 1, 1, and 2 that follow the multiplication symbol do not reappear.
They represent how many times the divisor goes into the dividend, so they are unique to each line.
About the Author
Edward Parker
A seasoned expert in arts and creative design, Edward Parker combines 5 years of experience with a passion for teaching. Edward's guides are known for their clarity and practical value.
Rate This Guide
How helpful was this guide? Click to rate: