TECHNOLOGIESTieInn Technologies

Number system

Number system: divisibility and remainders

7 min read · 8 practice questions · free

Useful for:IT testsBanksSSC / RailwaysTNPSC

What it is

Questions on how numbers divide:

  1. What to add (or subtract) to make a number divisible by another.
  2. The units digit of a big power like 7⁸⁴.
  3. Remainders: a number leaves r when divided by d₁; what does it leave when divided by a factor of d₁?

How to solve it

To make N divisible by k:

  • add k − (N mod k), the gap to the next multiple
  • or subtract N mod k, the gap back to the previous multiple

Units digit of aⁿ. Units digits of powers repeat in a cycle of at most 4:

  • 2: 2, 4, 8, 6
  • 3: 3, 9, 7, 1
  • 7: 7, 9, 3, 1
  • 8: 8, 4, 2, 6
  • 4: 4, 6
  • 9: 9, 1
  • 0, 1, 5, 6: always themselves

Divide the power by the cycle length. Remainder r gives the r-th digit of the cycle; remainder 0 gives the last.

Remainder with a factor. If N = d₁q + r and d₂ divides d₁, then N leaves the same remainder as r does when divided by d₂.

Tips and shortcuts

Divisibility rules you'll use often:

  • 3 and 9: the sum of the digits divides by 3 (or 9).
  • 4: the last two digits divide by 4.
  • 8: the last three digits divide by 8.
  • 11: (sum of odd-place digits) − (sum of even-place digits) is 0 or divides by 11.

Two more tips:

  • Adding the remainder never works. To reach the next multiple, add (divisor − remainder).
  • Only the units digit of the base matters: 1,237⁴⁵ has the same units digit as 7⁴⁵.

Solved examples

Example 1 (easy): what to add

Smallest number to add to 4,321 to make it divisible by 9?

Digit sum = 10, remainder 1. Add 9 − 1 = 8 (4,329 has digit sum 18).

Example 2 (medium): units digit

Units digit of 3⁴⁷?

Cycle 3, 9, 7, 1 (length 4). 47 ÷ 4 leaves 3 → third digit: 7.

Example 3 (hard): remainder with a factor

A number leaves remainder 29 when divided by 36. Remainder when divided by 12?

36 is a multiple of 12, so it's 29 ÷ 12 → remainder 5.

Example 4 (medium): divisibility by 11

Is 2,728 divisible by 11?

(2 + 2) − (7 + 8) = 4 − 15 = −11, which divides by 11. Yes (2,728 = 11 × 248).

Try it

Pick an answer and press Check. Generated questions get new numbers every time you ask.

  1. Question 1easy

    What is the smallest number that must be added to 2143 so that the result is divisible by 13?

  2. Question 2easy

    What is the smallest number that must be added to 9757 so that the result is divisible by 17?

  3. Question 3easy

    What is the smallest number that must be added to 7977 so that the result is divisible by 13?

  4. Question 4medium

    What is the units digit of 2^115?

  5. Question 5medium

    What is the units digit of 3^123?

  6. Question 6medium

    What is the units digit of 2^162?

  7. Question 7hard

    A number leaves a remainder of 9 when divided by 30. What remainder will it leave when divided by 6?

  8. Question 8hard

    A number leaves a remainder of 25 when divided by 27. What remainder will it leave when divided by 9?

Ready for a timed set?

Fresh questions on just this problem type, with a score and every explanation at the end. Free.

Test me on this →