Skip to content
Theorem

Divisibility tests for , , , and

Algebra • Binary and Other Number Systems

Statement

A whole number is divisible by when its last digit is even; by when its last digit is or ; by when the number formed by its last two digits is divisible by ; by when the sum of its digits is divisible by ; by when it is divisible by both and .

How to use it

  1. 1Why the last-two-digits test works: is a multiple of , so only the last two digits can leave a remainder when divided by .
  2. 2Why the digit-sum test works: each leave remainder when divided by , so a number leaves the same remainder as its digit sum.
  3. 3When the digits are chosen from a set, the digit-sum test depends only on which digits are used, not on their order.

Worked example

Is divisible by ?

Step-by-step

  1. 1
    Last digit is even: divisible by
  2. 2
    , divisible by
  3. 3
    Divisible by and by , so by

Answer

Yes

Watch out

Divisible by and by does not mean divisible by : the two tests combine only for numbers with no common factor, like and .

Also known as

divisibility rules, digit sum rule, last two digits rule

Appears in past papers

2025 (II)

2024 (I)

2023 (I)

2022 (I)

2021 (II)

2021 (I)

2016 (II)