NEETJEE.guru
MathematicsJEE

Finding the HCF by Prime Factorisation

By Admin 16 November 2026 Updated 27 November 2026 8 min read 0 views
On this page· 13 sections
Overview

Source & scope. Class 7 Mathematics (Ganita Prakash, Part 2), Chapter 11 Finding Common Ground, Section 3.1 (corpus file gegp203, "Chapter 3 (Part 2)"). Next: Common Multiples and the LCM. Points beyond the NCERT text are marked "standard background".

Source & scope. Class 7 Mathematics (Ganita Prakash, Part 2), Chapter 11 Finding Common Ground, Section 3.1 (corpus file gegp203, "Chapter 3 (Part 2)"). Next: Common Multiples and the LCM. Points beyond the NCERT text are marked "standard background".

To find the HCF of two numbers by prime factorisation, write each number as a product of primes, pick every prime that appears in both, raise it to the lowest power in which it appears in either number, and multiply these together. For example, and share only the prime , with lowest power , so .

At a glance

  • Rule: HCF product of the common primes, each taken to its lowest power.
  • Example 1: , gives .
  • Example 2: , gives .
  • Why use it: it avoids listing every factor, which is slow and error-prone for big numbers.
  • Alternative: the division method divides by common primes step by step.

Learning objectives

  • Write a number as a product of prime powers.
  • Pick out the common primes of two numbers and their lowest powers.
  • Compute the HCF by multiplying the lowest common prime powers.
  • Carry out the division method and explain why it gives the same answer.
  • Decide when prime factorisation is faster than listing factors.

Prerequisite knowledge

The reader should know what factors and primes are, how to write a number as a product of primes (prime factorisation), and what the highest common factor (HCF) means: the greatest number that divides both given numbers.

Core explanation

How do you find the HCF using prime factorisation?

The HCF of two numbers is the largest number that is a factor of both. One way to find it is to list all factors of each number and pick the biggest one they share, but this becomes slow for large numbers. NCERT instead uses the prime factorisation of each number. The steps are:

  1. Write the prime factorisation of each number, using powers for repeated primes.
  2. Note the primes that appear in both factorisations.
  3. For each such prime, take the lowest power in which it appears.
  4. Multiply these prime powers. The product is the HCF.

A prime that appears in only one number is ignored, because it is not a factor of the other number.

Example: 12 and 16

Here and . The only prime in both is . Its powers are and , and the lowest is . So The prime occurs only in , so it does not enter the HCF.

Example: 84 and 108

Here and . The common primes are and . The lowest power of is in both, and the lowest power of is (from ). The prime is not shared. So

Why does taking the lowest power work? (standard background)

A number divides both and exactly when all its prime powers fit inside both factorisations. A prime power such as cannot divide , because has only two factors of . The most of each prime that fits in both numbers is therefore the smaller of its two powers, and multiplying these gives the largest common factor.

What if no prime is shared?

If two numbers have no prime factor in common, the product of "nothing" is , so the HCF is . Such numbers are called co-prime (standard background). For instance and share no prime, so .

The division method

NCERT also shows the division method: write the numbers side by side and repeatedly divide both by a common prime, as long as one exists. The HCF is the product of all the primes used as divisors. For and :

Divide by

No prime divides both and , so we stop. The HCF is , the same as before. Each divisor taken here is one shared copy of a prime, which is exactly the "common primes, as many times as they are shared" idea.

Key terms

  • HCF (highest common factor) — the largest number that divides each of the given numbers exactly.
  • Prime factorisation — writing a number as a product of primes, such as .
  • Common prime — a prime that appears in the factorisations of both numbers.
  • Lowest power — the smaller of the two exponents of a common prime.
  • Division method — repeated division of both numbers by common primes until none remains.
  • Co-prime numbers — numbers whose only common factor is (standard background).

Diagram / figure guidance

Draw two factor trees side by side, one for each number, ending in prime leaves. Circle the primes that occur in both trees and pair them up, so each pair shows one shared copy. Beside the trees draw a two-circle Venn diagram: the overlap holds the shared primes, and multiplying the overlap gives the HCF. A second panel can show the division-method table for and .

Worked example

Find the HCF of and by prime factorisation, and check with the division method.

Factorise each number: The common primes are , and . Take the lowest power of each: (since ), (since ) and . Then

Check by division: divide by to get and ; by again to get and ; by to get and ; by again to get and ; by to get and . Now no prime divides both. The HCF is , which matches.

Common misconceptions

  • "Take the highest power of each prime." That rule gives the LCM. For the HCF take the lowest power, since the result must divide both numbers.
  • "Include every prime that appears in either number." Only primes present in both numbers count; a prime in just one number cannot divide the other.
  • "If the numbers share no prime, there is no HCF." The HCF is then , because divides every number.
  • "The HCF can be larger than the smaller number." The HCF is a factor of both numbers, so it can never exceed the smaller one.
  • "Stopping the division method early is fine." Keep dividing until no prime divides both remaining numbers, or the HCF will be too small.

Exam application (JEE)

HCF problems appear in number-theory questions on divisibility, co-prime pairs and the structure of prime factorisation, which form the base for later topics like Euclid's algorithm and linear Diophantine equations. Typical JEE-style items give numbers directly in prime-power form, such as , and ask for the HCF or the number of common factors. Careless use of the highest instead of the lowest power is the commonest error.

Frequently asked questions

  • How do you find the HCF using prime factorisation? Write each number as a product of primes, take each common prime to its lowest power, and multiply these powers.
  • What is the HCF of 12 and 16? It is , because , and the lowest common power of is .
  • What is the HCF of 84 and 108? It is , from , using the shared primes and .
  • Is the division method different from prime factorisation? Both give the same HCF; the division method just peels off shared primes one at a time instead of writing full factorisations.
  • Why use prime factorisation instead of listing factors? Listing all factors of large numbers is slow and easy to get wrong, while prime factorisation needs only the primes.

Practice questions (original practice questions)

  1. What is the HCF of and ?
    • (a)
    • (b)
    • (c)
    • (d)
    • Answer: (b) — and , so the HCF is .
  2. The HCF of and is:
    • (a)
    • (b)
    • (c)
    • (d)
    • Answer: (b) — Take the lowest powers of the common primes and ; the primes and are not shared.
  3. The HCF of and is:
    • (a)
    • (b)
    • (c)
    • (d)
    • Answer: (b) — and share only .
  4. The HCF of and is:
    • (a)
    • (b)
    • (c)
    • (d)
    • Answer: (a) — and share no prime, so the HCF is .
  5. By the division method, and are divided successively by and then no common prime remains. Their HCF is:
    • (a)
    • (b)
    • (c)
    • (d)
    • Answer: (c) — ; also and give .

Quick revision

  • HCF is the product of the common primes, each to its lowest power.
  • , gives ; and give .
  • A prime that appears in only one number is left out.
  • No shared prime means .
  • The division method divides both numbers by common primes until none is left, then multiplies the divisors.

Related articles

NCERTMathematicsClass 7
Rate this article
No ratings yetSign in to rate

0 Comments

Sign in to join the discussion.

Finding HCF by Prime Factorisation — Class 7 Maths | NEETJEE.guru