Imagine you and your friends are playing with toys.
Now, you want to share them equally so that:
But wait...
What if the toys don't divide equally?
That's where HCF and LCM come to the rescue like superheroes!
Before we learn HCF and LCM, we need to revise some basic ideas.
These will make learning super easy and fun!

A Prime Number is a number that:
Can be divided by only 2 numbers : 1 and itself
That means...
❌ It cannot be broken into smaller equal groups (except 1 and itself)
Examples: 2,3,5,7,11,13...
It is important to note that:
•❌1 is not a prime number
⭐2 is SPECIAL!
- 2 is the only even number which is prime.
A Composite Number is a number that:
Examples: 4,6,8,9,10,12,14.....
Composite Numbers can be:
So, not all composite numbers are even!
⭐ Special Case: Number 1


Follow these steps:
The numbers left are Prime Numbers!
Thus, prime numbers from 1 to 100 are:
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97.
Two Prime numbers which differ by 2 are called twin primes, e.g., (3, 5) (5, 7) (11, 13 ) (17, 19)
Such numbers will form a pair of consecutive odd numbers.
A set of three prime numbers differing by 2 form a prime triplet, e.g., (3, 5, 7)
(3, 5, 7) is the only prime triplet.
Two numbers are co-primeif:Important:
- They have only 1 as common factor.
Examples: (2, 3) (3, 4) (4, 5) (3, 7) (4, 9)
- Co-prime numbers don't need to be prime!
Divisibility rules help us to find whether a number divides another number completely without performing actual division.

Try yourself: Which rule can be used to determine if a number is divisible by 2?
🤔 What are Factors?🤔 What are Multiples?
A multiple is the result when we multiply a number.
Example:
Even Numbers: Numbers divisible by 2 are called even numbers.
For example, 2, 4, 6, 8, ........ are even numbers.
Odd Numbers: Numbers not divisible b 2 are called odd numbers
For example, 1, 3, 5, 7, 9, ........ are odd numbers.

Common Factors = 1, 2, 4, 8, 16
EduRev Tips:
A number:
- With only 2 factors → Prime
- With more than 2 factors → Composite
- ⭐ 1 → neither prime nor composite
Hence, the H.C.F. or the highest common factor of two or more than two numbers is the greatest among all their common factors. It is the biggest number that can divide two or more numbers completely, without leaving any remainder.
The highest common factor H.C.F. is also called the Greatest common divisor (G.C.D.).
Simple Understanding:
Example 1: Find all the common factors of 24 and 40
Sol:Common factors = 1, 2, 4, 8
Example 2: Find the H.C.F. of 18, 45 and 63.
Sol:Common factors = 1, 3, 9
H.C.F. = 9 (biggest one)
Example 3: Find the H.C.F. of 15 and 28.
Sol:Common factor = 1
H.C.F. = 1
EduRev Tips: Two numbers are said to be co-prime, if their H.C.F. is 1
Example: 15 and 28
Properties of H.C.F
Common multiples = 6, 12...Quick Summary:
- H.C.F. → Biggest common factor
- Co-prime → H.C.F. = 1
- Common multiples → Same multiples in lists
It is also called Least Common Multiple.
Simple Understanding:
Example 1: Find the first two common multiples of:
(a) 4 and 10
(b) 5, 6 and 15.
(a)
Common = 20, 40
(b)Common = 30, 60
Example 2: Find the L.C.M. of 12 and 18.
Multiples of 12 → 12, 24, 36, 48...
Multiples of 18 → 18, 36, 54...
Common = 36, 72...
L.C.M. = 36
Properties of L.C.M
When we multiply a number again and again,
we write it in short form
Example:
2 × 2 × 2 = 2³

In 32, 3 is called the base and 2 is called the exponent or index or power.
Example 1: Write in the exponential form:
(a) 5 × 5 × 5 × 5 × 5 × 5
(b) 8 × 8 × 8 × 8 × 9 × 9
(a) 5 × 5 × 5 × 5 × 5 × 5 = 56
(b) 8 × 8 × 8 × 8 × 9 × 9 = 84 × 92.
Example 2: Write in the product form:
(a) 87
(b) 63 × 114
(a) 87 = 8 × 8 × 8 × 8 × 8 × 8 × 8
(b) 63 × 114 = 6 × 6 × 6 × 11 × 11 × 11 × 11.
EduRev Tips: Don't mix them!
❌ 2³ ≠ 3²
When we write a number as a product of only prime numbers,it is called Prime Factorisation.
Simple Idea
Example:
Prime Factorisation of 54
54 = 2 × 27
= 2 × 3 × 9
= 2 × 3 × 3 × 3
Final Answer:
54 = 2 × 3 × 3 × 3
A Factor Tree helps us break numbers step-by-step
Example 1 : Factor Tree of 56
We proceed as follows:
Hence, the prime factorisation of 56 is
= 2 × 2 × 2 × 7 = 23 × 7.
Example 2 : Draw a factor tree of 96.
Thus, the prime factorisation of 96 is
= 2 × 2 × 2 × 2 × 2 × 3 = 25 × 3.
Find prime factorisation of 36 🤔
Ans: 2² × 3²
🤔 How to Find H.C.F. using Prime Factorisation?
Steps are very simple:
Example 1: Find the H.C.F. of 28 and 72 by the prime factorisation method.
Step 1: Prime Factorisation
Step 2: Common Factors
- 28 = 2² × 7
- 72 = 2³ × 3²
Only 2 is common
Step 3: Take Smallest Power
2² (because 2² < 2³)
Final Answer:
H.C.F. = 2² = 4
Example 2: Find the H.C.F. of 14, 84 and 105.
Step1: Resolving the given numbers into prime factors, we get.
14=2 × 7
84=2² × 3 × 7
105=3 × 5 × 7
Step 2: Common FactorsOnly 7 is common in all
Step 3: Smallest Power
7¹
Final Answer:
H.C.F. = 7
🤔 How does this method work?
Just keep dividing until remainder becomes 0
Steps:
Example 1: Find the H.C.F. of 144, 180 and 324.
Step 1: Find H.C.F. of 144 and 180
Using division method → H.C.F. = 36
Step 2: Now find H.C.F. of 36 and 324
324 ÷ 36 = 9 (no remainder)
Final Answer:
H.C.F. = 36
Find H.C.F. of 20 and 30 using prime factorisation 🤔
Ans: 10
🤔 How to Find L.C.M. using Prime Factorisation?
Follow these easy steps:
Example 1: Find the L.C.M. of 15 and 40, using the prime factorisation method.
Step 1: Prime Factorisation
Step 2: Take All Factors
- 15 = 3 × 5
- 40 = 2³ × 5
2, 3, 5
Step 3: Take Highest Powers
2³,3,5
Final Answer:
L.C.M. = 2³ × 3 × 5
= 8 × 3 × 5
= 120
Example 2: Find the L.C.M. of 16, 48 and 64.
Step1:Resolving each of the given numbers into prime factors, we get
16 = 24 48 = 2⁴ × 3 64 = 26 2 × 2 × 2
Step2: Take All Factors
2 and 3
Step 3: Highest Powers
2⁶ and 3
Final Answer:
L.C.M. = 2⁶ × 3
= 64 × 3
= 192
We divide numbers step-by-step using common divisors
Steps:
Example 1: Find the LCM of 18, 36, and 42 by long division method.
Divide step-by-step:
- Divide by 2
- Then 3
Final Answer:
- Then 3
L.C.M. = 2 × 3 × 3 × 2 × 7
= 252
Find L.C.M. of 6 and 8 🤔
Ans: 24
For two given numbers, we have.


Easy Way to Remember:
⚖️ Like a balance!
Example 1: The H.C.F. of two numbers is 52 and their L.C.M is 312. If one of the numbers is 104, find the other.
It is given here that:
H.C.F. = 52, L.C.M. = 312 and one number = 104
The other number
Hence, the other number is 156.
Example 2: The product of two numbers is 867 and their HCF is 17. Find their L.C.M.
We know that:
Hence, the LCM of given numbers is 51.
| 1. What's the difference between HCF and LCM and why do we need both? | ![]() |
| 2. How do I find the HCF of two numbers using the division method? | ![]() |
| 3. What's the easiest way to calculate LCM when numbers are really large? | ![]() |
| 4. Can HCF and LCM of two numbers ever be the same? | ![]() |
| 5. Why do I need to find HCF and LCM for word problems involving real situations? | ![]() |