Test

Quant practice: number system

Number system questions with answers: divisibility, unit digit, remainders and factors for SSC and RRB

17 min read Updated EnglishAlso inहिंदी

At a glance

Number system questions test divisibility rules, the unit digit of large powers, remainders, the number of factors and the HCF-LCM link. Break a number into primes and work with remainders instead of full values, and most questions take two or three lines.

Divisible by 3 or 9
digit sum divisible by 3 or 9
Divisible by 11
odd-place sum − even-place sum is 0 or a multiple of 11
Unit digit cycles
2, 3, 7, 8: cycle of 4; 4, 9: cycle of 2; 0, 1, 5, 6: fixed
Number of factors
N = pᵃ × qᵇ × rᶜ has (a + 1)(b + 1)(c + 1)
Remainder of a product
multiply the remainders, then divide again
Two numbers
HCF × LCM = product of the numbers
Trailing zeros in n!
n/5 + n/25 + n/125 + … (whole parts)

Number system questions are a regular part of SSC and railway maths, and their rules sit under simplification, LCM and HCF, and number series. This page gives the types of numbers and the divisibility rules in two tables, six tricks for unit digits, remainders and factors with worked examples, eight solved questions and 21 practice MCQs from easy to exam level, each with a step-by-step answer. Work through it, then take the timed SSC quant test.

Take a timed test

Number system basics: types of numbers and key formulas

The number system is the study of whole numbers and how they divide. Most exam questions come from five ideas: divisibility rules, the unit digit of a power, remainders, the factors of a number and the link between HCF and LCM. Start with the names, because questions often turn on them: 1 is neither prime nor composite, and 2 is the only even prime.

Type of numberMeaningExamples
Natural numbersCounting numbers starting from 11, 2, 3, 4
Whole numbersNatural numbers together with 00, 1, 2, 3
IntegersWhole numbers and their negatives−3, −1, 0, 2, 5
Even and oddEven numbers are divisible by 2; odd numbers are not8, 14 are even; 9, 15 are odd
Prime numbersExactly two factors, 1 and the number itself2, 3, 5, 7, 11; there are 25 primes from 1 to 100
Composite numbersMore than two factors4, 6, 9, 15
Co-prime numbersTwo numbers whose HCF is 18 and 15, 9 and 28
Rational numbersCan be written as p/q with q not 03/4, −2, 0.25
Irrational numbersCannot be written as p/q√2, π
What you needFormula or ruleExample
Number of factors of N = pᵃ × qᵇ(a + 1)(b + 1)72 = 2³ × 3²: 4 × 3 = 12 factors
Sum of factors of N = pᵃ × qᵇ(1 + p + … + pᵃ)(1 + q + … + qᵇ)72: 15 × 13 = 195
Divisionnumber = divisor × quotient + remainder47 = 5 × 9 + 2
Remainder of a productproduct of remainders, divided again13 × 17 by 5: 3 × 2 = 6, remainder 1
HCF and LCM of two numbersHCF × LCM = a × b12 and 18: 6 × 36 = 216
Trailing zeros in n!n/5 + n/25 + n/125 + …, whole parts only100!: 20 + 4 = 24 zeros
Sum of first n natural numbersn(n + 1)/21 to 50: 50 × 51/2 = 1,275

Divisibility rules from 2 to 12

Divisible byRuleExample
2Last digit is 0, 2, 4, 6 or 83,758
3Sum of digits is divisible by 34,212: 4 + 2 + 1 + 2 = 9
4Number formed by the last two digits is divisible by 47,316: 16
5Last digit is 0 or 58,415
6Divisible by both 2 and 37,302
7Double the last digit and subtract it from the rest; the result is divisible by 73,542: 354 − 4 = 350 = 7 × 50
8Number formed by the last three digits is divisible by 85,13,728: 728 = 8 × 91
9Sum of digits is divisible by 95,61,042: digit sum 18
10Last digit is 06,470
11Difference between the sums of digits in odd and even places is 0 or a multiple of 113,85,792: 17 − 17 = 0
12Divisible by both 3 and 45,124

Testing a composite divisor

To test divisibility by a number like 72, split it into co-prime factors, 8 × 9, and test both. 5,13,728 passes the test for 8 (728 = 8 × 91) but its digit sum is 26, so it fails for 9 and is not divisible by 72. Splitting 72 as 6 × 12 does not work, because 6 and 12 are not co-prime.

Number system tricks, each with a worked example

  1. 1

    Trick 1: unit digit by cyclicity

    Only the unit digit of the base matters. Powers of 2, 3, 7 and 8 repeat their unit digits in a cycle of 4; powers of 4 and 9 in a cycle of 2; 0, 1, 5 and 6 never change. Divide the power by 4 and use the remainder; a remainder of 0 means the fourth term. Example: 8⁴⁷. 47 leaves remainder 3, and the cycle of 8 is 8, 4, 2, 6, so the unit digit is 2.

  2. 2

    Trick 2: replace numbers by their remainders

    The remainder of a sum or product equals the remainder of the sum or product of the remainders. Example: 1,001 × 1,002 divided by 9. Digit sums give remainders 2 and 3, so the remainder is 2 × 3 = 6. You never multiply the large numbers.

  3. 3

    Trick 3: use a negative remainder

    If a number is one less than the divisor, treat its remainder as −1. Example: 14²⁵ divided by 15. Since 14 = 15 − 1, the remainder is (−1)²⁵ = −1, which means 15 − 1 = 14. An even power would give +1.

  4. 4

    Trick 4: count factors from the prime powers

    Write the number as a product of prime powers, add 1 to each power and multiply. Example: 180 = 2² × 3² × 5¹, so it has (2 + 1)(2 + 1)(1 + 1) = 18 factors. For even factors only, let the power of 2 start at 1 instead of 0.

  5. 5

    Trick 5: HCF × LCM for two numbers

    For any two numbers, HCF × LCM equals their product. Example: 18 and 24 have HCF 6 and LCM 72, and 6 × 72 = 432 = 18 × 24. Use it to find a missing number in one line. It is not true in general for three or more numbers.

  6. 6

    Trick 6: trailing zeros in a factorial

    Each zero at the end needs a factor 10 = 2 × 5, and there are fewer 5s than 2s. So divide n by 5, 25, 125 and so on, and add the whole parts. Example: 100! has 100/5 = 20 and 100/25 = 4, a total of 24 zeros.

Solved number system questions, from easy to exam level

1. Check whether 3,85,792 is divisible by 11.

Digits from the left are 3, 8, 5, 7, 9, 2. Odd places: 3 + 5 + 9 = 17. Even places: 8 + 7 + 2 = 17. The difference is 0, so the number is divisible by 11. Indeed 3,85,792 = 11 × 35,072.

2. Find the unit digit of 4⁴³ + 9³⁸.

Powers of 4 end in 4 for odd powers and 6 for even powers, so 4⁴³ ends in 4. Powers of 9 end in 9 for odd powers and 1 for even powers, so 9³⁸ ends in 1. The sum ends in 4 + 1 = 5.

3. How many factors does 540 have?

Prime factorisation: 540 = 2² × 3³ × 5¹. Add 1 to each power and multiply: (2 + 1)(3 + 1)(1 + 1) = 3 × 4 × 2 = 24. So 540 has 24 factors, counting 1 and 540 themselves.

4. What is the remainder when 5³³ is divided by 6?

Since 5 = 6 − 1, the remainder of 5 is −1. So 5³³ leaves (−1)³³ = −1, an odd power. A remainder of −1 on division by 6 means 6 − 1 = 5. The answer is 5.

5. The HCF of two numbers is 16 and their LCM is 480. One number is 96. Find the other.

For two numbers, HCF × LCM = product. Other number = 16 × 480 / 96 = 7,680 / 96 = 80. Check: HCF(96, 80) = 16 and LCM(96, 80) = 480, so the pair fits both conditions.

6. Find the smallest number greater than 3 that leaves remainder 3 when divided by 4, 6 and 9.

A number that leaves the same remainder r with each of the given divisors is a multiple of the LCM plus r. LCM(4, 6, 9) = 36, so the number is 36 + 3 = 39. Check: 39 = 4 × 9 + 3 = 6 × 6 + 3 = 9 × 4 + 3.

7. Find the largest number that divides 245 and 1,029 leaving remainder 5 in each case.

Subtract the remainder first: 245 − 5 = 240 and 1,029 − 5 = 1,024. The required number is HCF(240, 1,024). 240 = 2⁴ × 15 and 1,024 = 2¹⁰, so the HCF is 2⁴ = 16. Check: 245 = 16 × 15 + 5.

8. A number leaves remainder 29 when divided by 56. What remainder does it leave when divided by 8?

The number is 56k + 29. Since 56 = 8 × 7, the part 56k is a multiple of 8. So only 29 matters: 29 = 8 × 3 + 5. The remainder is 5. This works only because 8 is a factor of 56.

Practice set 1: easy number system questions

Start here. Each question uses one rule from the tables and should take under 30 seconds.

  1. 1Which of the following numbers is divisible by 9?

    Show answer

    Answer: (C) 5,61,042

    Explanation: A number is divisible by 9 exactly when its digit sum is. Digit sums: 4,73,812 gives 25, 6,14,724 gives 24, 5,61,042 gives 18, 3,82,561 gives 25. Only 18 is a multiple of 9, so 5,61,042 is correct. 6,14,724 is divisible by 3 (24), but not by 9.

  2. 2What is the unit digit of 7⁹⁵?

    Show answer

    Answer: (A) 3

    Explanation: Unit digits of powers of 7 repeat in a cycle of 4: 7, 9, 3, 1. Divide the power by 4: 95 = 4 × 23 + 3, remainder 3. The third term of the cycle is 3, so the unit digit is 3.

  3. 3How many factors does 360 have?

    Show answer

    Answer: (D) 24

    Explanation: 360 = 2³ × 3² × 5¹. Number of factors = (3 + 1)(2 + 1)(1 + 1) = 4 × 3 × 2 = 24. Adding the powers (3 + 2 + 1 = 6) is a common slip; add 1 to each power and multiply.

  4. 4The HCF of two numbers is 12 and their LCM is 360. If one number is 60, what is the other?

    Show answer

    Answer: (B) 72

    Explanation: For two numbers, HCF × LCM = product of the numbers. So the other number = 12 × 360 / 60 = 4320 / 60 = 72. Check: HCF(60, 72) = 12 and LCM(60, 72) = 360.

  5. 5What is the remainder when 2,468 is divided by 9?

    Show answer

    Answer: (C) 2

    Explanation: The remainder on division by 9 equals the remainder of the digit sum. 2 + 4 + 6 + 8 = 20, and 20 = 9 × 2 + 2, so the remainder is 2. Check: 9 × 274 = 2,466 and 2,468 − 2,466 = 2.

  6. 6What is the smallest number that must be added to 4,850 to make it divisible by 11?

    Show answer

    Answer: (D) 1

    Explanation: 11 × 440 = 4,840, so 4,850 leaves remainder 10. To reach the next multiple, add 11 − 10 = 1: 4,851 = 11 × 441. 10 is the number to subtract, not to add.

  7. 7Which of the following is a prime number?

    Show answer

    Answer: (B) 97

    Explanation: Test each by primes up to its square root. 91 = 7 × 13, 87 = 3 × 29, 111 = 3 × 37. 97 is not divisible by 2, 3, 5 or 7 (and √97 is under 10), so 97 is the prime.

Practice set 2: moderate number system questions

These combine two steps: a missing digit, products of powers, remainder cycles, even factors and LCM limits.

  1. 8If the five-digit number 62x48 is divisible by 11, what is the digit x?

    Show answer

    Answer: (A) 3

    Explanation: Sum of digits in odd places (from the left) = 6 + x + 8 = 14 + x. Sum in even places = 2 + 4 = 6. The difference 8 + x must be 0 or a multiple of 11, so x = 3. Check: 62,348 = 11 × 5,668.

  2. 9What is the unit digit of 3⁶⁵ × 6⁵⁹ × 7⁷¹?

    Show answer

    Answer: (C) 4

    Explanation: Work with unit digits only. 3 has cycle 3, 9, 7, 1; 65 leaves remainder 1 on division by 4, so 3. 6 raised to any positive power ends in 6. 7 has cycle 7, 9, 3, 1; 71 leaves remainder 3, so 3. Product 3 × 6 × 3 = 54, unit digit 4.

  3. 10What is the remainder when 2³¹ is divided by 5?

    Show answer

    Answer: (B) 3

    Explanation: 2⁴ = 16 leaves remainder 1 on division by 5. 2³¹ = (2⁴)⁷ × 2³, so the remainder = 1 × 8 = 8, and 8 leaves 3 on division by 5. The remainder is 3.

  4. 11How many even factors does 720 have?

    Show answer

    Answer: (D) 24

    Explanation: 720 = 2⁴ × 3² × 5. An even factor must contain at least one 2, so the power of 2 can be 1 to 4 (4 choices), of 3 can be 0 to 2 (3 choices), of 5 can be 0 or 1 (2 choices). Even factors = 4 × 3 × 2 = 24. All factors = 30, and odd factors = 6.

  5. 12A number leaves remainder 4 when divided by 6. What is the remainder when three times the number is divided by 6?

    Show answer

    Answer: (A) 0

    Explanation: Write the number as 6k + 4. Three times it is 18k + 12. Both 18k and 12 are multiples of 6, so the remainder is 0. Multiplying the remainder by 3 gives 12, which still has to be divided by 6.

  6. 13What is the sum of all the factors of 72?

    Show answer

    Answer: (C) 195

    Explanation: 72 = 2³ × 3². Sum of factors = (1 + 2 + 4 + 8)(1 + 3 + 9) = 15 × 13 = 195. Check by listing: 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72 add up to 195. 123 leaves out 72 itself.

  7. 14What is the largest four-digit number divisible by 12, 15 and 18?

    Show answer

    Answer: (B) 9900

    Explanation: A number divisible by all three is a multiple of LCM(12, 15, 18) = 180. 9999 = 180 × 55 + 99, so the largest is 9999 − 99 = 9,900. 9,720 is also a multiple of 180 but smaller; 9,990 is not divisible by 12.

Practice set 3: exam-level number system questions

These are in the style of SSC CGL and bank prelims. Reduce to remainders or prime powers before you calculate anything.

  1. 15What is the remainder when 2¹⁰⁰ is divided by 7?

    Show answer

    Answer: (D) 2

    Explanation: 2³ = 8 leaves remainder 1 on division by 7. 100 = 3 × 33 + 1, so 2¹⁰⁰ = (2³)³³ × 2¹, and the remainder = 1 × 2 = 2.

  2. 16A number leaves remainder 27 when divided by 52. What is the remainder when the same number is divided by 13?

    Show answer

    Answer: (A) 1

    Explanation: The number is 52k + 27. 52 is a multiple of 13, so 52k leaves nothing; divide 27 by 13: 27 = 13 × 2 + 1. The remainder is 1. This shortcut works because 13 is a factor of 52.

  3. 17How many factors of 1,080 are perfect squares?

    Show answer

    Answer: (C) 4

    Explanation: 1,080 = 2³ × 3³ × 5. A square factor needs even powers: 2⁰ or 2² (2 choices), 3⁰ or 3² (2 choices), 5⁰ only (1 choice). Count = 2 × 2 × 1 = 4. They are 1, 4, 9 and 36.

  4. 18What is the unit digit of 1! + 2! + 3! + … + 50!?

    Show answer

    Answer: (B) 3

    Explanation: From 5! onwards each factorial contains 2 × 5, so it ends in 0. Only 1! + 2! + 3! + 4! = 1 + 2 + 6 + 24 = 33 matters. The unit digit is 3.

  5. 19How many zeros are there at the end of 125!?

    Show answer

    Answer: (D) 31

    Explanation: Each trailing zero needs a pair 2 × 5, and 5s are scarcer. Count the 5s: 125/5 = 25, 125/25 = 5, 125/125 = 1. Total = 25 + 5 + 1 = 31. Stopping after the first division gives 25.

  6. 20The product of two numbers is 4,320 and their HCF is 12. How many such pairs of numbers are possible?

    Show answer

    Answer: (A) 4

    Explanation: Write the numbers as 12a and 12b with a and b co-prime. 144ab = 4,320, so ab = 30. Co-prime pairs with product 30: (1, 30), (2, 15), (3, 10), (5, 6). That is 4 pairs: (12, 360), (24, 180), (36, 120), (60, 72).

  7. 21What is the remainder when 1,234 × 1,235 × 1,236 is divided by 7?

    Show answer

    Answer: (B) 3

    Explanation: 7 × 176 = 1,232, so 1,234, 1,235 and 1,236 leave remainders 2, 3 and 4. Multiply the remainders: 2 × 3 × 4 = 24, and 24 = 7 × 3 + 3. The remainder is 3.

Common mistakes in number system questions

  • Counting 1 as a prime. A prime has exactly two factors, and 1 has only one.
  • Adding the powers instead of multiplying (power + 1) terms when counting factors.
  • Using a remainder of 0 in a cycle of 4 as the first term. A remainder of 0 means the fourth term of the cycle.
  • Testing 72 with 6 and 12. Split a divisor only into co-prime factors such as 8 and 9.
  • Using HCF × LCM = product for three numbers. For three or more numbers it is not true in general.
  • Stopping at n/5 when counting trailing zeros. Add n/25, n/125 and so on as well.
  • Leaving a negative or oversized remainder. A remainder must be from 0 up to one less than the divisor.

How the number system appears in SSC, RRB and bank exams

Number systems are named in the maths syllabus of SSC CHSL, SSC CGL (Tier-II mathematical abilities; Tier-I lists whole numbers, decimals and fractions), RRB NTPC and RRB Group D. Direct questions ask for a unit digit, a remainder, a missing digit for divisibility or the number of factors. The same rules return inside simplification, LCM and HCF, and number series. Bank prelims test it less directly, through simplification and number series questions. Exam bodies do not publish a fixed number of questions per topic, so use mock tests to judge your own speed.

After this page, practise LCM and HCF questions, simplification questions and number series questions, which use the same rules. Then take the SSC quant test under time.

Frequently asked questions

What topics come under number system questions?
Types of numbers, divisibility rules, the unit digit of powers, remainders, factors and their count, HCF and LCM, and trailing zeros in factorials. Most exam questions combine one of these with a quick calculation.
How do I find the unit digit of a large power?
Take the unit digit of the base and find its cycle: 4 for 2, 3, 7 and 8; 2 for 4 and 9; 1 for 0, 1, 5 and 6. Divide the power by 4 and pick the term matching the remainder, using the fourth term when the remainder is 0. For 7⁹⁵, the remainder is 3 and the answer is 3.
What is the divisibility rule of 11?
Add the digits in the odd places and in the even places separately. If the difference between the two sums is 0 or a multiple of 11, the number is divisible by 11. For 3,85,792 both sums are 17, so it is divisible.
How do I count the factors of a number?
Write the number as a product of prime powers, add 1 to each power and multiply the results. 360 = 2³ × 3² × 5 has 4 × 3 × 2 = 24 factors. For even factors, let the power of 2 start at 1.
Is 1 a prime number?
No. A prime number has exactly two factors, 1 and itself. The number 1 has only one factor, so it is neither prime nor composite. The smallest prime is 2, which is also the only even prime.
Is the number system asked in SSC CGL?
Yes. The SSC CGL syllabus lists number systems under Tier-II mathematical abilities and whole numbers, decimals and fractions under Tier-I quantitative aptitude. Its rules also appear in simplification, LCM and HCF, and series questions. SSC does not publish a fixed number of questions per topic.

Timed test

Take the timed SSC quant test

Done with the number system set? Take a free timed quantitative aptitude test in SSC Tier-I style, with 2 marks per question and 0.50 off for each wrong answer.

10–50 Qs · pick length