# This note has been used to help create the Divisibility Rules (2,3,5,7,11,13,17,19,...) wiki

7
Subtract 2 times the last digit from remaining truncated number. Repeat the step as necessary. If the result is divisible by 7, the original number is also divisible by 7

Check for 945: : 94-(2*5)=84. Since 84 is divisible by 7, the original no. 945 is also divisible

13
Add 4 times the last digit to the remaining truncated number. Repeat the step as necessary. If the result is divisible by 13, the original number is also divisible by 13

Check for 3146:: 314+ (46) = 338:: 33+(48) = 65. Since 65 is divisible by 13, the original no. 3146 is also divisible

17
Subtract 5 times the last digit from remaining truncated number. Repeat the step as necessary. If the result is divisible by 17, the original number is also divisible by 17

Check for 2278:: 227-(5*8)=187. Since 187 is divisible by 17, the original number 2278 is also divisible.

19
Add 2 times the last digit to the remaining truncated number. Repeat the step as necessary. If the result is divisible by 19, the original number is also divisible by 19

Check for 11343:: 1134+(23)= 1140. (Ignore the 0):: 11+(24) = 19. Since 19 is divisible by 19, original no. 11343 is also divisible

23
Add 7 times the last digit to the remaining truncated number. Repeat the step as necessary. If the result is divisible by 23, the original number is also divisible by 23

Check for 53935:: 5393+(75) = 5428 :: 542+(78)= 598:: 59+ (7*8)=115, which is 5 times 23. Hence 53935 is divisible by 23

29
Add 3 times the last digit to the remaining truncated number. Repeat the step as necessary. If the result is divisible by 29, the original number is also divisible by 29

Check for 12528:: 1252+(38)= 1276 :: 127+(36)= 145:: 14+ (3*5)=29, which is divisible by 29. So 12528 is divisible by 29

31
Subtract 3 times the last digit from remaining truncated number. Repeat the step as necessary. If the result is divisible by 31, the original number is also divisible by 31

Check for 49507:: 4950-(37)=4929 :: 492-(39) :: 465:: 46-(3*5)=31. Hence 49507 is divisible by 31

37
Subtract 11 times the last digit from remaining truncated number. Repeat the step as necessary. If the result is divisible by 37, the original number is also divisible by 37

Check for 11026:: 1102 – (116) =1036. Since 103 – (116) =37 is divisible by 37. Hence 11026 is divisible by 37

41
Subtract 4 times the last digit from remaining truncated number. Repeat the step as necessary. If the result is divisible by 41, the original number is also divisible by 41

Check for 14145:: 1414 – (45) =1394. Since 139 – (44) =123 is divisible by 41. Hence 14145 is divisible by 41

43
Add 13 times the last digit to the remaining truncated number. Repeat the step as necessary. If the result is divisible by 43, the original number is also divisible by 43.*This process becomes difficult for most of the people because of multiplication with 13.

Check for 11739:: 1173+(13*9)= 1290:: 129 is divisible by 43. 0 is ignored. So 11739 is divisible by 43

47
Subtract 14 times the last digit from remaining truncated number. Repeat the step as necessary. If the result is divisible by 47, the original number is also divisible by 47. This too is difficult to operate for people who are not comfortable with table of 14.

Check for 45026:: 4502 – (146) =4418. Since 441 – (148) =329, which is 7 times 47. Hence 45026 is divisible by 47

3 years, 4 months ago

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$...$$ or $...$ to ensure proper formatting.
2 \times 3 $$2 \times 3$$
2^{34} $$2^{34}$$
a_{i-1} $$a_{i-1}$$
\frac{2}{3} $$\frac{2}{3}$$
\sqrt{2} $$\sqrt{2}$$
\sum_{i=1}^3 $$\sum_{i=1}^3$$
\sin \theta $$\sin \theta$$
\boxed{123} $$\boxed{123}$$

Sort by:

To prove this... Oh no.

- 3 years, 4 months ago

What do you mean? I did this all in my head. E.g. $47\mid 10a+b\iff 47\mid 140a+14b\iff 47\mid 14b-a$

This exact algorithm works for every one of the provided rules. Just multiply $$10a+b$$ by the number mentioned in the rule (in the case I've shown it's $$14$$; let's call it $$t$$) and subtract $$da$$ until $$|k|$$ is the smallest, where $$d\mid ka+tb$$ (here $$d$$ is the divisor for which the rule is proved).

- 3 years, 4 months ago

I meant to prove that this works might require some time and might require 23 cases of spamming... Doesn't seem like the best thing to prove.

- 2 years, 6 months ago

- 3 months, 3 weeks ago

Wow! This is useful!

- 3 years, 4 months ago

- 2 years, 8 months ago

Thank you. Its very useful for Maths students.

- 2 years, 9 months ago