Introduction

Welcome to Divisibility Shortcuts, the second course in our learning path! In the previous course, Foundations of Factors and Multiples, we built a solid understanding of factors, multiples, and prime versus composite numbers. Now we begin putting that knowledge to work with quick tests that tell us whether one number divides evenly into another — no long division required.

This is the first lesson of five in the course, and our focus today is on divisibility by 2, 5, and 10. By the end of this lesson, you will be able to check divisibility by any of these three numbers just by looking at a single digit. Even better, you will understand why that shortcut works.

What Does "Divisible By" Mean?

As you may recall from the previous course, when we say a number is divisible by another number, we mean the division comes out exact with no remainder. For example, 3030 is divisible by 55 because 30÷5=630 \div 5 = 6 exactly. In factor language, 55 is a factor of 3030, and is a multiple of .

Divisibility by 2: The Last-Digit Test

A whole number is divisible by 2 if its last digit is 0, 2, 4, 6, or 8. These are the even digits. If the last digit is odd (1, 3, 5, 7, or 9), the number is not divisible by 2.

Grid showing digits 0–9 split into even (0,2,4,6,8) and odd (1,3,5,7,9) groups, color-coded to indicate divisibility by 2

Let's try a few examples:

NumberLast DigitEven?Divisible by 2?
1366YesYes
2,4811NoNo
7,9400YesYes

Notice that the size of the number does not matter. Whether you have a three-digit number or a ten-digit number, only the last digit decides divisibility by 2.

Divisibility by 5: Another Last-Digit Test

A whole number is divisible by 5 if its last digit is 0 or 5. That's it — just two possible endings.

Think about counting by fives: 5,10,15,20,25,30,5, 10, 15, 20, 25, 30, \ldots Every multiple of 55 ends in either 00 or 5, and this pattern never breaks. So a number like is divisible by (last digit is ), while is not (last digit is ).

Divisibility by 10: The Simplest Test of All

A whole number is divisible by 10 if its last digit is 0. This is the easiest rule to remember because our entire counting system is based on groups of ten.

Consider 580580. Its last digit is 00, so it is divisible by 1010. What about 585585? The last digit is 55, so it is not divisible by 1010, even though it is divisible by .

Why the Last Digit Is All You Need

So far, the three rules may feel like facts to memorize. But there is a satisfying reason they work, and it lives in place value. In base ten, any whole number can be split into two parts: everything except the last digit (which forms a multiple of 1010) and the last digit itself. For instance:

374=37×10+4374 = 37 \times 10 + 4 Diagram decomposing 374 into 37×10 (always divisible by 2, 5, and 10) plus the last digit 4 (the deciding factor)

The first part, 37×1037 \times 10, is always a multiple of . Since is divisible by , by , and by , that first part is automatically divisible by all three. So the entire number's divisibility comes down to just the contributed by the last digit. Let's spell this out for :

Quick-Reference Table

Before you head into practice, here is a compact table worth keeping in mind:

DivisorLast Digit Must BeExample (Yes)Example (No)
20, 2, 4, 6, or 84,7184,719
50 or 54,7154,718
1004,7104,715

Notice the overlap one more time: divisibility by 1010 requires the last digit to satisfy both the rule for 22 and the rule for 55. The only digit that is both even and equal to 00 or 55 is itself.

Conclusion and Next Steps

In this lesson, you learned that divisibility by 2, 5, and 10 can each be tested by examining just the last digit of a number. You also explored why this works: in base ten, every digit except the last contributes a multiple of 1010, so only the final digit determines whether the number is divisible by 22, 55, or 1010. These three rules are fast, reliable, and will serve as building blocks for the more advanced tests coming later in this course.

Up next, you will put these shortcuts into action with a set of hands-on practice tasks — from checking stockroom quantities and sorting numbers into overlapping categories to explaining the place-value reasoning in your own words. Let's see how quickly you can spot those last digits!

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal