0

Como calcular el mĂ­nimo comĂșn multiplo

Disculpen apenas estoy aprendiendo python y tengo de tarea calcular el MCM pero aĂșn tengo problemas alguien me podrĂ­a ayudar

10th Dec 2016, 10:31 PM
lalo hernandez
lalo hernandez - avatar
1 Answer
0
sorry for the English, but I don't know how to say it in Spanish... There is an elegant relationship between the LCM : least common multiple and the GCD : greatest common divisor : for every integer a and b : LCM(a,b) * GCD(a,b) = a * b. I leave you to implement this on your own. And Google Translate will help you translate my answer. I hope it helped you.
11th Dec 2016, 10:40 PM
Amaras A
Amaras A - avatar