How to use Euclids algorithim to find LCM?

  • Thread starter Thread starter 0-RWHP
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around using Euclid's algorithm to find the least common multiple (LCM) of two numbers, specifically in the context of understanding the relationship between the greatest common divisor (GCD) and LCM.

Discussion Character

  • Exploratory, Conceptual clarification

Approaches and Questions Raised

  • The original poster attempts to understand how to apply the Euclidean algorithm for finding the LCM after successfully finding the GCD. Some participants mention the relationship between GCD and LCM through a known equation.

Discussion Status

Participants are exploring the connection between GCD and LCM, with one providing a formula for calculating LCM using GCD. There is an expression of enthusiasm about discovering the relationship, but no consensus on the final answer is reached.

Contextual Notes

The discussion includes a specific example with the numbers 8 and 19, where the GCD is noted as 1, but there is no explicit resolution on the correctness of the LCM calculation provided by the original poster.

0-RWHP
Messages
2
Reaction score
0
I know it's a really basic problem. I can find GCD with it but I can't find how to use the euclidean algorithm to find the LCM of two numbers? Sorry for the noob question :)
 
Physics news on Phys.org
Once you have the GCD, use the well known equation

LCM(a,b)*GCD(a,b) = a*b

or LCM = (a*b)/GCD

Just divide the product by the GCD and you have the LCM.
 
Oh ok, so with 8, 19 for example you would just do 8x19 then divide that by GCD of 8, 19. The GCD of 8, 19 is 1 so the answer is just 152 right? This is great, I loved when I discovered Euclids algorithm for GCD and was really excited when I found it could do LCM as well. Thanks so much for your help, I appreciate it.
 
0-RWHP said:
Oh ok, so with 8, 19 for example you would just do 8x19 then divide that by GCD of 8, 19. The GCD of 8, 19 is 1 so the answer is just 152 right? This is great, I loved when I discovered Euclids algorithm for GCD and was really excited when I found it could do LCM as well. Thanks so much for your help, I appreciate it.

No worries. :smile:
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
Replies
7
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K