Divisibility Rules for 7
Divisibility rules are one of the important topics of study in school mathematics, especially in upper primary classes They enable us to quickly identify if one number is divisible by another. We know various methods for checking the divisibility of a number by 2, 3, 4, 5, 6, 8, 9, 10 etc. It is also clear that checking of divisibility of the given number by some numbers is quite easy, while for some numbers is a bit complicated.
Divisibility by 7 is a challenging one, with many attempts made to simplify the rule. Chika’s divisibility rule for 7 is a recent one among them. Here, we shall discuss three different divisibility methods for 7, using existing methods which add new dimensions to the concept.
Method 1: Doubling the unit digit
| Take the given number | Remove the unit digit and write the truncated number | Double the unit digit which was removed | Subtract the doubled digit from the truncated number | If the difference is either 0 or a multiple of 7, then the original number is divisible by 7. (Repeat if necessary) |
|---|---|---|---|---|
| 532 | 53 | 2 × 2 = 4 | 53 – 4 = 49 | 49 is divisible by 7 so 532 is also divisible by 7 |
| 427 | 42 | 2 × 7 = 14 | 42 − 14 = 28 | 28 is divisible by 7 so 427 is also divisible by 7 |
| 29792 2975 287 | 2979 297 28 | 2 × 2 = 4 2 × 5 = 10 2 × 7 = 14 | 2979 − 4 = 2975 297 − 10 = 287 28 − 14 = 14 | Repeat for 2975 Repeat for 287 14 is divisible by 7 so 29792 is also divisible by 7 |
| Try 2308012 now |
With the above examples, we understand that this method is useful for checking divisibility by 7 without performing long division for a 3-digit number, but is quite lengthy for 4 or more-digit numbers.
Justification of the rule
Suppose \(N = 1000\ a_{3}+ 100\ a_{2} + 10\ a_{1} + a_{0}\)
(Where \(a_{0}, a_{1}, a_{2}, a_{3}\) are the digits of the 4-digit number N)
According to the rule, we write the truncated version (say \(N_{T}\)) without the unit digit of N and then take away (subtract) from \(N_{T}\) twice the unit digit to get a new number (say M).
\(N_{T} = 100\ a_{3}+ 10\ a_{2} + a_{1}\) (Note the change in the place values after the number is truncated)
\(M = N_{T} – 2a_{0} = 100\ a_{3} + 10\ a_{2} + a_{1} – 2a_{0}\)
Our rule says that if M is a multiple of 7, then N is also a multiple of 7.
Assume that M is a multiple of 7, i.e. M = 7k for some whole number k.
Then, \(M = 7k = 100 a_{3} + 10 a_{2} + a_{1} – 2a_{0}\) or \(100 a_{3} + 10 a_{2} + a_{1} =7k + 2a_{0}.\) Substituting this in N, we get
\(N = 1000\ a_{3} + 100\ a_{2} + 10\ a_{1} + a_{0}\)
\(N = (1000\ a_{3} + 100\ a_{2} + 10\ a_{1} )+ a_{0} = 10(100\ a_{3} + 10\ a_{2} + a_{1} ) + a_{0}\)
\(= 10(7k + 2a_{0}) + a_{0} = 70k + 21a_{0} = 7(10k + 3a_{0})\)
So, if M is a multiple of 7, then so is N.
This can easily be generalized to any number of digits.
Method 2: Multiplying the unit digit by 5
| Take the given number | Remove the unit digit and write the truncated number | Multiply the unit digit by 5 | Add the result to the truncated number | If the sum is either 0 or a multiple of 7, then the original number is divisible by 7 (Repeat if necessary) |
|---|---|---|---|---|
| 378 | 37 | 8 × 5 = 40 | 37 + 40 = 77 | 77 is divisible by 7 so 378 is also divisible by 7 |
| 2464 | 246 | 5 × 4 = 20 | 246 + 20 = 266 | Repeat for 266 |
| 266 | 26 | 6 × 5 = 30 | 26 + 30 = 56 | 56 is a multiple of 7, So 266 and 2464 are divisible by 7 |
| 29792 2989 343 | 2979 298 34 | 2 × 5 = 10 9 × 5 = 45 3 × 5 = 15 | 2979 + 10 = 2989 298 + 45 = 343 34 + 15 = 49 | Repeat for 2989 Repeat for 343 49 is a multiple of 7 so 343, 2989 and 29792 are divisible by 7 |
| Try 2308012 now |
One may provide a justification, which is very similar to the previous one as follows.
Suppose \(N = 1000\ a_{3} + 100\ a_{2}+ 10\ a_{1} + a_{0}\)
(Where \(a_{0}, a_{1}, a_{2}, a_{3}\) are the digits of the 4-digit number N)
According to the rule, we write the truncated version (say NT) of N and add five times the unit digit to get a new number (say M).
\(N_{T} = 100\ a_{3}+ 10\ a_{2} + a_{1}\)
\(M = N_{T} + 5a_{0} = 100\ a_{3} + 10\ a_{2} + a_{1} + 5a_{0}\)
Our rule says that if M is a multiple of 7, then N is also a multiple of 7.
Assume that M is a multiple of 7, i.e. M = 7k for some whole number k.
Then, \(M = 7k = 100 a_{3} + 10 a_{2} + a_{1} + 5a_{0}\) or \(100 a_{3} + 10 a_{2} + a_{1} =7k – 5a_{0}\). Substituting this in N, we get
\(N = 1000\ a_{3} + 100\ a_{2} + 10\ a_{1} + a_{0}\)
\(N = (1000\ a_{3} + 100\ a_{2} + 10\ a_{1} )+ a_{0} = 10(100\ a_{3} + 10\ a_{2} + a_{1} ) + a_{0}\)
\(= 10(7k – 5a_{0}) + a_{0} = 70k – 49a_{0} = 7(10k – 7a_{0})\)
So, if M is a multiple of 7, then so is N.
This can easily be generalized to any number of digits.
Method 3: Grouping of digits (Rule – 1-3-2)
| Take the Number | Make groups of three digits starting from the unit digit | Multiply the right-most digit by 1, the next by 3 and the left-most by 2 in each group | Add all odd-numbered groups | Add all even-numbered groups | Difference |c − d| |
|---|---|---|---|---|---|
| a | b | c | d | e | |
| N₁ = 672 | 672 | 6 × 2 + 7 × 3 + 2 × 1 = 35 | 35 | 0 | 35 |
| Result: | | c – d |= 35 is divisible by 7. So, the number N1 is also divisible by 7. | ||||
| N₂ = 4704 | 004 704 | 4 × 1 = 4 7 × 2 + 0 × 3 + 4 × 1 = 18 | 18 | 4 | |18 − 4| = 14 |
| Result: | | c – d |= 14 is divisible by 7 So, the number N2 is also divisible by 7. | ||||
| N₃ = 32921 | 032 921 | 3 × 3 + 2 × 2 + 1 × 1 = 11 9 × 2 + 2 × 3 + 1 × 1 = 25 | 25 | 11 | |25 − 11| = 14 |
| Result: | | c – d |= 14 is divisible by 7. So, the number N3 is also divisible by 7. | ||||
| N₄ = 197526 | 197 526 | 1 × 2 + 9 × 3 + 7 × 1 = 36 5 × 2 + 2 × 3 + 6 × 1 = 22 | 22 | 36 | |36 − 22| = 14 |
| Result: | | c – d |= 14 is divisible by 7. So, the number N4 is also divisible by 7. | ||||
| N₅ = 164953552568 | 164 953 525 268 | 1 × 2 + 6 × 3 + 4 × 1 = 24 9 × 2 + 5 × 3 + 3 × 1 = 36 5 × 2 + 2 × 3 + 5 × 1 = 21 2 × 2 + 6 × 3 + 8 × 1 = 30 | 30 + 36 = 66 | 21 + 24 = 45 | |66 − 45| = 21 |
| Result: | 21 is divisible by 7. So, the number N5 is divisible by 7. | ||||
This is yet another way of checking for divisibility by 7. Let’s illustrate it step by step.
- Starting from the unit place of the number, make groups of three digits. The last group will contain the remaining digits.
- In each group, multiply the right-most digit by 1, the next by 3 and the left-most by 2.
- Add all the products obtained in each group.
- Find the sums of the odd and even-numbered groups.
- If the difference of these two sums is divisible by 7 or is 0, then the original number will be divisible by 7.
Justification of the rule
Suppose \(N = 100000\ a_{5} + 10000\ a_{4} + 1000\ a_{3} + 100\ a_{2} + 10\ a_{1} + a_{0}\)
(Where \(a_{0}, a_{1}, a_{2}, a_{3}, a_{4}, a_{5},\) are the digits of the 6-digit number N)
\(S1 = a_{0} \times 1 + a_{1} \times 3 + a_{2} \times 2\)
\(S2 = a_{3} \times 1 + a_{4} \times 3 + a_{5} \times 2\)
\(M = S_{1} – S_{2}\)
Our rule says that if M is a multiple of 7, then N is also a multiple of 7.
Assume that M is a multiple of 7, i.e. M = 7k for some whole number k.
\(7k = (a_{0} × 1 + a_{1}, × 3 + a_{2} × 2) – ( a_{3} × 1 + a_{4} × 3 + a_{5} × 2)\)
\(= (-2a_{5} – 3a_{4} – a_{3} + 2a_{2} + 3a_{1} + a_{0})\)
\(N = (100002a_{5} – 2a_{5}) + (10003a_{4} – 3a_{4}) + (1001a_{3} – a_{3}) + (98a_{2} + 2a_{2})\) \(+ (7a_{1} + 3a_{1}) + a_{0}\)
\(N = 7(14286a_{5} + 1429a_{4} + 143a_{3} + 14a_{2} + a_{1}) + (-2a_{5} – 3a_{4} – a_{3} + 2a_{2}\) \(+ 3a_{1} + a_{0})\)
\(N = 7(14286a_{5} + 1429a_{4} + 143a_{3} + 14a_{2} +a_{1}) + 7k\)
So, if M is a multiple of 7, then so is N.
This can easily be generalized to any number of digits.
Note: Rule – 1-3-2 can be used for any number with 2 or more digits. It can help us to find the divisibility of any number by 7 easily and quickly as well.
Comparison
| Method | Operations needed | Remark |
|---|---|---|
| Doubling the unit digit | ×, – | Useful for 2 or 3-digit numbers. |
| Unit digit is multiplied by 5 | ×, + | Useful for 2 or 3-digit numbers. |
| Rule 132 | ×, +, – grouping | Useful for more than 3-digit numbers. |
Explorations such as this help teachers plan lessons in which students develop capacities for problem-solving, logical reasoning, and computational thinking. Students become comfortable in working with abstractions and other core techniques of Mathematics and Computational Thinking, such as the mathematical modelling of phenomena and the development of algorithms to solve problems. (NCF-SE 2023).
If the teaching of divisibility rules stops at practising number skills, then we are severely limiting the potential of such a rich topic. Asking why the rule works, trying to generalise it, comparing different rules and then trying to make their own rules will not just develop mathematical minds but also impart an understanding of the joy and beauty of the subject.