§ 100. Application of the Second Method to Three or More Numbers
Let us now suppose that it is required to find the greatest common divisor of three numbers, 78, 130, and 195. For this purpose, we shall first find the greatest common divisor of any two of them, for example, 78 and 130:
The greatest common divisor of these numbers is found to be 26. Now let us find the greatest common divisor of the number 26 and the third given number, 195:
The number 13 obtained in this way is the greatest common divisor of all three given numbers.
To explain why this must be so, let us imagine that the given numbers have been resolved into prime factors and that we are seeking the greatest common divisor by the first method. Then the number 26, being the greatest common divisor of 130 and 78, must contain all the prime factors common to these numbers; the number 13, being the greatest common divisor of 26 and 195, must contain all the prime factors common to these numbers. Consequently, the number 13 contains all the prime factors common to all three numbers: 130, 78, and 195; hence, 13 is the greatest common divisor of these numbers.
If, in addition to the three numbers mentioned, there were a fourth given number, we should have to find the greatest common divisor of 13 and this fourth number in the same way, and so on.