Number System — Extra Practice
Competitive Mathematics · Number System
Number system is the foundation of maths. HCF-LCM, averages, interest, time and work — every chapter works on numbers. The checks you learn here (“does 9 divide this?”, “what is its units digit?”) give answers in seconds with no calculator.
Every idea here is first explained in plain words, then turned into a rule, then shown in solved examples, and finally given to you as questions — from easy to hard.
- Read — the idea first, the rule second.
- Study the solved example — ask “why?” at every step.
- Try it yourself — solve on paper first, then pick an option. If stuck, take the hint, then the solution.
Numbers and their places
How a number is written and read, and what the families of numbers (natural, whole, integers, prime…) are called.
Digits, place value and face value
The worth of each digit depends on where it sits — the basis of the whole number system.
We use only ten symbols — 0 to 9 — called digits. By placing them in different positions we build every number, small or big. The nine digits other than 0 are called significant digits.
Position matters: in 52 the 5 means fifty, but in 25 the same 5 means just five. Each place is worth ten times the one to its right: ones (1), tens (10), hundreds (100), thousands (1,000), ten thousands (10,000), lakhs (1,00,000), ten lakhs, crores, ten crores.
| crores | ten lakhs | lakhs | ten thousands | thousands | hundreds | tens | ones | |
|---|---|---|---|---|---|---|---|---|
| Digit | 6 | 0 | 7 | 2 | 5 | 9 | 3 | 8 |
| Worth | 6,00,00,000 | 0 | 7,00,000 | 20,000 | 5,000 | 900 | 30 | 8 |
The table above takes apart the number 6,07,25,938. In the Indian system we put commas after the first three digits from the right and then after every two digits (thousand, lakh, crore).
| Unit | Indian system | International system |
|---|---|---|
| 1,00,000 | 1 lakh | 100 thousand |
| 10,00,000 | 10 lakh | 1 million |
| 1,00,00,000 | 1 crore | 10 million |
| 1,00,00,00,000 | 100 crore | 1 billion |
- 1Face value is the digit itself: 7 for the digit 7 and 5 for the digit 5.
- 2From the table: 7 sits in the lakhs place, so its place value = 7 × 1,00,000 = 7,00,000.
- 35 sits in the thousands place: 5 × 1,000 = 5,000.
- 1Split the pages into groups by how many digits their numbers have.
- 21–9: 9 pages × 1 digit = 9.
- 310–99: 90 pages × 2 digits = 180.
- 4100–120: 21 pages × 3 digits = 63.
- 5Total = 9 + 180 + 63 = 252.
Kinds of numbers
The families of numbers — which sits inside which — and the special roles of 0, 1 and 2.
The best way to remember the names is to picture boxes inside boxes: natural numbers sit inside whole numbers, whole numbers inside integers, integers inside rational numbers, and rational numbers inside real numbers.
| Kind | Meaning | Examples |
|---|---|---|
| Natural | Counting numbers; start from 1 | 1, 2, 3, … |
| Whole | Natural + zero | 0, 1, 2, 3, … |
| Integers | Whole + negatives | …, −2, −1, 0, 1, 2, … |
| Even | Divisible by 2; units digit 0, 2, 4, 6, 8 | 2, 4, 10, 36 |
| Odd | Not divisible by 2; units digit 1, 3, 5, 7, 9 | 1, 7, 15, 49 |
| Prime | Divisible only by 1 and itself (greater than 1) | 2, 3, 5, 7, 11, 13 |
| Composite | Has factors other than 1 and itself | 4, 6, 9, 15 |
| Co-prime | Two numbers whose HCF is 1 | (8, 15), (14, 25) |
| Rational | Can be written as (); decimal ends or repeats | , 0.25, |
| Irrational | Cannot be written as ; decimal neither ends nor repeats | , , |
- 0 is not a natural number but is a whole number. It is neither positive nor negative.
- 1 is neither prime nor composite. The smallest prime is 2, and it is the only even prime.
- Co-prime numbers need not be prime: (8, 15) are co-prime though both are composite.
- is only an approximation of ; itself is irrational.
- 1First simplify: (a whole number), whereas is not a perfect square.
- 2(a) Natural (1, 2, 3, …): 7, 12, 1 and . Not 0 or −3.
- 3(b) Prime: only 7. (12 and 4 are composite; 1 is neither.)
- 4(c) Irrational: only .
Divisibility rules
Find out without long division whether a number is divisible by 2, 3, 4, 5, 6, 8, 9, 11… and handle remainder questions.
The tests from 2 to 11
Each divisor has its own quick test — look at the last digits, or add the digits.
These tests work because some of 10, 100, 1000… divide exactly by the divisor. 100 is divisible by 4, so for 4 only the last two digits matter.
| Divisor | Test | Example |
|---|---|---|
| 2 | Last digit even (0, 2, 4, 6, 8) | 4,386 ✓ |
| 3 | Digit sum divisible by 3 | 2,145: 2+1+4+5 = 12 ✓ |
| 4 | Last two digits divisible by 4 (or 00) | 7,316: 16 ✓ |
| 5 | Last digit 0 or 5 | 8,435 ✓ |
| 6 | Divisible by both 2 and 3 | 4,038: even, digit sum 15 ✓ |
| 8 | Last three digits divisible by 8 (or 000) | 71,368: 368 ✓ |
| 9 | Digit sum divisible by 9 | 6,309: 6+3+0+9 = 18 ✓ |
| 10 | Last digit 0 | 4,570 ✓ |
| 11 | Difference of the sums of digits in odd and even places is 0 or a multiple of 11 | 3,729: (9+7) − (2+3) = 11 ✓ |
Combined tests: a number divisible by two co-prime numbers is divisible by their product. So 6 = 2×3, 12 = 3×4, 15 = 3×5, 18 = 2×9, 24 = 3×8, 36 = 4×9. Careful: you cannot test 12 with 2 and 6 (they are not co-prime) — use 3 and 4.
Test for 7: double the last digit and subtract it from the rest of the number; if the result is 0 or a multiple of 7 the number is divisible by 7 (repeat if needed). Test for 13: add four times the last digit to the rest. A neat fact: , so every six-digit number of the form (like 482,482) is divisible by all three.
- 14: last two digits 96; 96 ÷ 4 = 24 ✓ — divisible.
- 29: digit sum 7+2+8+5+9+6 = 37; this is not a multiple of 9 ✗.
- 311: digits in odd places from the right add to 13, in even places to 24; difference = 11 — 0 or a multiple of 11 ✓.
- 1Rule: double the last digit and subtract it from the rest.
- 28043: rest 804, last digit 3 → 804 − 2×3 = 798.
- 3798: rest 79, last digit 8 → 79 − 2×8 = 63.
- 463 = 7 × 9, so it is divisible by 7. Check: 8,043 = 7 × 1149.
Making a number divisible by adding or subtracting
The “least number to add or subtract” and “greatest or smallest n-digit number” questions.
Dividing a number by a divisor leaves a remainder. That remainder tells you how far the number is from the multiple just below it and the multiple just above it. To reach the multiple below, subtract the remainder; to reach the one above, add (divisor − remainder).
- divisor
- remainder
- 17,382 ÷ 19: quotient 388, remainder 10.
- 2(b) Subtract: just the remainder = 10. Check: 7,372 = 19 × 388.
- 3(a) Add: 19 − 10 = 9. Check: 7,391 = 19 × 389.
Greatest and smallest n-digit numbers
The greatest n-digit number is 99…9 (for 4 digits, 9,999) and the smallest is 100…0 (1,000). Use the subtract rule on the greatest; the add rule on the smallest.
Rules for remainders
Finding remainders without dividing, and how remainders behave when you add or multiply.
Every division can be written as dividend = divisor × quotient + remainder, and the remainder is always between 0 and divisor−1. The divisibility tests double as remainder tests: digit sum for 9, last two digits for 4, last three for 8, alternating sum for 11.
- 1487: digit sum 19 → remainder 1.
- 2623: digit sum 11 → remainder 2.
- 3Remainder of the product = remainder of (1 × 2) ÷ 9 = 2 ÷ 9 → 2.
- 4Check: 487 × 623 = 3,03,401; 3,03,401 ÷ 9 leaves 2 ✓
- 1From the right alternate + and −: 6 − 5 + 4 − 3 + 2 − 1.
- 2The result is 3.
- 33 ÷ 11 leaves 3, so 1,23,456 also leaves 3.
- 4Check: 1,23,456 = 11 × 11223 + 3.
The units digit
Finding the units digit of big products and powers without computing them.
Units digit of a product
When multiplying, the units digit depends only on the last digits.
When two numbers are multiplied, the units digit of the product depends only on the units digits of the two numbers — the other digits go into tens and above. So take only the last digit of each number, multiply, and keep only the last digit at every step.
- 1Last digits: 3, 6, 7.
- 23 × 6 = 18 → last digit 8.
- 38 × 7 = 56 → last digit 6.
Units digit of a power
The units digit of runs in a short cycle — know the cycle length and any power becomes easy.
Keep raising a number to higher powers and the units digit changes, then starts repeating after a few steps. Example: , (units 9), (units 3), (units 1), and ends in 7 again. So 7 has a cycle of four: 7, 9, 3, 1.
| Last digit of base | Cycle as the power grows | Cycle length |
|---|---|---|
| 0 | 0 | 1 |
| 1 | 1 | 1 |
| 2 | 2, 4, 8, 6 | 4 |
| 3 | 3, 9, 7, 1 | 4 |
| 4 | 4, 6 | 2 |
| 5 | 5 | 1 |
| 6 | 6 | 1 |
| 7 | 7, 9, 3, 1 | 4 |
| 8 | 8, 4, 2, 6 | 4 |
| 9 | 9, 1 | 2 |
Method: divide the power by the cycle length (1, 2 or 4). If the remainder is 1, 2 or 3, take that position in the cycle; if the remainder is 0, take the last digit of the cycle. Since 1, 2 and 4 all divide 4, dividing the power by 4 works in every case.
- 1Only the units digit matters, so replace the base by 3: .
- 2Cycle of 3: 3, 9, 7, 1 (length 4).
- 3100 ÷ 4 = 25, remainder 0 → the last digit of the cycle.
- 4The units digit is 1.
- 1Cycle of 7: 7, 9, 3, 1 (length 4).
- 253 ÷ 4 = 13, remainder 1.
- 3Remainder 1 → position 1 of the cycle = 7.
Primes and factors
Spotting primes, prime factorisation, and counting and adding factors.
Recognising primes
Decide whether a number is prime by testing only a few small primes.
A prime has exactly two factors: 1 and itself. There are 25 primes up to 100:
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97
The shortcut: to test whether is prime, divide by every prime up to . If none divides it, is prime. Why? If has a factor, its partner factor is at most .
- 1 and , so and . For both it is enough to test 2, 3, 5, 7, 11, 13, 17.
- 2289 ÷ 17 = 17 exactly, so 289 = 17 × 17, not prime.
- 3307: 2 (odd), 3 (digit sum 10), 5 (ends in 7), 7 (7×43 = 301, rem 6), 11 (alternating sum 7−0+3 = 10), 13 (13×23 = 299, rem 8), 17 (17×18 = 306, rem 1) — none divides it.
- 4So 307 is prime.
Factors: counting and adding
Break a number into primes and count its factors, add them, or count special kinds of factors.
Every number can be written as a product of primes in exactly one way, e.g. . That form tells us everything about its factors: each factor picks a power of 2 from 0 to 3 (4 choices), a power of 3 from 0 to 2 (3 choices) and a power of 5 from 0 to 1 (2 choices).
- Even factors need the power of 2 to be at least 1: . Odd factors have power 0: .
- A number with an odd count of factors is a perfect square (all its prime powers are even).
- Ways to write as a product of two factors = (total factors) ÷ 2 (when is not a perfect square).
- 1Prime factorisation: 1,176 = .
- 2Factors = (3+1) × (1+1) × (2+1) = 24.
- 3Sum = (1+2+4+8) × (1+3) × (1+7+49) = 15 × 4 × 57 = 3,420.
- 1Divide repeatedly by the smallest prime: 840 ÷ 2 = 420; 420 ÷ 2 = 210; 210 ÷ 2 = 105.
- 2105 is odd; digit sum 6 → divide by 3: 105 ÷ 3 = 35.
- 335 ÷ 5 = 7, and 7 is prime.
- 4So 840 = 2^3 × 3 × 5 × 7. Check: 8 × 3 × 5 × 7 = 840 ✓
Sum formulas and consecutive numbers
Sums of the first n natural, even and odd numbers, squares and cubes; and consecutive-number questions.
Sums of the first n numbers
Formulas for 1 to n, even and odd numbers, their squares and cubes — and how to apply them.
The story of Gauss is famous: to add 1 to 100 he paired the first and last numbers (1+100, 2+99, …). Each pair sums to 101 and there are 50 pairs: . The same idea gives the formula .
| Sum | Formula | Example, |
|---|---|---|
| First natural numbers | 55 | |
| First even numbers | 110 | |
| First odd numbers | 100 | |
| Squares of the first | 385 | |
| Cubes of the first | 3025 |
- 1(a) .
- 2(b) From 2 to 40 there are 20 even numbers (): .
- 1Sum of cubes: 1 + 8 + 27 + 64 + 125 + 216 + 343 + 512 = 1296.
- 2Sum of 1 to 8 = .
- 3 — the two are equal ✓
Consecutive numbers and their properties
Questions that give the sum of consecutive numbers and ask for the smallest or largest, plus a few useful properties.
When numbers are evenly spaced (consecutive numbers, consecutive even numbers) their average is the middle number. So: middle = sum ÷ count, and the others lie at equal steps on both sides.
- 1Middle number = 205 ÷ 5 = 41.
- 2The numbers: 39, 40, 41, 42, 43.
- 3Largest = 43. Check: 39+40+41+42+43 = 205 ✓
- 1Average = 76 ÷ 4 = 19. It lies exactly in the middle of the four numbers — between the two middle even numbers (18 and 20).
- 2The middle two are 18 and 20. Step by 2 on either side: 16 and 22.
- 3The numbers: 16, 18, 20, 22. Check: 16+18+20+22 = 76 ✓
A few useful properties
- The product of three consecutive numbers is always divisible by 6; of four consecutive, by 24.
- is always divisible by 6.
- A perfect square ends only in 0, 1, 4, 5, 6 or 9 — never in 2, 3, 7 or 8.
- If divides two numbers it also divides their sum and difference.
Choosing the method
Go from the wording of a question to the right rule, avoid the common slips and check your answer.
From the clue to the method
The table takes you straight from the wording to the method.
| What you see | Method |
|---|---|
| “Is X divisible by d?” | A divisibility test (last digits / digit sum / alternating sum) |
| “Least number to add / subtract” | Remainder : subtract , add |
| “Greatest / smallest n-digit number” | Subtract the remainder from 99…9 / add to 100…0 |
| “Units digit” | Take the last digit; for powers divide the power by 4 and use the cycle |
| “How many factors / sum of factors” | Prime powers: and the sum formula |
| “How many digits used” | Group numbers by how many digits they have |
| “Sum of 1 to n / of squares or cubes” | The formula table |
| “Consecutive numbers, sum given” | Average = the middle number |
The commonest mistakes
Marks in number system are lost to carelessness, not to difficulty.
The practice ladder
New questions on everything above, in three levels.
Level 1 — Basic
One-rule questions.
Each question needs one rule. Aim for 30–40 seconds.
Level 2 — Standard
Two-step, exam-level questions.
Level 3 — Advanced
Questions at the hard end of competitive exams.
Revision — formula cards
Read the front, think of the answer, then flip.