HCF of 17 and 31

The highest common factor of 17 and 31 is 1.

Quick math

  • 17 = 17 (prime)
  • 31 = 31 (prime)
  • HCF = 1 (no shared primes)
HCF
1
LCM
527
Common factors
1
Coprime
Yes
Try your own numbers

What Is the HCF of 17 and 31?

The HCF of 17 and 31 is 1. It is the biggest whole number that divides both 17 and 31 with nothing left over. HCF stands for highest common factor, and it is the same number as the GCF and the GCD.

Handwritten notebook page working out the HCF of 17 and 31
The HCF of 17 and 31 worked out by hand: 1.

Method 1: List the Factors of 17 and 31

Write every factor of each number, then look for the ones in both lists.

The only common factor is 1, so HCF(17, 31) = 1 and the two numbers are coprime.

Method 2: Use Prime Factorization

Break each number into primes. Keep the primes that appear in both, at the lowest power, and multiply them.

These two numbers share no primes at all, so there is nothing to multiply and the HCF is 1.

Method 3: The Euclidean Algorithm

Divide the bigger number by the smaller, then divide the smaller by the remainder, and keep going until the remainder is 0. The last non-zero remainder is the HCF.

  1. 31 = 1 × 17 + 14
  2. 17 = 1 × 14 + 3
  3. 14 = 4 × 3 + 2
  4. 3 = 1 × 2 + 1
  5. 2 = 2 × 1 + 0

The last non-zero remainder is 1, so the HCF of 17 and 31 is 1. All three methods agree.

Check the Answer

Divide each number by 1: 17 ÷ 1 = 17 and 31 ÷ 1 = 31. Both are whole numbers. Dividing by 1 changes nothing, which is exactly what a coprime pair should do.

Simplify the Fraction 17/31

Because the HCF is 1, 17/31 is already in its simplest form.

Related Answer: LCM of 17 and 31

Multiply the numbers and divide by the HCF: (17 × 31) ÷ 1 = 527 ÷ 1 = 527. Try your own numbers in the HCF Calculator.

HCF of 17 and 31: FAQs

What is the HCF of 17 and 31?

The HCF of 17 and 31 is 1. It is the largest whole number that divides both 17 and 31 with no remainder.

What are the common factors of 17 and 31?

The only common factor of 17 and 31 is 1, so the two numbers are coprime.

What is the LCM of 17 and 31?

The LCM of 17 and 31 is 527. It comes from (17 × 31) ÷ 1 = 527 ÷ 1 = 527.

How do you simplify the fraction 17/31?

17/31 is already in simplest form, because the HCF of 17 and 31 is 1.