Number System — Divisibility, Remainders, Unit Digits & Factors

Divisibility rules, the remainder theorem tricks, cyclicity of unit digits, counting factors and trailing zeros — the toolkit behind 3–5 questions in every SSC and bank paper.

ConceptFreeQuantitative Aptitude › Number System⏱ 5 min readUpdated 17 Nov 2026

Number system questions look like puzzles but run on a handful of rules. Learn the divisibility tests, the remainder shortcuts and the unit-digit cycles below, and most of these questions take under 30 seconds.

Where it appears

  • SSC CGL / CHSL: 2–4 questions — remainders, unit digits, divisibility, number of factors.
  • IBPS / SBI: rarely as standalone questions, but the rules power simplification and number series.
  • RRB NTPC and Group D: 2–3 questions, usually divisibility and HCF/LCM.

Types of numbers

  • Natural numbers: 1, 2, 3 … Whole numbers: 0, 1, 2 …
  • Prime: exactly two factors (2, 3, 5, 7, 11 …). 2 is the only even prime. 1 is neither prime nor composite.
  • Co-prime: two numbers whose HCF is 1 (8 and 15), even if neither is prime.
  • There are 25 primes below 100. Worth memorising up to 50: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47.

Divisibility rules

DivisorRule
2, 4, 8Last 1, 2, 3 digits divisible by 2, 4, 8 respectively
3, 9Sum of digits divisible by 3, 9
5, 10Ends in 0 or 5; ends in 0
6Divisible by both 2 and 3
11(Sum of digits in odd places) − (sum in even places) = 0 or a multiple of 11
12, 15, 18Test the co-prime pairs: 3 & 4, 3 & 5, 2 & 9
7, 11, 131001 = 7 × 11 × 13, so any number of the form abcabc is divisible by all three

For a composite divisor, always split it into co-prime factors. Testing 24 as 4 × 6 is wrong (4 and 6 share 2); test 3 and 8 instead.

Remainders

The key fact: the remainder of a product (or sum) equals the product (or sum) of the remainders, reduced again.

  • 17 × 23 ÷ 5: remainders are 2 and 3, and 2 × 3 = 6, which leaves 1.
  • Use a negative remainder when it is smaller: 99 ÷ 10 leaves −1, so 9951 ÷ 10 leaves (−1)51 = −1, that is 9.
  • Powers: look for a power that leaves 1. 23 = 8 leaves 1 when divided by 7, so 2100 = (23)33 × 2 leaves 1 × 2 = 2.

Unit digits — cyclicity

Last digitCycleLength
0, 1, 5, 6Always itself1
44, 62
99, 12
22, 4, 8, 64
33, 9, 7, 14
77, 9, 3, 14
88, 4, 2, 64

Divide the power by 4 and use the remainder (a remainder of 0 means the 4th term of the cycle).

Factors and trailing zeros

  • If N = ap × bq × cr (prime factors), the number of factors is (p + 1)(q + 1)(r + 1).
  • Trailing zeros in n! = ⌊n/5⌋ + ⌊n/25⌋ + ⌊n/125⌋ + … (each zero needs a 5 and a 2; 5s are scarcer).
  • Sums: 1 + 2 + … + n = n(n + 1)/2; squares: n(n + 1)(2n + 1)/6; cubes: [n(n + 1)/2]².

Worked examples

Example 1 — unit digit

Q. Find the unit digit of 347.

Solution. The cycle of 3 is 3, 9, 7, 1. 47 = 4 × 11 + 3, so take the 3rd term: 7.

Example 2 — number of factors

Q. How many factors does 720 have?

Solution. 720 = 24 × 32 × 5. Factors = (4 + 1)(2 + 1)(1 + 1) = 30.

Example 3 — trailing zeros

Q. How many zeros are at the end of 100!?

Solution. ⌊100/5⌋ + ⌊100/25⌋ = 20 + 4 = 24.

Example 4 — least number with a given remainder

Q. Find the least four-digit number that leaves a remainder of 5 when divided by 8, 12 and 18.

Solution. LCM(8, 12, 18) = 72. The number is 72k + 5. The smallest k with 72k + 5 ≥ 1000 is k = 14, giving 1013.

Example 5 — the abcabc pattern

Q. Is 123123 divisible by 13?

Solution. 123123 = 123 × 1001 and 1001 = 7 × 11 × 13, so yes — it is also divisible by 7 and 11.

Example 6 — remainder of a power

Q. Find the remainder when 2100 is divided by 7.

Solution. 23 = 8 leaves 1. 2100 = (23)33 × 2, which leaves 1 × 2 = 2.

Short tricks

  • Split composite divisors into co-prime parts before testing.
  • Hunt for a remainder of 1 or −1. Once you have it, any power is easy.
  • Unit digit of a product depends only on the unit digits being multiplied.
  • Sum of first n odd numbers = n².

Common mistakes

  • Testing divisibility by 24 using 4 and 6 (not co-prime).
  • Taking the remainder 0 in a cycle as "no term" — it means the last term of the cycle.
  • Counting 1 as a prime, or forgetting that 2 is prime.
  • Stopping at ⌊n/5⌋ for trailing zeros and missing the extra 5s in 25, 125 …

Practice questions

  1. Find the unit digit of 461.
  2. Find the unit digit of 1399.
  3. How many factors does 960 have?
  4. How many trailing zeros does 200! have?
  5. What is the smallest number which, divided by 4, 6 and 10, leaves remainder 3 and is greater than 1000?
  6. Find the HCF of 24·32, 23·33 and 22·3·5.

Answers

  1. 4. The cycle of 4 is 4, 6; an odd power gives 4.
  2. 7. Unit digit 3, cycle 3, 9, 7, 1; 99 leaves 3 when divided by 4.
  3. 28. 960 = 26 × 3 × 5, so (6 + 1)(1 + 1)(1 + 1) = 28.
  4. 49. 40 + 8 + 1.
  5. 1023. LCM = 60; 60 × 17 + 3 = 1023 (60 × 16 + 3 = 963 is below 1000).
  6. 12. Take the lowest power of each common prime: 22 × 3 = 12.