LearnPracticeExamsMocks

Clear practice, useful explanations and steady progress for exam preparation.

Study

AptitudeLogical reasoningVerbal abilityTechnical aptitudeAI & modern dev

Explore

Practice libraryLocal progressExam patternsFor collegesSearchAbout AISEAFAQ

Trust & support

ContactReport a problemContent correctionsAccessibility
© 2026 AISEA. Built for focused learning.Privacy · Terms · Editorial policy
Home
›Quantitative Aptitude
›HCF and LCM
Aptitude
Number System
HCF and LCMPractice
Decimal Fractions
Simplification
Average
Problems on Ages
Percentage
Profit and Loss
Ratio and Proportion
Partnership
Time and Work
Pipes and Cisterns
Time and Distance
Problems on Trains
Boats and Streams
Alligation or Mixture
Simple Interest
Compound Interest
Permutation and Combination
Probability
Area (Mensuration)
Volume and Surface Area
Data Interpretation
Graphs
Tables
Bar Charts
Logarithm
Odd Man Out and Series
General Aptitude
Quadratic Equations

HCF and LCM questions with answers and concepts

Learn HCF and LCM with concept notes and worked examples, then practise focused questions with explained answers. Build accuracy for placement and competitive aptitude tests before trying timed mode.

91 practice questionsPage updated 11 Nov 2026Review metadata pendingPractice questions
Practise this concept

HCF (Highest Common Factor), also known as GCD (Greatest Common Divisor), is the largest number that divides two or more numbers without leaving a remainder. LCM (Lowest Common Multiple) is the smallest number that is a multiple of two or more numbers. HCF and LCM are fundamental concepts used extensively in problems involving divisibility, synchronization of cycles, comparison of fractions, and finding common periods in real-world scenarios such as scheduling and production.

Key formulas and rules

8 rules
1

Product Rule: HCF(a,b)×LCM(a,b)=a×b (valid for exactly two numbers)

2

HCF of two numbers: HCF(a,b)=LCM(a,b)a×b​

3

LCM of two numbers: LCM(a,b)=HCF(a,b)a×b​

4

HCF of fractions: HCF(ba​,dc​)=LCM(b,d)HCF(a,c)​ (fractions must be in lowest terms)

5

LCM of fractions: LCM(ba​,dc​)=HCF(b,d)LCM(a,c)​ (fractions must be in lowest terms)

6

Ratio property: If HCF(a,b)=h, then a=h×m and b=h×n, where gcd(m,n)=1

7

LCM from ratio: LCM(a,b)=h×m×n

8

Co-prime numbers: Two integers are co-prime iff HCF(a,b)=1

Key concepts

Prime Factorisation Method

Express each number as a product of prime factors. For HCF, take each common prime factor with its MINIMUM power (lowest exponent) across all numbers and multiply them. For LCM, take each prime factor that appears in ANY number with its MAXIMUM power (highest exponent) and multiply them. Example: 12=22 x 31, 18=21 x 32. HCF=21 x 31=6. LCM=22 x 32=36.

Division Method (Euclidean Algorithm)

For finding HCF of two numbers, divide the larger number by the smaller and note the remainder. Then divide the previous divisor by this remainder. Repeat until the remainder becomes 0. The last non-zero remainder's divisor is the HCF. This method is especially efficient for large numbers where prime factorisation is impractical. Example: HCF(48, 18): 48/18=2 remainder 12; 18/12=1 remainder 6; 12/6=2 remainder 0 -> HCF=6.

Relationship Between HCF, LCM and Product

For two positive integers a and b: HCF(a, b) x LCM(a,b)=a x b. This holds true for exactly two numbers. For three or more numbers, the product relationship does not generalise simply. Note: This formula is very useful for checking work and solving problems where HCF and LCM are given to find the original numbers.

HCF and LCM of Fractions

HCF of fractions = HCF of numerators / LCM of denominators. LCM of fractions = LCM of numerators / HCF of denominators. Crucial condition: All fractions MUST be reduced to lowest terms before applying the formulas. For example, for 2/4 and 5/6: simplifying 2/4 to 1/2 gives HCF(1,5)/LCM(2,6)=1/6 (correct). Applying the formula unreduced to 2/4 gives HCF(2,5)/LCM(4,6)=1/12 (incorrect, because 1/12 is not the largest common divisor).

Co-prime Numbers

Two numbers are co-prime (or relatively prime) if their HCF is 1. This means they share no common factor other than 1. Note: Co-prime numbers need not themselves be prime (e.g., 8 and 9 are co-prime). If two numbers are co-prime, their LCM is simply their product. Useful property: If a and b are co-prime, then HCF(a,b)=1 and LCM(a,b)=a x b.

Bells and Lights Problems

Classic applications of LCM: 'Bells problem' — multiple bells tolling at regular intervals will all toll together at intervals equal to their LCM. 'Lights/Flashlights problem' — lights flashing at different intervals will flash together at the LCM of their periods. 'Work scheduling' — if workers take different times to complete a task, the next simultaneous occurrence is at the LCM of their cycles.

Finding Numbers Given HCF and LCM

If HCF=h and LCM=L of two numbers, and one number is given as a, then the other number = (h x L) / a. This follows directly from HCF x LCM = Product. Example: HCF=6, LCM=60, one number = 12. Other number = (6 x 60) / 12 = 30. Check: HCF(12,30)=6, LCM(12,30)=60

Check the idea while it is fresh.Open a focused exercise without losing this article.Practise this concept

Worked examples

Example 1

Find the HCF and LCM of 12, 15, and 18 using prime factorisation.

Solution

Step 1: Prime factorise each number.

12=22×31
15=31×51
18=21×32

Step 2: Calculate HCF (lowest power of common prime factors).

HCF(12,15,18)=31=3

Step 3: Calculate LCM (highest power of all appearing prime factors).

LCM(12,15,18)=22×32×51=4×9×5=180

Answer: HCF=3 and LCM=180.

Example 2

Two numbers are co-prime and their product is 105. Find their LCM.

Solution

Step 1: Apply the fundamental HCF-LCM product identity.

HCF(a,b)×LCM(a,b)=a×b

Step 2: By definition of co-prime numbers, HCF(a,b)=1.

1×LCM(a,b)=105⟹LCM(a,b)=105

Answer: 105.

Example 3

Find the smallest number which when divided by 12, 16, 24, and 36 leaves a remainder of 7 in each case.

Solution

Step 1: Find the LCM of the divisors.

12=22×3,16=24,24=23×3,36=22×32
LCM(12,16,24,36)=24×32=16×9=144

Step 2: Add the required constant remainder.

N=LCM+r=144+7=151

Answer: 151.

Example 4

Find the greatest number that will divide 43, 91, and 183 so as to leave the same remainder in each case.

Solution

Step 1: Compute pairwise differences.

91−43=48
183−91=92
183−43=140

Step 2: Find the HCF of the pairwise differences.

48=24×3
92=22×23
140=22×5×7
HCF(48,92,140)=22=4

Answer: 4.

Representative solved questions

See the kind of question in this topic before opening the full practice set.

Question 1

The LCM of two numbers is 48. The numbers are in the ratio 2:3. Find the numbers.

  1. A.

    6 and 9

  2. B.

    8 and 12

  3. C.

    16 and 24

  4. D.

    12 and 18

Answer: C. 16 and 24

Explanation

Step 1: Let the numbers be 2x and 3x
Step 2: LCM=6x (since 2 and 3 are co-prime)
Step 3: 6x=48, so x=8
Step 4: Numbers are 2×8=16 and 3×8=24
Answer: 16 and 24

Sources and review notes

This is an AISEA-authored practice question.

Review status: accepted · Reviewed 2026-08-13 · structure and answer-key checks, editorial quality checks, duplicate screening

Question 2

The product of two numbers is 4107. If their HCF is 37, find the greater number.

  1. A.

    111

  2. B.

    148

  3. C.

    222

  4. D.

    185

Answer: A. 111

Explanation

Step 1: Let numbers be 37a and 37b where a and b are co-prime
Step 2: Product = 37a x 37b=1369ab=4107
Step 3: ab=4107/1369=3
Step 4: Since a and b are co-prime, and ab=3, possible pairs: (1,3) or (3,1)
Step 5: Numbers are 37×1=37 and 37×3=111
Step 6: Greater number = 111
Answer: 111

Sources and review notes

This is an AISEA-authored practice question.

Review status: accepted · Reviewed 2026-08-13 · structure and answer-key checks, editorial quality checks, duplicate screening

Question 3

Six bells commence tolling together and toll at intervals of 2, 4, 6, 8, 10 and 12 seconds. In 30 minutes, how many times do they toll together?

  1. A.

    16

  2. B.

    17

  3. C.

    14

  4. D.

    15

Answer: A. 16

Explanation

Step 1: Find LCM of 2, 4, 6, 8, 10, 12
Step 2: LCM=23 x 3 x 5=120 seconds = 2 minutes
Step 3: They toll together at 0, 2, 4, 6... minutes
Step 4: In 30 minutes: 30/2=15 intervals
Step 5: Number of times=15+1 (including start at 0) = 16
Answer: 16

Sources and review notes

This is an AISEA-authored practice question.

Review status: accepted · Reviewed 2026-08-13 · structure and answer-key checks, editorial quality checks, duplicate screening

Common mistakes and useful habits

  • Always verify: HCF is always <= each number, and LCM is always >= each number. If your HCF exceeds any of the numbers, something is wrong.
  • Memorise: HCF x LCM = Product (only valid for exactly two numbers). For three or more numbers, use prime factorisation directly.
  • The Euclidean Division Method (repeated division) is faster than prime factorisation for large numbers — use it in exams to save time.
  • When numbers are co-prime, their LCM equals their product. This shortcut frequently appears in competitive exams.
  • For fraction problems, remember: HCF of fractions = HCF(numerators) / LCM(denominators); LCM of fractions = LCM(numerators) / HCF(denominators). Always reduce all fractions to their lowest terms first before applying these formulas.
  • In 'find both numbers' problems given HCF and LCM, write numbers as HCF x m and HCF x n where m and n are co-prime, then use the LCM to find mn.

Ready to test your understanding?

Work through 91 questions with explanations after each answer.

Start practice
Next topic: Decimal Fractions →

Keep building the same skill family.

Number System

Divisibility, factors, prime numbers, unit digit

Open practice
Decimal Fractions

Operations with decimals and fractions

Open practice
Simplification

BODMAS, surds, indices

Open practice
On this page
Formulas and rulesKey conceptsWorked examplesRepresentative questionsCommon mistakesRelated practice

Suggest a correction