Building Numbers from Primes

Let's break this down with a simple idea. Just as every word is built from letters, every composite number is built from prime numbers. A prime number has exactly two factors — 1 and itself (e.g. 2, 3, 5, 7, 11). A composite number has more than two factors (e.g. 6, 12, 100).

Take 12. We can write 12=2×2×312 = 2 \times 2 \times 3. Take 100. We can write 100=2×2×5×5100 = 2 \times 2 \times 5 \times 5. No matter how you start factorising, you always land on the same set of primes.

Fundamental Theorem of Arithmetic: Every composite number can be expressed (factorised) as a product of primes, and this factorisation is unique, apart from the order in which the prime factors occur.

This is why we call it 'fundamental' — primes are the building blocks of all numbers.

[Board Important] 'Unique apart from order' means 12=2×2×3=3×2×212 = 2\times2\times3 = 3\times2\times2 count as the same factorisation. The collection of primes (two 2's and one 3) never changes.

Prime Factorisation in Practice

The usual way to find the prime factorisation of a number is the factor tree or repeated division by the smallest possible prime.

Example: Factorise 3825

  • 3825=3×12753825 = 3 \times 1275
  • 1275=3×4251275 = 3 \times 425
  • 425=5×85425 = 5 \times 85
  • 85=5×1785 = 5 \times 17
  • 17 is prime.

Collecting everything: 3825=3×3×5×5×17=32×52×173825 = 3 \times 3 \times 5 \times 5 \times 17 = 3^2 \times 5^2 \times 17.

Writing the factorisation with exponents (powers) is the neat, standard form used in exams:

N=p1a1×p2a2××pkakN = p_1^{a_1} \times p_2^{a_2} \times \cdots \times p_k^{a_k}

where p1,p2,p_1, p_2, \dots are distinct primes.

Key Point: Always start dividing by the smallest prime (2), then 3, then 5, and so on. Keep going until you reach 1.

[Board Important] Write the final answer in exponential form, e.g. 3825=32×52×173825 = 3^2 \times 5^2 \times 17 — it is the expected presentation and is easier to use for HCF/LCM.

Factor tree of 140 branching into the primes 2, 2, 5, 7, showing 140 = 2^2 x 5 x 7 — the unique prime factorisation guaranteed by the Fundamental Theorem of Arithmetic.

Finding HCF and LCM by Prime Factorisation

Once you have prime factorisations, finding the HCF and LCM is quick.

HCF (Highest Common Factor)

Take each common prime factor, raised to its smallest (lowest) power appearing in the numbers, and multiply.

HCF=product of the smallest powers of common primes\text{HCF} = \text{product of the smallest powers of common primes}

LCM (Lowest Common Multiple)

Take every prime factor that appears (common or not), raised to its greatest (highest) power, and multiply.

LCM=product of the greatest powers of all primes\text{LCM} = \text{product of the greatest powers of all primes}

Example: HCF and LCM of 96 and 404

  • 96=25×396 = 2^5 \times 3
  • 404=22×101404 = 2^2 \times 101
  • Common prime: 2, smallest power 222^2. So HCF=22=4\text{HCF} = 2^2 = 4.
  • All primes at highest powers: 25×3×1012^5 \times 3 \times 101. So LCM=32×3×101=9696\text{LCM} = 32 \times 3 \times 101 = 9696.

Memory Aid: HCF → lowest powers of common primes. LCM → highest powers of all primes. (HCF is smaller, so it takes the smaller powers.)

[Board Important] A neat self-check: HCF×LCM=4×9696=38784=96×404\text{HCF} \times \text{LCM} = 4 \times 9696 = 38784 = 96 \times 404. ✓

The HCF–LCM Relationship

For any two positive integers aa and bb, there is a beautiful relationship:

HCF(a,b)×LCM(a,b)=a×b\text{HCF}(a, b) \times \text{LCM}(a, b) = a \times b

In words: the product of the HCF and LCM of two numbers equals the product of the numbers themselves.

This is extremely handy. If you know any three of the four quantities (HCF, LCM, aa, bb), you can find the fourth instantly.

Common Mistake: This relationship holds only for two numbers. For three or more numbers, HCF×LCM\text{HCF} \times \text{LCM} \neq product of the numbers. Be careful!

Quick application

If two numbers have HCF 9 and LCM 360, and one number is 45, the other is: other=HCF×LCMone number=9×36045=324045=72.\text{other} = \frac{\text{HCF} \times \text{LCM}}{\text{one number}} = \frac{9 \times 360}{45} = \frac{3240}{45} = 72.

[Board Important] This formula appears almost every year as a 1- or 2-mark question. Memorise it and the 'two numbers only' restriction.

Why 4n4^n Can Never End in Zero

The uniqueness of prime factorisation lets us answer 'can this number end in a certain digit?' questions without any calculation.

For a number to end in 0, it must be divisible by 10, i.e. it must have both 2 and 5 in its prime factorisation.

Example reasoning

Consider 4n4^n where nn is a natural number. Then 4n=(22)n=22n4^n = (2^2)^n = 2^{2n}. Its only prime factor is 2 — there is no 5. By the uniqueness of factorisation, no 5 can ever appear. Hence 4n4^n can never end in the digit 0.

Key Point: A number ends in 0 only if its prime factorisation contains at least one 2 and at least one 5. If either is missing, it cannot end in 0.

[Board Important] This is a classic exam question (e.g. 'Check whether 6n6^n can end in 0'). 6n=2n×3n6^n = 2^n \times 3^n — it has 2 but no 5, so it can never end in 0 either.

Solved Examples

Example 1: Prime factorisation

Express 156 as a product of its prime factors.

Solution:

  1. 156=2×78156 = 2 \times 78.
  2. 78=2×3978 = 2 \times 39.
  3. 39=3×1339 = 3 \times 13, and 13 is prime.
  4. So 156=2×2×3×13=22×3×13156 = 2 \times 2 \times 3 \times 13 = 2^2 \times 3 \times 13.

Final Answer: 156=22×3×13156 = 2^2 \times 3 \times 13.

Takeaway: Divide by the smallest prime each time, and stop at 1.

Example 2: HCF and LCM by prime factorisation

Find the HCF and LCM of 6 and 20 by the prime factorisation method.

Solution:

  1. 6=2×36 = 2 \times 3 and 20=22×520 = 2^2 \times 5.
  2. HCF = product of smallest powers of common primes = 21=22^1 = 2.
  3. LCM = product of greatest powers of all primes = 22×3×5=602^2 \times 3 \times 5 = 60.

Final Answer: HCF =2= 2, LCM =60= 60.

Takeaway: Check: 2×60=120=6×202 \times 60 = 120 = 6 \times 20. ✓

Example 3: HCF and LCM of three numbers

Find the HCF and LCM of 6, 72 and 120 using prime factorisation.

Solution:

  1. 6=2×36 = 2 \times 3; 72=23×3272 = 2^3 \times 3^2; 120=23×3×5120 = 2^3 \times 3 \times 5.
  2. HCF: common primes are 2 and 3, smallest powers 212^1 and 313^1. HCF =2×3=6= 2 \times 3 = 6.
  3. LCM: all primes at highest powers =23×32×5=8×9×5=360= 2^3 \times 3^2 \times 5 = 8 \times 9 \times 5 = 360.

Final Answer: HCF =6= 6, LCM =360= 360.

Takeaway: For three numbers, a prime must appear in all of them to count towards the HCF.

Example 4: Using the HCF × LCM relation

The HCF of two numbers is 23 and their LCM is 1449. If one of the numbers is 161, find the other.

Solution:

  1. Use HCF×LCM=a×b\text{HCF} \times \text{LCM} = a \times b.
  2. 23×1449=161×b23 \times 1449 = 161 \times b.
  3. b=23×1449161=33327161=207b = \dfrac{23 \times 1449}{161} = \dfrac{33327}{161} = 207.

Final Answer: The other number is 207207.

Takeaway: With three of the four quantities known, the fourth follows from the product relation (valid for two numbers).

Example 5: Can 4n4^n end in zero?

Check whether 4n4^n can end with the digit 0 for any natural number nn.

Solution:

  1. For a number to end in 0, it must be divisible by 10, i.e. contain both 2 and 5 as factors.
  2. 4n=(22)n=22n4^n = (2^2)^n = 2^{2n}, whose only prime factor is 2.
  3. By uniqueness of prime factorisation, 5 can never appear.
  4. So 4n4^n is never divisible by 5, hence never ends in 0.

Final Answer: No, 4n4^n can never end in 0.

Takeaway: 'Ends in 0' ⇔ divisible by 10 ⇔ has both a 2 and a 5 in its factorisation.

Example 6: LCM for circular motion / bells problem

Three bells ring at intervals of 9, 12 and 15 minutes. If they ring together at 8:00 a.m., at what time will they next ring together?

Solution:

  1. They ring together again after LCM(9, 12, 15) minutes.
  2. 9=329 = 3^2; 12=22×312 = 2^2 \times 3; 15=3×515 = 3 \times 5.
  3. LCM =22×32×5=4×9×5=180= 2^2 \times 3^2 \times 5 = 4 \times 9 \times 5 = 180 minutes =3= 3 hours.
  4. 8:008{:}00 a.m. +3+ 3 hours =11:00= 11{:}00 a.m.

Final Answer: They will next ring together at 11:0011{:}00 a.m.

Takeaway: 'Happen together again' problems use the LCM.

Example 7: HCF as the largest equal-share size

Two tankers contain 850 litres and 680 litres of petrol. Find the maximum capacity of a container that can measure the petrol of each tanker an exact number of times.

Solution:

  1. Required capacity =HCF(850,680)= \text{HCF}(850, 680).
  2. 850=2×52×17850 = 2 \times 5^2 \times 17; 680=23×5×17680 = 2^3 \times 5 \times 17.
  3. Common primes at smallest powers: 21×51×17=1702^1 \times 5^1 \times 17 = 170.

Final Answer: The maximum capacity is 170170 litres.

Takeaway: 'Largest container measuring both exactly' = HCF.

Example 8: Showing a number is composite

Explain why 7×11×13+137 \times 11 \times 13 + 13 is a composite number.

Solution:

  1. Factor out the common 13: 7×11×13+13=13×(7×11+1)=13×787 \times 11 \times 13 + 13 = 13 \times (7 \times 11 + 1) = 13 \times 78.
  2. Since the expression equals 13×7813 \times 78, it has factors other than 1 and itself.
  3. Hence it is composite (in fact 13×78=101413 \times 78 = 1014).

Final Answer: It is composite because it can be written as 13×7813 \times 78.

Takeaway: If you can factor an expression as a product of two integers each greater than 1, it is composite.

Example 9: Smallest number divisible by 1 to 10

Find the smallest number that is exactly divisible by every number from 1 to 10.

Solution:

  1. The required number is LCM(1, 2, 3, …, 10).
  2. Highest powers of primes up to 10: 232^3 (from 8), 323^2 (from 9), 55 (from 5 or 10), 77 (from 7).
  3. LCM =23×32×5×7=8×9×5×7=2520= 2^3 \times 3^2 \times 5 \times 7 = 8 \times 9 \times 5 \times 7 = 2520.

Final Answer: 25202520.

Takeaway: For 'divisible by all of these', take the LCM using the highest power of each prime in range.

Example 10: Smallest number leaving the same remainder

Find the smallest number which, when divided by 35, 56 and 91, leaves a remainder of 7 in each case.

Solution:

  1. A number leaving remainder 7 in each case is LCM(35,56,91)+7\text{LCM}(35, 56, 91) + 7.
  2. 35=5×735 = 5 \times 7; 56=23×756 = 2^3 \times 7; 91=7×1391 = 7 \times 13.
  3. LCM =23×5×7×13=8×5×7×13=3640= 2^3 \times 5 \times 7 \times 13 = 8 \times 5 \times 7 \times 13 = 3640.
  4. Required number =3640+7=3647= 3640 + 7 = 3647.

Final Answer: 36473647.

Takeaway: 'Same remainder rr on division by several numbers' = LCM of those numbers, plus rr.