need more than one number an LCM..
The LCM of 5 and 8 is 40. I don't know the listing method.
If you use the "list the multiples" method of finding the LCM, it is likely that the lists and the size of the numbers on the list will increase as the numbers you are comparing get larger. If you learn the "prime factorization" method, you can avoid that.
It is: 18
33 multiples of 3 plus 12 multiples of 8 minus 4 multiples of both. 41%
1) listing method: { 1,2,3} rule method: {x| x is a positive whole number less than four} 2) listing method: { 2,4,6,8,....}. rule method: {x| x is a positive even number }
It is: 2
6 = 3,3 3= 3 3x3x3 = 9 LCM= 9
Using toString() method
That's not going to work. Multiples of 5 end in 5 or 0. With three numbers, one of those would have to repeat.
The best method is to add the numbers, using arithmetic.
Multiply the numbers together. Double that result. Triple it.
4, 8, 12, 16, 20, 245, 10, 15, 20, 25The LCM is 20.