The Greatest Common Factor

Read this text. Pay close attention to the section, "A Method for Determining the Greatest Common Factor". Complete the practice questions and check your answers.

The Greatest Common Factor (GCF)

Section Overview

  • The Greatest Common Factor (GCF)
  • A Method for Determining the Greatest Common Factor


The Greatest Common Factor (GCF)

Using this method we could obtain the prime factoriza­tions of 30 and 42.

30 = 2 ⋅ 3 ⋅ 5

42 = 2 ⋅ 3 ⋅ 7

Common Factor

We notice that 2 appears as a factor in both numbers, that is, 2 is a common factor of 30 and 42. We also notice that 3 appears as a factor in both numbers. Three is also a common factor of 30 and 42.

Greatest Common Factor (GCF)

When considering two or more numbers, it is often useful to know if there is a largest common factor of the numbers, and if so, what that number is. The largest common factor of two or more whole numbers is called the greatest common factor, and is abbreviated by GCF. The greatest common factor of a collection of whole numbers is useful in working with fractions (which we will do in [link]).


A Method for Determining the Greatest Common Factor

A straightforward method for determining the GCF of two or more whole numbers makes use of both the prime factorization of the numbers and exponents.

Finding the GCF

To find the greatest common factor (GCF) of two or more whole numbers:

  • Write the prime factorization of each number, using exponents on repeated factors.
  • Write each base that is common to each of the numbers.
  • To each base listed in step 2, attach the smallest exponent that appears on it in either of the prime factorizations.
  • The GCF is the product of the numbers found in step 3.


Sample Set A

Find the GCF of the following numbers.

12 and 18

  1. 12 = 2 ⋅ 6 = 2 ⋅ 2 ⋅ 3 = 2^2 ⋅ 3

    18 = 2 ⋅ 9 = 2 ⋅ 3 ⋅ 3 = 2 ⋅ 3^2

  2. The common bases are 2 and 3.

  3. The smallest exponents appearing on 2 and 3 in the prime factorizations are, respectively, 1 and 1 ( 2^1
    and 3^1), or 2 and 3.

  4. The GCF is the product of these numbers.
    2 ⋅ 3 = 6

The GCF of 30 and 42 is 6 because 6 is the largest number that divides both 30 and 42 without a remainder.


18, 60, and 72

  1. 18 = 2 ⋅ 9 = 2 ⋅ 3 ⋅ 3 = 2 ⋅ 3^2
    60 = 2 ⋅ 30 = 2 ⋅ 2 ⋅ 15 = 2 ⋅ 2 ⋅ 3 ⋅ 5 = 2^2 ⋅ 3 ⋅ 5
    73 = 2 ⋅ 36 = 2 ⋅ 2 ⋅ 18 = 2 ⋅ 2 ⋅ 2 ⋅ 9 = 2 ⋅ 2 ⋅ 2 ⋅ 3 ⋅ 3 = 2^3 ⋅ 3^2

  2. The common bases are 2 and 3.

  3. The smallest exponents appearing on 2 and 3 in the prime factorizations are, respectively, 1 and 1:
    2^1 from 18
    3^1 from 60

  4. The GCF is the product of these numbers.
    GCF is 2 ⋅ 3 = 6

Thus, 6 is the largest number that divides 18, 60, and 72 without a remainder.


700, 1,880, and 6,160

  1. 700 = 2 ⋅ 350 = 2 ⋅ 2 ⋅ 175 = 2 ⋅ 2 ⋅ 5 ⋅ 35
    = 2 ⋅ 2 ⋅ 5 ⋅ 5 ⋅ 7
    = 2^ 2 ⋅ 5^2 ⋅ 7
    1,880 = 2 ⋅ 940 = 2 ⋅ 2 ⋅ 470 = 2 ⋅ 2 ⋅ 2 ⋅ 235
    = 2 ⋅ 2 ⋅ 2 ⋅ 5 ⋅ 47
    = 2^ 3  ⋅ 47
    6,160= 2 ⋅ 3,080= 2 ⋅ 2 ⋅ 1,540= 2 ⋅ 2 ⋅ 2 ⋅ 770
    = 2 ⋅ 2 ⋅ 2 ⋅ 2 ⋅ 385
    = 2 ⋅ 2 ⋅ 2 ⋅ 2 ⋅ 5 ⋅ 77
    = 2 ⋅ 2 ⋅ 2 ⋅ 2 ⋅ 5 ⋅ 7 ⋅ 11
    = 2^ 4  ⋅  5   ⋅ 11

  2. The common bases are 2 and 5

  3. The smallest exponents appearing on 2 and 5 in the prime factorizations are, respectively, 2 and 1.

    2^2 from 700.
    5^1 from either 1,880 or 6,160.

  4. The GCF is the product of these numbers.
  5. GCF is 2^2 ⋅ 5 = 4 ⋅ 5 = 20

Thus, 20 is the largest number that divides 700, 1,880, and 6,160 without a remainder.


Source: Rice University, https://cnx.org/contents/XeVIW7Iw@4.6:SWxuKGDE@2/The-Greatest-Common-Factor
Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 License.