Number System: Divisibility, Remainders, Unit Digit and Factors
The number system is the base of all quantitative aptitude. Questions test whether you can classify numbers, check divisibility in seconds, find remainders and unit digits of huge expressions, and count factors without listing them. These are pure speed questions: with the right rule each one takes under a minute, while brute force can take five.
Asked in: GAT, HAT, NTS, ISSB, PPSC, FPSC, SSC CGL, IBPS PO, CAT
Types of numbers
Natural numbers are 1, 2, 3 and so on. Whole numbers add 0. Integers add the negatives. Rational numbers can be written as p/q with q not 0 (every terminating or repeating decimal). Irrational numbers such as √2 and π cannot, and their decimals never end or repeat. Rational and irrational numbers together make the real numbers.
A prime number has exactly two factors, 1 and itself. 1 is neither prime nor composite, and 2 is the only even prime. There are 25 primes below 100. Two numbers are co-prime when their only common factor is 1, for example 8 and 15, even though neither is prime.
To test whether n is prime, divide only by primes up to √n. For 113, √113 is about 10.6, and 113 is not divisible by 2, 3, 5 or 7, so it is prime.
- Even × anything = even; odd × odd = odd
- Odd + odd = even; even + odd = odd
Divisibility rules
By 2: last digit even. By 4: last two digits divisible by 4. By 8: last three digits divisible by 8. By 5: last digit 0 or 5. By 10: last digit 0.
By 3: digit sum divisible by 3. By 9: digit sum divisible by 9. By 11: the difference between the sum of digits in odd places and the sum in even places is 0 or a multiple of 11.
By 7: double the last digit and subtract it from the rest; repeat until small. For 343: 34 − 6 = 28, which is divisible by 7.
For a composite divisor, split it into co-prime parts and test each: 6 = 2 × 3, 12 = 3 × 4, 72 = 8 × 9. Never split 12 as 2 × 6, because 2 and 6 are not co-prime.
- Divisible by 6 = divisible by 2 and by 3
- Divisible by 72 = divisible by 8 and by 9
Division and remainders
Every division follows dividend = divisor × quotient + remainder, with 0 ≤ remainder less than the divisor.
Remainders can be multiplied and added. To find the remainder of a big product, replace each number by its remainder first, multiply, and take the remainder again.
Negative remainders save time: 47 leaves remainder −1 on division by 6 (47 = 48 − 1). So 47²⁰ leaves (−1)²⁰ = 1.
If a number leaves remainder r when divided by d, and k is a factor of d, then the remainder on division by k is simply r ÷ k (take its remainder).
- Dividend = divisor × quotient + remainder
- Remainder of (a × b) ÷ d = remainder of (ra × rb) ÷ d
- (aⁿ − bⁿ) is always divisible by (a − b)
Unit digit and cyclicity
The unit digit of a power depends only on the unit digit of the base. Digits 0, 1, 5 and 6 always repeat themselves. 4 and 9 alternate with a cycle of 2 (4, 6 and 9, 1). 2, 3, 7 and 8 repeat in cycles of 4.
Method: divide the power by 4 and use the remainder to pick the position in the cycle. If the remainder is 0, use the 4th term of the cycle.
- 2: 2, 4, 8, 6
- 3: 3, 9, 7, 1
- 7: 7, 9, 3, 1
- 8: 8, 4, 2, 6
Factors, sum of factors and trailing zeros
Write the number as a product of prime powers, say N = 2ᵃ × 3ᵇ × 5ᶜ. Every factor of N picks a power of 2 from 0 to a, a power of 3 from 0 to b and a power of 5 from 0 to c.
So the number of factors is (a + 1)(b + 1)(c + 1). Odd factors ignore the power of 2. A perfect square is the only kind of number with an odd number of factors.
The number of zeros at the end of n! equals the number of 5s in it, since 2s are always more plentiful. Divide n by 5, 25, 125 and so on and add the whole-number quotients.
- N = 2ᵃ × 3ᵇ × 5ᶜ: number of factors = (a + 1)(b + 1)(c + 1)
- Sum of factors = (1 + 2 + … + 2ᵃ)(1 + 3 + … + 3ᵇ)(1 + 5 + … + 5ᶜ)
- Zeros in n! = [n/5] + [n/25] + [n/125] + …
Solved examples
- Find the digit x so that the six-digit number 73x184 is divisible by 72.
- 72 = 8 × 9, and 8 and 9 are co-prime, so the number must pass both tests.
- Divisible by 8: the last three digits 184 = 8 × 23, so this holds for every x.
- Divisible by 9: digit sum = 7 + 3 + x + 1 + 8 + 4 = 23 + x must be a multiple of 9. The only digit that works is x = 4 (sum 27).
- Check: 734184 ÷ 72 = 10197 exactly.
Answer: x = 4 - A number leaves remainder 29 when divided by 56. What remainder will it leave when divided by 8?
- Write the number as 56q + 29.
- 56q is a multiple of 8 (since 56 = 8 × 7), so it leaves remainder 0.
- So only 29 matters: 29 = 3 × 8 + 5.
- Check with q = 1: 85 ÷ 8 = 10 remainder 5.
Answer: 5 - Find the remainder when 37 × 43 × 51 is divided by 7.
- Replace each number by its remainder on division by 7: 37 gives 2, 43 gives 1, 51 gives 2.
- Multiply the remainders: 2 × 1 × 2 = 4.
- 4 is already less than 7, so it is the remainder.
- Check: 37 × 43 × 51 = 81141 = 7 × 11591 + 4.
Answer: 4 - Find the unit digit of 7⁹⁵ × 3⁵⁸.
- Powers of 7 end in the cycle 7, 9, 3, 1. 95 ÷ 4 leaves remainder 3, so 7⁹⁵ ends in 3.
- Powers of 3 end in the cycle 3, 9, 7, 1. 58 ÷ 4 leaves remainder 2, so 3⁵⁸ ends in 9.
- Multiply the unit digits: 3 × 9 = 27.
- The unit digit of the product is 7.
Answer: 7 - How many factors does 720 have, how many of them are odd, and what is their sum?
- Prime factorisation: 720 = 2⁴ × 3² × 5¹.
- Number of factors = (4 + 1)(2 + 1)(1 + 1) = 5 × 3 × 2 = 30.
- Odd factors use no 2 at all: (2 + 1)(1 + 1) = 6 (they are 1, 3, 5, 9, 15, 45).
- Sum of all factors = (1 + 2 + 4 + 8 + 16)(1 + 3 + 9)(1 + 5) = 31 × 13 × 6 = 2418.
Answer: 30 factors, 6 odd, sum 2418 - What is the remainder when 2¹⁰⁰ is divided by 7?
- Look for a small power of 2 that leaves remainder 1: 2³ = 8 = 7 + 1.
- Write 100 = 3 × 33 + 1, so 2¹⁰⁰ = (2³)³³ × 2.
- (2³)³³ leaves remainder 1³³ = 1 on division by 7.
- So 2¹⁰⁰ leaves remainder 1 × 2 = 2.
Answer: 2
Exam shortcuts
- For a divisor like 72, 88 or 99, split it into co-prime parts (8 × 9, 8 × 11, 9 × 11) and apply two quick rules instead of dividing.
- In remainder questions, reduce every number to its remainder first and use negative remainders when they are smaller: 99 ÷ 10 is remainder −1.
- For remainders of huge powers, hunt for a power that leaves remainder 1 or −1 (like 2³ for 7, 2⁶ for 9, 3² for 8), then break the exponent around it.
- Unit digit: only the last digit of the base and the exponent ÷ 4 matter. If the exponent divides exactly by 4, use the 4th term of the cycle.
- Count factors from the prime factorisation, never by listing. Add 1 to each exponent and multiply.
- Trailing zeros in n!: keep dividing by 5 and add the quotients; 100! has 20 + 4 = 24 zeros.
Common mistakes
- Calling 1 a prime number, or forgetting that 2 is prime.
- Splitting a divisor into parts that are not co-prime, such as testing 24 with 4 and 6 instead of 3 and 8.
- Using remainder 0 in the cyclicity table: when the exponent is a multiple of 4, take the 4th term (for 2 that is 6, not 1).
- For zeros in n!, dividing only by 5 and forgetting 25, 125 and higher powers, each of which adds an extra 5.
- Reporting a negative remainder as the final answer; convert it by adding the divisor, so −2 on division by 9 means 7.
Practice MCQs
- Which of the following is a prime number?
A) 91
B) 87
C) 97
D) 51
Answer: C) 97 — 91 = 7 × 13, 87 = 3 × 29 and 51 = 3 × 17 are composite. 97 is not divisible by 2, 3, 5 or 7 (the primes up to √97), so it is prime. - Which of these numbers is divisible by 4?
A) 7132
B) 3418
C) 5726
D) 9354
Answer: A) 7132 — Check only the last two digits. 32 is divisible by 4, but 18, 26 and 54 are not. So 7132 is the answer. - Which of these numbers is divisible by 11?
A) 495616
B) 495716
C) 584616
D) 495661
Answer: A) 495616 — For 495616, (4 + 5 + 1) − (9 + 6 + 6) = 10 − 21 = −11, a multiple of 11. The differences for the others are −12, −10 and −1, none a multiple of 11. - How many prime numbers are there from 1 to 50?
A) 14
B) 15
C) 16
D) 13
Answer: B) 15 — The primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43 and 47, which makes 15. Remember that 1 is not prime. - What is the unit digit of 3⁶⁵?
A) 3
B) 9
C) 7
D) 1
Answer: A) 3 — The unit digits of powers of 3 repeat in the cycle 3, 9, 7, 1. 65 ÷ 4 leaves remainder 1, so the unit digit is the first in the cycle, 3. - A number leaves remainder 31 when divided by 45. What remainder will it leave when divided by 15?
A) 4
B) 6
C) 11
D) 1
Answer: D) 1 — Because 15 divides 45, the remainder is just 31 ÷ 15, which leaves 1. Check with the number 76: 76 = 5 × 15 + 1. - What is the smallest number that must be added to 4710 to make it divisible by 9?
A) 3
B) 6
C) 5
D) 2
Answer: B) 6 — Digit sum of 4710 = 4 + 7 + 1 + 0 = 12. The next multiple of 9 is 18, so add 18 − 12 = 6. Check: 4716 ÷ 9 = 524. - How many factors (divisors) does 360 have?
A) 18
B) 20
C) 24
D) 36
Answer: C) 24 — 360 = 2³ × 3² × 5¹. Number of factors = (3 + 1)(2 + 1)(1 + 1) = 4 × 3 × 2 = 24. - What is the remainder when 19 × 23 × 29 is divided by 6?
A) 5
B) 3
C) 2
D) 1
Answer: D) 1 — Remainders on division by 6 are 1, 5 and 5. Their product is 25, and 25 ÷ 6 leaves remainder 1. - What is the unit digit of 2⁴³ × 7⁶² × 9²⁵?
A) 2
B) 8
C) 4
D) 6
Answer: B) 8 — 43 ÷ 4 leaves 3, so 2⁴³ ends in 8. 62 ÷ 4 leaves 2, so 7⁶² ends in 9. An odd power of 9 ends in 9. The product of unit digits 8 × 9 × 9 = 648 ends in 8. - How many zeros are there at the end of 150! (150 factorial)?
A) 30
B) 36
C) 37
D) 35
Answer: C) 37 — Count the factors of 5: 150 ÷ 5 = 30, 150 ÷ 25 = 6, 150 ÷ 125 = 1 (whole parts only). Total = 30 + 6 + 1 = 37 zeros. - What is the largest 4-digit number that is exactly divisible by 88?
A) 9944
B) 9988
C) 9900
D) 9856
Answer: A) 9944 — 9999 ÷ 88 gives quotient 113 and remainder 55. Subtract the remainder: 9999 − 55 = 9944 = 88 × 113. - What is the remainder when 2⁵¹ is divided by 9?
A) 1
B) 2
C) 4
D) 8
Answer: D) 8 — 2⁶ = 64 leaves remainder 1 on division by 9. 2⁵¹ = (2⁶)⁸ × 2³, so the remainder is 1 × 8 = 8. - What is the sum of all the factors of 72?
A) 180
B) 195
C) 168
D) 210
Answer: B) 195 — 72 = 2³ × 3². Sum of factors = (1 + 2 + 4 + 8)(1 + 3 + 9) = 15 × 13 = 195. - How many whole numbers from 1 to 300 are divisible by 3 or by 5, but not by both?
A) 140
B) 160
C) 120
D) 100
Answer: C) 120 — Divisible by 3: 100. By 5: 60. By both (that is, by 15): 20. Divisible by 3 or 5 = 100 + 60 − 20 = 140. Remove the 20 that are divisible by both: 140 − 20 = 120.
Questions
Is 1 a prime number?
No. A prime has exactly two different factors, and 1 has only one. 1 is neither prime nor composite, and the smallest prime is 2.
What is the quickest test for divisibility by 11?
Add the digits in alternate places and subtract the two sums. If the difference is 0 or a multiple of 11, the number is divisible by 11. For 918082: (9 + 8 + 8) − (1 + 0 + 2) = 22, so it is divisible.
How do I find the unit digit of a large power?
Look at the last digit of the base and its cycle. For 2, 3, 7 and 8 the cycle is 4 long, so divide the exponent by 4 and use the remainder to pick the digit; remainder 0 means the last digit of the cycle.
Which exams ask number system questions?
Number system questions appear in GAT, HAT, NTS, ISSB, PPSC and FPSC papers in Pakistan, and in SSC CGL, IBPS PO and CAT in India, often as quick one-mark questions.