Sign inContinue learning

Chapter guides › Class 9 maths

CBSE Class 9 maths · Chapter 11

Algorithms: HCF and LCM

What an algorithm is, column addition, divisors, the GCD (HCF) and LCM, making an algorithm faster, and the algorithms of Euclid and Āryabhaṭa.

  • Ganita Manjari Chapter 11
  • 4 interactive lessons
  • Endless practice
  • exam-style test
From the first lesson: What Is an Algorithm?
The chapter

About this chapter

Algorithms: HCF and LCM is Chapter 11 of CBSE Class 9 maths, called ‘The World of Algorithms’ in the new NCERT book Ganita Manjari. An algorithm is a list of exact steps that always gives the right answer and always stops.

The chapter looks closely at column addition, listing divisors, and finding the greatest common divisor (GCD, also called HCF) and the LCM. It asks how to make an algorithm faster, and ends with two famous GCD methods: Euclid’s by subtraction and Āryabhaṭa’s by division.

Formulas

Key results and formulas

GCD and LCM
gcd(m, n) × lcm(m, n) = m × n
Divisor pairs
Divisors of n come in pairs j and n/j, so testing j up to √n is enough.
Euclid’s subtraction algorithm
gcd(m, n) = gcd(n, m − n), repeated until a pair (g, 0).
Āryabhaṭa’s division algorithm
gcd(m, n) = gcd(n, m mod n), repeated until a pair (g, 0).
m mod n
The remainder when m is divided by n.
Column addition
With two numbers, the carry into the next column is always 0 or 1.
Formula card

Every formula of Algorithms: HCF and LCM on one card

A free revision card, made to be saved and shared. It covers:

  • GCD and LCM
  • Divisor pairs
  • Euclid’s subtraction algorithm
  • Āryabhaṭa’s division algorithm
  • m mod n
  • Column addition
Download the card

Free to share with friends and study groups.

Formula card for CBSE Class 9 Algorithms: HCF and LCM: GCD and LCM; Divisor pairs; Euclid’s subtraction algorithm; Āryabhaṭa’s division algorithm; m mod n; Column addition
How Numeratr teaches it

Learn, practise, test

Every chapter on Numeratr follows the same three steps.

  1. 1Learn

    Short stories and animated pictures explain each idea. After every idea, your child tries a question.

  2. 2Practise

    Practice that adapts from Easy to Challenge, by pattern, or ten at a time. Hints and a full solution for every question.

  3. 3Test

    An exam-style chapter test, sections A to E in the CBSE paper pattern. Fresh numbers every time.

📋Traps, and a report for parents. Every question answered wrongly is saved as a trap, and cleared when a similar one is solved alone. Parents see the week at a glance, how ready each chapter is for the exam, and the next three things to do.
Worked examples

Try three questions

From a starter to a challenge. Have a go before you open the answer.

Question 1Starter

gcd(12, 30) = 6. Use lcm(m, n) = m × n ÷ gcd(m, n) to find lcm(12, 30).

Show the answerHide the answer
Answer

60

  1. 12 × 30 = 360.
  2. 360 ÷ 6 = 60.
Question 2Board level

Use Āryabhaṭa’s algorithm, gcd(m, n) = gcd(n, m mod n), to find gcd(1001, 637).

Show the answerHide the answer
Answer

91

  1. (1001, 637) → (637, 364) → (364, 273) → (273, 91) → (91, 0).
  2. The last non-zero number is 91.
Question 3Challenge

How many steps does Euclid’s subtraction algorithm take for (100, 7), if each replacement of the pair is one step and it stops at a pair (g, 0)?

Show the answerHide the answer
Answer

19

  1. 14 subtractions of 7 take (100, 7) to (7, 2), since 100 − 98 = 2.
  2. Then (7, 2) → (5, 2) → (3, 2) → (2, 1) → (1, 1) → (1, 0): 5 more.
  3. 14 + 5 = 19 steps. Āryabhaṭa’s division method needs only 3.

Learn Algorithms: HCF and LCM the right way

Interactive lessons, endless practice that adapts, and tests with a fresh paper every time. Children earn NerdCoins for real effort, and parents get a clear report.

One chapter in every class is free.