Several methods of finding the greatest common factor and the least common multiple

Several methods of finding the greatest common factor and the least common multiple

The method of finding the greatest common factor and the least common multiple: 1. Special cases: 1. Two numbers of multiple relation, the greatest common factor is the smaller number, and the least common multiple is the larger number. (for example, the greatest common factor of 6 and 12 is 6, and the least common multiple is 12.) 2. Two numbers of Coprime relation, the greatest common factor is 1, and the least common multiple is it