NCERT Solutions for Class 6 Maths Chapter 5: Prime Time — Complete Guide
Complete step-by-step solutions for all exercises in NCERT Class 6 Maths Chapter 5. Master factors, multiples, prime and composite numbers, prime factorisation, the Sieve of Eratosthenes, HCF and LCM with detailed explanations.

Why This Chapter Matters: Prime Numbers Are the Atoms of Mathematics
Just as atoms are the building blocks of all matter, prime numbers are the building blocks of all whole numbers. Every number greater than is either prime or can be broken down into a product of primes in exactly one way. This remarkable fact — called the Fundamental Theorem of Arithmetic — makes prime numbers one of the most important concepts in all of mathematics.
Chapter 5 of the NCERT Class 6 Maths textbook (2024-25 edition) takes you on a journey into the world of primes. You will learn what makes a number prime, how to find all primes up to any limit using the ancient Sieve of Eratosthenes, how to decompose numbers into their prime building blocks, and how to find the HCF and LCM of numbers.
Why should you care about prime numbers?
They simplify fractions. To reduce to its simplest form, you need the HCF of and . Finding the HCF requires prime factorisation. This is a skill you will use throughout your mathematical life.
They solve real-world problems. Questions like "When will two events that repeat at different intervals happen at the same time?" are LCM problems. Bus schedules, blinking lights, gear rotations — all involve LCM.
They secure the internet. Modern encryption (the technology that keeps your online banking and messaging secure) relies on the mathematical properties of very large prime numbers. The security of the entire internet depends on the fact that multiplying two large primes is easy, but factoring the result back into primes is extremely hard.
They are beautiful. Primes have fascinated mathematicians for over years. Questions about primes (like the Goldbach Conjecture and the Riemann Hypothesis) remain unsolved and carry million-dollar prizes.
In this comprehensive guide, we solve every exercise from Chapter 5, explain the underlying concepts in depth, highlight common mistakes, and provide exam strategies and practice problems.
Key Concepts and Definitions
Let us build a solid foundation with the key concepts of this chapter.
Factors and Multiples
A factor of a number divides it exactly (with no remainder). A multiple of a number is obtained by multiplying it by a whole number.
Example: Factors of : . Multiples of :
Key properties:
- is a factor of every number.
- Every number is a factor of itself.
- Every number is a multiple of itself and of .
- The number of factors is finite. The number of multiples is infinite.
- If is a factor of , then is a multiple of .
**Finding all factors of :** Check each number from to . If divides , then both and are factors. Stop when .
Example: Factors of :
Factors: — nine factors in total.
Prime and Composite Numbers
A prime number is a natural number greater than that has exactly two factors: and itself.
Examples:
A composite number is a natural number greater than that has more than two factors.
Examples:
Special cases:
- is neither prime nor composite. It has exactly one factor (itself).
- is the only even prime number. Every other even number is divisible by , so it has at least three factors ( and itself).
- is neither prime nor composite.
**How to check if is prime:** Test divisibility by all primes up to . If none divide , it is prime.
Example: Is prime? . Check primes up to : .
- (not divisible)
- (not divisible, digit sum , not divisible by )
- (not divisible)
- (not divisible)
So is prime.
The Sieve of Eratosthenes
The Sieve of Eratosthenes is an ancient algorithm (over years old!) for finding all prime numbers up to a given limit .
Steps:
1. Write all numbers from to .
2. Circle (the first prime). Cross out all multiples of ().
3. The next uncrossed number is (prime). Circle it. Cross out all multiples of (). ( are already crossed.)
4. Next uncrossed: (prime). Circle it. Cross out multiples of .
5. Continue until you have processed all primes up to .
6. All remaining uncrossed numbers are prime.
**Primes up to :** — that is primes.
**Primes up to :** There are primes. The additional ones beyond are: .
Prime Factorisation
Prime factorisation is the process of expressing a composite number as a product of its prime factors.
Every composite number can be expressed as a product of primes in exactly one way (ignoring the order). This is called the Fundamental Theorem of Arithmetic.
Method 1: Factor Tree
Start with the number. Split it into any two factors. Keep splitting until all factors are prime.
Example:
Method 2: Division Method
Divide by the smallest possible prime, repeatedly.
So .
HCF and LCM
HCF (Highest Common Factor): The largest number that divides two or more numbers exactly. Also called GCD (Greatest Common Divisor).
LCM (Lowest Common Multiple): The smallest positive number that is a multiple of two or more numbers.
Finding HCF using prime factorisation:
1. Find the prime factorisation of each number.
2. Take the lowest power of each common prime factor.
3. Multiply these together.
Finding LCM using prime factorisation:
1. Find the prime factorisation of each number.
2. Take the highest power of each prime factor (whether common or not).
3. Multiply these together.
Key relationship:
This is true for any two positive integers and .
Coprime numbers: Two numbers are coprime if their HCF is (they share no common factor other than ). Example: and are coprime because HCF.
Exercise 5.1 — Factors and Multiples
Exercise 5.1 builds your skills in finding factors and multiples of numbers. The systematic factor-pair approach is the key technique.
Solved Example 1: Finding All Factors
Problem: Find all factors of .
Solution:
Check which numbers from to divide :
We stop at because .
**Factors of :** — a total of factors.
Answer: .
Solved Example 2: Finding Common Factors
Problem: Find the common factors of and .
Solution:
Factors of :
Factors of :
Common factors (numbers appearing in both lists): .
The HCF is the largest common factor .
Answer: Common factors are . HCF .
Solved Example 3: Multiples and Common Multiples
Problem: Write the first multiples of and . Find their LCM.
Solution:
Multiples of :
Multiples of :
The first common multiple is .
Since and are coprime (HCF ):
Answer: LCM.
Solved Example 4: Perfect, Abundant, and Deficient Numbers
Problem: A number is perfect if the sum of its proper factors (all factors except itself) equals the number. Check if and are perfect numbers.
Solution:
**For :** Proper factors: . Sum . Perfect!
**For :** Proper factors: . Sum . Perfect!
For comparison, has proper factors with sum (this is abundant), and has proper factors with sum (this is deficient).
Answer: Both and are perfect numbers.
Solved Example 5: Number of Factors
Problem: Find the number of factors of .
Solution:
Step 1: Prime factorisation.
Step 2: Use the formula: if , then the number of factors is
Number of factors .
Step 3: Verify by listing:
— that is factors.
Answer: has factors.
Solved Example 6: Factor Pairs
Problem: Write all factor pairs of .
Solution:
Since , we stop after .
Factor pairs: .
Total factors: (each pair gives factors).
Answer: Five factor pairs: .
Solved Example 7: Word Problem on Factors
Problem: students need to be arranged in equal rows. In how many ways can this be done? List all possibilities.
Solution:
The number of rows must be a factor of . Each arrangement corresponds to a factor pair.
| Rows | Students per row |
|---|---|
There are ways.
Answer: ways to arrange students in equal rows.
Solved Example 8: Largest Factor Less Than the Number
Problem: What is the largest factor of that is less than ?
Solution:
The largest factor of any number (other than itself) is where is the smallest prime factor of .
Smallest prime factor of is .
Largest factor less than : .
Verify: , so is indeed a factor. The next largest factor would be , which is smaller.
Answer: .
Practice this topic on SparkEd — free visual solutions and AI coaching
Exercise 5.2 — Prime and Composite Numbers
Exercise 5.2 focuses on classifying numbers as prime or composite and exploring properties of prime numbers.
Solved Example 1: Identifying Prime Numbers
Problem: Which of the following are prime: ?
Solution:
- : Check primes up to : . Not divisible. Prime.
- : . Composite.
- : Check . Not divisible. Prime.
- : . Composite.
- : . Composite.
- : Check . Not divisible. Prime.
- : Check . Not divisible. Prime.
- : . Composite.
- : . Composite. (This one catches many students!)
- : Check . Not divisible. Prime.
Answer: are prime.
Solved Example 2: The Sieve of Eratosthenes up to 50
Problem: Use the Sieve of Eratosthenes to find all primes up to .
Solution:
Step 1: Write numbers to .
Step 2: . So we sieve using primes .
**Cross out multiples of ** (keep ): .
**Cross out multiples of ** (keep ): (others already crossed).
**Cross out multiples of ** (keep ): (others already crossed).
**Cross out multiples of ** (keep ): (others already crossed).
**Primes up to :** .
That is primes.
Answer: primes up to : .
Solved Example 3: Twin Primes
Problem: Twin primes are pairs of primes that differ by . Find all twin prime pairs up to .
Solution:
From our list of primes up to : .
Check consecutive primes for a difference of :
- :
- :
- :
- :
- :
- :
Answer: Twin prime pairs up to : .
Solved Example 4: Goldbach's Conjecture
Problem: Goldbach's Conjecture states that every even number greater than can be written as the sum of two primes. Verify this for .
Solution:
All verified!
Fun fact: This conjecture has been verified for all even numbers up to (that is followed by zeros!) but has never been mathematically proven. It remains one of the oldest unsolved problems in mathematics.
Answer: Verified for all given numbers.
Solved Example 5: Consecutive Primes
Problem: Can three consecutive natural numbers all be prime? What about two?
Solution:
Three consecutive numbers: Among any three consecutive numbers, one must be divisible by . The only multiple of that is prime is itself. So the only possibility is or .
is not prime. is not prime. So is the only pair of consecutive primes that are also part of a triple.
However, has as composite. No triple of consecutive numbers (all ) can be all prime.
Wait: are consecutive primes. But there are no three consecutive primes.
Actually: are primes but not consecutive numbers. are primes but not consecutive numbers (they differ by ).
Three consecutive natural numbers that are ALL prime: impossible (since one of every three consecutive numbers is divisible by , and if that number is , it is composite).
Two consecutive primes that are consecutive numbers: Only . For any , one of must be even (hence composite if ).
Answer: The only consecutive natural numbers that are both prime are and . No three consecutive numbers can all be prime.
Solved Example 6: Primes Between Two Numbers
Problem: How many prime numbers are there between and ?
Solution:
Check each odd number between and (even numbers are composite):
- : not divisible by . . Prime.
- . Composite.
- . Composite.
- : not divisible by . Prime.
- . Composite.
- : not divisible by . Prime.
- : not divisible by . Prime.
- . Composite.
- : not divisible by . Prime.
- . Composite.
Answer: There are primes between and : .
Exercise 5.3 — Prime Factorisation
Exercise 5.3 teaches you to express numbers as products of prime factors using the factor tree and division methods. This is the most important skill in the chapter — it is used to find HCF, LCM, simplify fractions, and much more.
Solved Example 1: Factor Tree Method
Problem: Find the prime factorisation of using a factor tree.
Solution:
Collecting all the prime factors:
Verification:
Answer: .
Solved Example 2: Division Method
Problem: Find the prime factorisation of using the division method.
Solution:
Reading the divisors: .
Verification:
Answer: .
Solved Example 3: Comparing Two Methods
Problem: Find the prime factorisation of using both methods.
Solution:
Factor tree:
Division method:
Both give: .
This confirms the Fundamental Theorem of Arithmetic: the prime factorisation is unique regardless of the method used.
Answer: .
Solved Example 4: Large Number Factorisation
Problem: Find the prime factorisation of .
Solution:
Verification:
Answer: .
Solved Example 5: Index Form
Problem: Express in prime factorisation (index form).
Solution:
Verification:
Number of factors: factors.
Answer: .
Exercise 5.4 — HCF and LCM
Exercise 5.4 brings together everything you have learned to find the HCF and LCM of numbers. These are among the most frequently tested concepts in exams.
Solved Example 1: HCF Using Prime Factorisation
Problem: Find the HCF of and .
Solution:
Prime factorisations:
HCF = product of common primes with lowest powers:
- Common prime : lowest power is
- Common prime : lowest power is
Verification: and .
Answer: HCF.
Solved Example 2: LCM Using Prime Factorisation
Problem: Find the LCM of and .
Solution:
Prime factorisations (from above):
LCM = product of all primes with highest powers:
- Prime : highest power is
- Prime : highest power is
Verification using the HCF-LCM relationship:
Answer: LCM.
Solved Example 3: HCF and LCM of Three Numbers
Problem: Find the HCF and LCM of , , and .
Solution:
Prime factorisations:
HCF: Take lowest powers of common primes:
- :
- :
LCM: Take highest powers of all primes:
- :
- :
Answer: HCF , LCM .
Solved Example 4: Word Problem — LCM Application
Problem: Two bells ring at intervals of minutes and minutes. If they ring together at PM, when will they next ring together?
Solution:
We need the LCM of and .
The bells will next ring together after minutes.
PM minutes PM.
Answer: They next ring together at PM.
Solved Example 5: Word Problem — HCF Application
Problem: A rectangular room measures m by m. What is the largest square tile that can cover the floor without cutting?
Solution:
The side of the largest square tile must divide both and exactly. This is the HCF.
The largest tile has side m.
Number of tiles needed: tiles.
Answer: Largest square tile has side m. Six tiles are needed.
Solved Example 6: Simplifying Fractions Using HCF
Problem: Reduce to its simplest form.
Solution:
Find HCF:
Divide numerator and denominator by :
Answer: .
Solved Example 7: Finding a Number from HCF and LCM
Problem: The HCF of two numbers is and their LCM is . If one number is , find the other.
Solution:
Using the relationship: .
Verify: HCF:
, .
HCF
LCM
Answer: The other number is .
Solved Example 8: Coprime Numbers
Problem: Are the following pairs coprime? (a) and (b) and (c) and
Solution:
Two numbers are coprime if their HCF is .
(a) , . No common prime factor. HCF . Coprime.
(b) , . No common prime factor. HCF . Coprime.
(c) , . Common factor: . HCF . Not coprime.
Answer: (a) and (b) are coprime; (c) is not coprime.
Common Mistakes and How to Avoid Them
Here are the most frequent errors in this chapter:
**1. Treating as Prime**
* Mistake: Listing as a prime number.
* Fix: is NEITHER prime NOR composite. A prime number must have exactly two distinct factors. has only one factor (itself).
**2. Forgetting Is Prime**
* Mistake: Saying "all primes are odd" and skipping .
* Fix: is the smallest prime and the ONLY even prime. Always include it.
3. Stopping Prime Factorisation Too Early
* Mistake: Writing and stopping (since and are not prime).
* Fix: Continue until ALL factors are prime: .
4. Confusing HCF and LCM
* Mistake: Taking highest powers for HCF or lowest powers for LCM.
* Fix: HCF = Highest Common Factor uses lowest powers of common primes. LCM = Lowest Common Multiple uses highest powers of all primes.
**5. Thinking Is Prime**
* Mistake: Assuming is prime because it looks prime.
* Fix: Always check! . Test divisibility by primes up to : check .
6. Using the Wrong Relationship
* Mistake: Writing HCF LCM .
* Fix: The correct relationship is HCF LCM .
7. Not Verifying the Answer
* Mistake: Finding HCF or LCM without checking.
* Fix: Verify: the HCF must divide both numbers. The LCM must be a multiple of both numbers.
Exam Strategy: Scoring Full Marks in Prime Time
Prime Time is one of the most important chapters for your exam. Here is your strategy:
For Prime Identification:
1. To check if is prime, test divisibility by all primes up to .
2. Know the primes up to by heart.
3. Remember: is NOT prime, is the only even prime.
For Prime Factorisation:
1. Use the division method — it is more systematic and less error-prone than factor trees.
2. Always start dividing by the smallest prime (), then , then , etc.
3. Continue until you reach .
4. Write the answer in index form: .
For HCF:
1. Find prime factorisations of both numbers.
2. Identify COMMON primes.
3. Take LOWEST powers.
4. Multiply.
5. Verify: HCF divides both numbers.
For LCM:
1. Find prime factorisations of both numbers.
2. List ALL primes (common and uncommon).
3. Take HIGHEST powers.
4. Multiply.
5. Verify: LCM is a multiple of both numbers.
For Word Problems:
- "Largest size," "greatest length," "maximum" HCF problem.
- "After how long," "at the same time," "together again" LCM problem.
Cross-Check: Always verify using HCF LCM .
Practice on SparkEd's Prime Time page.
Practice Problems — Try These Yourself
Problem 1: Find all factors of . How many factors does it have?
Problem 2: Is prime or composite? Justify your answer.
Problem 3: Find the prime factorisation of using the division method.
Problem 4: Find the HCF and LCM of and .
Problem 5: Three lights blink every , , and seconds. If they all blink together at time , after how many seconds will they next blink together?
Problem 6: A rope of m and another of m are to be cut into pieces of equal length. What is the greatest possible length of each piece?
Problem 7: Simplify using HCF.
Problem 8: The HCF of two numbers is and their LCM is . If one number is , find the other.
Problem 9: Find all twin prime pairs between and .
Problem 10: Using the Sieve of Eratosthenes, find how many primes are between and .
Problem 11: Are and coprime? Justify.
Problem 12: Express as a product of prime factors in index form.
Quick Revision Notes
Factors and Multiples:
- Factor divides exactly (finite count)
- Multiple is obtained by multiplying (infinite count)
- is a factor of every number
- Find factors by checking up to
Prime and Composite:
- Prime: exactly factors ( and itself)
- Composite: more than factors
- : neither prime nor composite
- : only even prime
**Primes up to :** ( primes)
Prime Factorisation:
- Every composite number = unique product of primes
- Use division method or factor tree
- Write in index form:
HCF (Highest Common Factor):
- Lowest powers of COMMON primes
- Use for: largest piece, greatest length, simplifying fractions
LCM (Lowest Common Multiple):
- Highest powers of ALL primes
- Use for: simultaneous events, "together again" problems
Key Relationship:
Number of factors: If , number of factors
Coprime: HCF (no common prime factor)
Boost Your Preparation with SparkEd
You have now worked through every exercise in Chapter 5 — from finding factors to the Sieve of Eratosthenes to computing HCF and LCM. These are skills you will use in almost every math chapter going forward.
Here is how SparkEd can help:
- Practice by Difficulty: On our Prime Time practice page, work through Level 1, 2, and 3 problems.
- AI Math Solver: Stuck on a factorisation or HCF/LCM problem? Paste it into our AI Solver for a detailed step-by-step solution.
- AI Coach: Get personalised recommendations on which concepts need more practice.
- Cross-Topic Connections: Prime Time connects to Number Play (divisibility rules) and Fractions (simplifying fractions using HCF). Explore all chapters on our programs page.
Head over to sparkedmaths.com and start practising today!
Practice These Topics on SparkEd
Frequently Asked Questions
Try SparkEd Free
Visual step-by-step solutions, three difficulty levels of practice, and an AI-powered Spark coach to guide you when you are stuck. Pick your class and board to start.
Start Practicing NowYou might also like

Areas Related to Circles Class 10: Sectors, Segments & Solved Problems
Master Areas Related to Circles Class 10 CBSE. Learn area of sector, segment, arc length, areas of combinations with for...

CBSE Class 10 Maths Important Questions 2026: Chapter-Wise with Solutions
CBSE Class 10 Maths important questions 2026 chapter-wise with solutions. Practice 2-3 key questions per chapter, markin...

Pair of Linear Equations Class 10: All 5 Methods with Solved Examples
Master Pair of Linear Equations Class 10 CBSE. Learn graphical, substitution, elimination, cross-multiplication methods,...