Remainder and Unit Digit Tricks with Cyclicity
Remainder and unit-digit questions are SSC CGL and CHSL favourites and appear regularly in CAT, CMAT and MAT. Bank exams use them less often, mainly in RBI Grade B and data sufficiency. They look intimidating because of huge powers like 7⁹⁵, but the work reduces to small numbers once you use cyclicity and the fact that remainders can be multiplied and reduced at every step.
Cyclicity of unit digits
The unit digit of powers repeats in cycles: 2 → 2, 4, 8, 6; 3 → 3, 9, 7, 1; 7 → 7, 9, 3, 1; 8 → 8, 4, 2, 6 (cycle 4). Digits 0, 1, 5, 6 always repeat themselves; 4 and 9 alternate with cycle 2. Divide the power by 4 and use the remainder (a remainder of 0 means the 4th term).
Remainders of products and sums
The remainder of a product equals the remainder of the product of remainders. For (17 × 23 × 29) ÷ 12, use 5 × 11 × 5 = 275, which leaves 11. The same works for sums. Negative remainders can simplify further: 11 ≡ −1 (mod 12).
Remainders of powers
Find a small power that leaves remainder 1 (or −1), then break the large power into that block. Since 2³ = 8 leaves 1 when divided by 7, 2⁵⁰ = (2³)¹⁶ × 2² leaves 4. For division by 5, 2⁴ = 16 leaves 1.
Divisor-change questions
If a number leaves remainder r when divided by D, and d is a factor of D, the remainder on division by d is r mod d. A number that leaves 75 on division by 296 leaves 75 mod 37 = 1 on division by 37, because 296 = 8 × 37.
Shortcuts and tricks
- Unit digit of a product depends only on the unit digits of the factors.
- An even base not ending in 0, raised to a multiple of 4, ends in 6 (2¹⁰⁰, 8⁴⁰); powers of 4 end in 6 for any even exponent, such as 4¹⁰².
- From 5! onward, factorials end in 0, so the unit digit of 1! + 2! + … + n! (n ≥ 4) is 3.
- (aⁿ − bⁿ) is divisible by (a − b) always and by (a + b) when n is even.
- Remainder of xⁿ ÷ (x − 1) is always 1; of xⁿ ÷ (x + 1) is 1 if n is even and x if n is odd.
Worked examples
Find the unit digit of 7⁹⁵.
Solution
Cycle of 7: 7, 9, 3, 1. 95 ÷ 4 leaves remainder 3, so the unit digit is the 3rd term, 3.
Find the unit digit of 2⁴³ × 3²².
Solution
2⁴³: 43 mod 4 = 3, unit digit 8. 3²²: 22 mod 4 = 2, unit digit 9. 8 × 9 = 72, so the unit digit is 2.
Find the remainder when 2³¹ is divided by 5.
Solution
2⁴ = 16 leaves 1. 2³¹ = (2⁴)⁷ × 2³, so the remainder is 1 × 8 = 8, which leaves 3 on division by 5.
A number leaves a remainder of 75 when divided by 296. What remainder will it leave when divided by 37?
Solution
296 = 8 × 37, so the remainder is 75 mod 37 = 1.
Find the remainder when 17 × 23 × 29 is divided by 12.
Solution
Remainders are 5, 11, 5. 5 × 11 × 5 = 275 and 275 = 22 × 12 + 11, so the remainder is 11.
Practice questions
The unit digit of 3⁶⁵ is:
- 9
- 3
- 7
- 1
Show answer & explanation
Answer: B. 3
The cycle of 3 is 3, 9, 7, 1; 65 leaves remainder 1 when divided by 4, so the unit digit is 3.
The unit digit of 4¹⁰² is:
- 4
- 2
- 8
- 6
Show answer & explanation
Answer: D. 6
Powers of 4 end in 4 for odd exponents and 6 for even exponents, and 102 is even, so the unit digit is 6.
The remainder when 2⁵⁰ is divided by 7 is:
- 1
- 4
- 2
- 3
Show answer & explanation
Answer: B. 4
2³ leaves 1 on division by 7, and 2⁵⁰ = (2³)¹⁶ × 2², so the remainder is 4.
A number leaves remainder 39 when divided by 357. What is the remainder when it is divided by 17?
- 3
- 39
- 5
- 22
Show answer & explanation
Answer: C. 5
Since 357 = 21 × 17, the remainder is 39 mod 17 = 5, as 39 = 2 × 17 + 5.
The unit digit of 1! + 2! + 3! + … + 50! is:
- 3
- 0
- 9
- 1
Show answer & explanation
Answer: A. 3
Factorials from 5! end in 0, so only 1 + 2 + 6 + 24 = 33 matters, giving a unit digit of 3.
FAQs
Why is the cycle length 4 for most digits?
Because multiplying the last digit repeatedly by the same digit can produce at most four different endings before repeating, for digits 2, 3, 7 and 8. Some digits repeat faster: 4 and 9 have cycle 2, and 0, 1, 5, 6 have cycle 1.
Can I use negative remainders?
Yes, they often simplify work. A remainder of 11 when dividing by 12 can be treated as −1, so 11⁵⁰ divided by 12 leaves (−1)⁵⁰ = 1. Convert back to a positive remainder at the end if the result is negative.