GCF of 5 and 18

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

GCF is 1.

GCF of 5, 181
LCM90
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 18:
    18 = 3 × 5 + 3
    5 = 1 × 3 + 2
    3 = 1 × 2 + 1
    2 = 2 × 1 + 0
    The last non-zero remainder is 1.
  3. Listing method: factors of 5: 1, 5; 18: 1, 2, 3, 6, 9, 18. The largest one they share is 1.
Numberpower of 2power of 3power of 5Prime factorization
50015
181202 × 32

Quick answer

5 = 5, 18 = 2 × 32. The primes they share, at the lowest power, multiply to 1.

The LCM of 5 and 18 is 90. 5/18 is already in simplest form.

Related

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

GCF of 5 and 18: questions

What is the GCF of 5 and 18?

1.

How do you find the GCF of 5 and 18?

Prime factorize: 5 and 2 × 3²; multiply the shared primes at their lowest power.