🔢 Number System, HCF & LCM, Divisibility
Day 1 | ⏱️ Part of 4-Hour Quant Block | TCS Interview Prep
📌 Subtopics
- Number System: Types of numbers (Natural, Whole, Integers, Rational, Irrational, Real, Complex)
- HCF (Highest Common Factor): Euclidean algorithm, prime factorization method
- LCM (Least Common Multiple): Division method, prime factorization
- Divisibility Rules: Rules for 2, 3, 4, 5, 6, 7, 8, 9, 11, and composite numbers
- Rational & Irrational Numbers
- Simple Arithmetic Operations
📖 Comprehensive Notes
1. Types of Numbers (Number System)
Numbers are classified based on their mathematical properties:
- Natural Numbers (): Counting numbers starting from ().
- Whole Numbers (): Natural numbers including zero ().
- Integers (): Whole numbers and their negative counterparts ().
- Rational Numbers (): Numbers that can be expressed as where and (e.g., , , ).
- Irrational Numbers: Numbers that cannot be expressed as . Their decimal expansions are non-terminating and non-recurring (e.g., , , ).
- Real Numbers (): The combination of rational and irrational numbers.
- Prime Numbers: Natural numbers with exactly two factors: and itself (e.g., ). is the only even prime.
- Composite Numbers: Natural numbers that have more than two factors (e.g., ).
2. Highest Common Factor (HCF)
https://www.geeksforgeeks.org/aptitude/hcf-and-lcm-aptitude-questions/ HCF (also called GCD - Greatest Common Divisor) of two or more numbers is the largest number that divides each of them without leaving a remainder.
- Prime Factorization Method: Express numbers as product of prime powers; multiply the lowest power of all common prime factors.
- Euclidean Algorithm (Division Method): Keep dividing the larger number by the smaller number until the remainder is . The last divisor is the HCF.
- HCF of Fractions:
Example: Find HCF of and . Common prime factors with lowest powers: .
3. Least Common Multiple (LCM)
LCM of two or more numbers is the smallest number that is a multiple of each of them.
- Prime Factorization Method: Multiply the highest power of all prime factors involved.
- LCM of Fractions:
- Core Property: For two numbers and :
Example: Find LCM of and . Highest power of all prime factors: .
4. Divisibility Rules
Used to quickly determine if a number is divisible by another without full division:
- Divisible by 2: Last digit is even ().
- Divisible by 3: Sum of digits is divisible by .
- Divisible by 4: Number formed by the last two digits is divisible by .
- Divisible by 5: Last digit is or .
- Divisible by 6: Divisible by both and .
- Divisible by 7: Double the last digit and subtract it from the remaining number; if the result is divisible by , the original number is too.
- Divisible by 8: Number formed by the last three digits is divisible by .
- Divisible by 9: Sum of digits is divisible by .
- Divisible by 10: Last digit is .
- Divisible by 11: The difference between the sum of digits at odd places and even places is either or a multiple of .
Example: Is divisible by and ?
- For : Last 3 digits (remainder 0). Yes.
- For : Sum of odd places (), sum of even places (). Difference: (not or a multiple of ). No.
🌐 Learning Resources
| Resource | Link |
|---|---|
| IndiaBIX — Number System | indiabix.com |
| GFG — Number System for TCS | geeksforgeeks.org |
| PrepInsta — HCF & LCM | prepinsta.com |
| Khan Academy — Factors & Multiples | khanacademy.org |
| Hitbullseye — Divisibility Rules | hitbullseye.com |
| Math is Fun — Number Types | mathsisfun.com |
✅ Practice Links
| Platform | Link |
|---|---|
| PrepInsta — TCS Number System Questions | prepinsta.com |
| IndiaBIX — HCF & LCM Problems | indiabix.com |
| GFG — Practice Problems | [geeksforgeeks.org](Quiz about LCM and HCF) |
| Testbook — TCS Number System | testbook.com |
📝 Key Formulas
HCF × LCM = Product of the two numbers
LCM(a, b) = (a × b) / HCF(a, b)
- Divisibility by 3: Sum of digits divisible by 3
- Divisibility by 4: Last 2 digits divisible by 4
- Divisibility by 8: Last 3 digits divisible by 8
- Divisibility by 11: Alternating sum of digits divisible by 11
🔗 Related Topics
- Equations — Solving equations often requires HCF/LCM concepts
- Ratios and Proportion — Ratios use divisibility and LCM
- Greedy Number Theory and Bit Manipulation — GCD/LCM algorithms in coding context
- Percentages — Percentage calculations build on number fundamentals
- Ages — Age problems reduce to linear equations with number properties