Question
Find the largest number that divides 245 and 1029 leaving remainder 5 in each case.
Solution — Step by Step
If the largest number divides 245 leaving remainder 5, that means divides exactly.
Similarly, divides exactly.
So we need the largest number that divides both 240 and 1024 — which is their HCF.
So .
(Since — a useful number to remember: .)
HCF = product of common prime factors with lowest powers.
Common prime factor: only .
Lowest power of 2: .
Check: remainder ✓ (since , and )
Check: remainder ✓ (since , and )
The largest number is 16.
Why This Works
When a number divides leaving remainder , it means is perfectly divisible by . So is a factor of .
We subtract the remainder from each number to “clean up” the remainder, leaving values that are exact multiples of . The largest such is the HCF of those cleaned-up values.
This technique extends to three or more numbers — subtract the remainder from each and find HCF of all the results.
Alternative Method — Euclidean Algorithm
Instead of prime factorisation, we can find HCF(240, 1024) using repeated division (Euclid’s algorithm):
When remainder = 0, the last non-zero remainder is the HCF. So HCF = 16. Same answer, different path.
For CBSE board exams, the Euclidean algorithm is faster when numbers are large. Prime factorisation is more transparent and easier to write up in a step-by-step solution for full marks.
Common Mistake
Many students forget to subtract the remainder before finding HCF. They directly compute HCF(245, 1029) = 7, which is wrong. Always subtract the given remainder first: HCF(245 − 5, 1029 − 5) = HCF(240, 1024) = 16.