GCF of 5 and 7

The greatest common factor of 5 and 7 is 1 — they are relatively prime.

GCF is 1.

GCF of 5, 71
LCM35
Relatively prime?Yes

Step by step

  1. Prime factorize each number (table). The GCF uses each prime that appears in all of them, with its smallest power: no common prime, so the GCF is 1
  2. Check with the Euclidean algorithm on 5 and 7:
    7 = 1 × 5 + 2
    5 = 2 × 2 + 1
    2 = 2 × 1 + 0
    The last non-zero remainder is 1.
  3. Listing method: factors of 5: 1, 5; 7: 1, 7. The largest one they share is 1.
Numberpower of 5power of 7Prime factorization
5105
7017

Quick answer

5 = 5, 7 = 7. The primes they share, at the lowest power, multiply to 1.

The LCM of 5 and 7 is 35. 5/7 is already in simplest form.

Related

factors of 5, factors of 7; GCF calculator for any numbers.

GCF of 5 and 7: questions

What is the GCF of 5 and 7?

1.

How do you find the GCF of 5 and 7?

Prime factorize: 5 and 7; multiply the shared primes at their lowest power.