Divisibility Rules for 3 and 9
Unlike the rules for , , and —which depend solely on the final digit—the divisibility rules for and require examining all the digits in the number.
The rule states: a number is divisible by (or ) if and only if the sum of its digits is divisible by (or ).
This famous mathematical shortcut seems almost like magic when you first encounter it. Why should adding the digits of a number reveal whether or divides into it? In this lesson, we will uncover the algebraic reason why it works, practice the standard paper addition method, and learn the lightning-fast scratchpad technique called casting out nines.
1. Concepts & Paper Visuals: The Mathematical Proof
To see why the sum of digits works, look at powers of written as multiples of plus :
Now take any number—for example, a four-digit number with digits :
Expand each power of using the identity:
Look at the two grouped parts:
- The first part is made entirely of multiples of . Since , this part is always divisible by both and , regardless of the digits!
- The second part is simply the sum of the digits.
Because the first part is already divisible by and , the divisibility of the entire number depends entirely on whether is divisible by or !
Furthermore, the remainder when is divided by is exactly the remainder when is divided by .
2. The Divisibility Rules for 3 and 9
The Relationship Between 3 and 9
Because :
- Divisible by 9 Always Divisible by 3. Any multiple of () is automatically a multiple of .
- Divisible by 3 Divisible by 9. A multiple of is not necessarily a multiple of . For example, are divisible by , but not by .
3. The Paper Scratchpad Method: "Casting Out"
When a number has or digits, adding them all up can be slow and prone to mental addition errors. You can speed up your calculation by casting out (ignoring) digits before adding.
Casting Out Threes
When testing for divisibility by :
- Cross out any digit that is already a multiple of : .
- Cross out any pair of digits that adds up to or (e.g., , , ).
- Sum only the few remaining digits.
Casting Out Nines
When testing for divisibility by :
- Cross out any digit that is or .
- Cross out any pair of digits that adds up to (e.g., , , , ).
- Sum the remaining digits. If what remains is or , the number is divisible by !
4. Step-by-Step Notebook Examples
Example 1: Testing a Six-Digit Number for 3 and 9
Problem: Test whether is divisible by and whether it is divisible by .
Method A: Direct Sum of Digits Add all the digits in your notebook:
Add step-by-step:
Test for 3:
- Is divisible by ?
- (leaves remainder ).
- Conclusion: is divisible by .
Test for 9:
- Is divisible by ?
- (leaves remainder ).
- Conclusion: is divisible by .
Method B: Casting Out Nines Verification on Paper
- Look at the digits:
- Pair cross out and .
- Pair cross out and .
- Pair cross out and .
- Everything casts out to ! Thus is divisible by (and therefore also by ).
Example 2: Divisible by 3 but NOT by 9
Problem: Test whether is divisible by and by .
Step 1: Calculate the sum of digits.
Let us test :
Step 2: Test for 3.
- (leaves remainder ).
- Divisible by 3: YES.
Step 3: Test for 9.
- .
- Since is not a multiple of , is NOT divisible by 9.
- Moreover, the remainder when is divided by is .
Example 3: Finding an Unknown Digit
Problem: Find all possible digits such that the five-digit number is divisible by . Which value of makes it divisible by ?
Step 1: Find the sum of known digits.
The total sum of digits is:
Step 2: Find for divisibility by . For to be a multiple of , itself must be a multiple of :
- If : ()
- If : ()
- If : ()
- If : ()
Step 3: Find for divisibility by . For to be a multiple of , the smallest multiple of greater than or equal to is :
(The next multiple of is , which would require , not a single digit.)
Final Answer:
- For divisibility by :
- For divisibility by :
5. Common Mistakes & Paper Traps
Trap 1: Assuming Divisibility by 3 Means Divisibility by 9
- (divisible by ).
- (NOT divisible by ).
- Rule: 9 is stronger than 3. Divisibility by 9 guarantees divisibility by 3, but never the other way around.
Trap 2: Applying the Sum-of-Digits Rule to Other Numbers
Students sometimes try to add digits to test for or :
is clearly divisible by ! The sum-of-digits test only works for 3 and 9 because . For and , only the last digit matters.
Trap 3: Addition Errors in Long Chains
When adding or more digits, write sub-totals on your scratchpad:
Never attempt to sum long chains of digits entirely in your head during an exam.
6. Pencil & Paper Practice
Solve these problems in your notebook. Show your digit-sum step for each problem.
Practice 1
Test whether is divisible by and whether it is divisible by .
Practice 2
Without performing long division, find the remainder when is divided by .
Practice 3
A six-digit bank account code is written as . If this number is divisible by and also divisible by , find the unique values of digits and .
Solutions to Practice Problems
Solution to Practice 1
- Sum of digits:
- Test for 3:
- Divisible by 3: YES.
- Test for 9:
- Divisible by 9: NO.
Solution to Practice 2
- Sum the digits:
- (casts out)
- (casts out)
- Remaining:
- Sum again (digital root):
- Remainder: The remainder when is divided by is .
Solution to Practice 3
- Divisibility by 10:
- A number is divisible by if and only if its last digit is .
- The last digit is .
- Divisibility by 9:
- The number is now .
- Sum of digits:
- For to be a multiple of , the next multiple of is :
- Result: The unique values are and (the number is ).
7. Summary: Comparison Table
Test yourself
Which of the following numbers is divisible by but NOT divisible by ?
What is the remainder when is divided by ?
What single digit makes the four-digit number divisible by ?