Concept 8 of 8Foundation
Watch on YouTubeVideo📌 Formula Sheet — Prime Time
Master these five formulas — they unlock most HCF/LCM olympiad problems.
HCF × LCM = a × b
Why: HCF takes each shared prime at its LOWEST power; LCM takes each prime at its HIGHEST power. Together they cover each prime exactly TWICE — which equals a × b.
⚠ Trap: This works for TWO numbers only. For three, HCF × LCM ≠ product.
Number of factors of N = (a+1)(b+1)(c+1)…
Why: A factor uses each prime 0 to a times (i.e., a+1 choices). Multiply choices across all primes.
⚠ Trap: Add 1 to each exponent BEFORE multiplying. Forgetting the +1 gives the wrong answer.
HCF via prime factors: take each COMMON prime at its LOWEST power
Why: A common factor must fit into BOTH numbers — so you can't take more of any prime than the smaller number has.
⚠ Trap: If a prime doesn't appear in both, it's NOT in the HCF.
LCM via prime factors: take each prime at its HIGHEST power
Why: An LCM must BE a multiple of each — so it needs at least the highest power of each prime that appears anywhere.
⚠ Trap: LCM ≥ largest of the numbers, never smaller.
Co-primes: HCF(a, b) = 1
Why: If two numbers share no primes, their only common factor is 1 (which divides everything).
⚠ Trap: Co-prime doesn't mean "both prime". 8 and 15 are co-prime but neither is prime.
Checking if N is prime: trial-divide up to √N
Why: If N had a factor > √N, it would pair with another < √N. So if no small prime divides it, none does.
⚠ Trap: Don't stop at √N rounded DOWN if √N is not a perfect integer — include the next whole number.
💡 Tip:'When do we meet again?' → LCM. 'Largest equal pieces' → HCF.
▶Prefer a video? Open YouTube search for “HCF LCM formula class 6 revision”↗