Maths Number theory

GCD calculator

Numbers
Greatest common divisor 12
Euclid algorithm across every value
Lowest common multiple 720
Numbers entered 3
GCD × LCM = the product, for two numbers

To find the GCD of 48 and 60, divide and keep the remainder: 60 mod 48 is 12, then 48 mod 12 is 0, so the answer is 12. It appears in Euclid Elements around 300 BC and remains the method every computer uses today, because its running time grows only with the number of digits rather than the size of the numbers.

Advertisement
320 × 100

The greatest common divisor is the largest number dividing all of them exactly. For 48, 60 and 72 it is 12. The lowest common multiple is the smallest number they all divide into: 720 in that case.

How to find the GCD

1 Enter two or more numbers, separated by commas or spaces.
2 Read the greatest common divisor, with the lowest common multiple beneath it.
3 Divide a fraction’s top and bottom by the GCD to put it in lowest terms.
4 Use the LCM when you need a common denominator, or the point where two cycles line up again.

For two numbers, GCD times LCM always equals their product — 12 × 240 = 48 × 60. That identity makes one easy once you have the other, and it is why the Euclidean algorithm alone is enough to get both. It stops working the moment there are three numbers: for 4, 6 and 10 the GCD is 2 and the LCM is 60, but 2 × 60 = 120 while the product is 240. There is no repaired version of the shortcut for three, which is why the LCM has to be built up a pair at a time, and that is what this tool does. The GCD is also the answer to a question that does not look like number theory: two cogs of 48 and 60 teeth return to their starting alignment after LCM(48, 60) = 240 teeth have passed, which is five turns of the small one and four of the large.

Questions

Twelve. Both divide by 12 exactly, and nothing larger does, so 48/60 in lowest terms is 4/5.

Advertisement
300 × 250
Was this tool any good?
Internal signal only · I use it to find the tools worth rebuilding