Step 1: Find the least common factor of two numbers and divide it by the least common factor to get two quotients.
Step 2: Then find out the minimum common factor of the two quotients, and divide it by the minimum common factor to get a new level of two quotients;
Step 3: and so on until both companies are prime numbers (that is, both companies have only one common factor1);
Step 4: Multiply all common factors, and the product is the greatest common factor of two numbers; Multiply all common factors with the last two quotients, and the product is the least common multiple of two numbers.
In primary school mathematics, two positive integers are multiplied, so both numbers are called factors of product, or divisors.
In fact, factors are generally defined as integers: let a be an integer and b be a non-zero integer. If there is an integer Q that makes A=QB, then B is a factor of A, denoted as B | A ... but some authors do not require B≠0.
For example, 2X6= 12, and the product of 2 and 6 is 12, so 2 and 6 are factors of 12. 12 is a multiple of 2 and also a multiple of 6.
3X(-9)=-27, 3 and -9 are all factors of -27. -27 is a multiple of 3 and -9.
Generally speaking, the integer A is multiplied by the integer B to get the integer C. Both the integer A and the integer B are called factors of the integer C. Conversely, the integer C is a multiple of the integer A and also a multiple of the integer B. ..
References:
Baidu encyclopedia-factors and multiples