Divisibility rules/Rule 1 for 13 proof
To test if a number is divisible by 13, then take off the last digit, multiply it by 4 and add it to the rest of the number. If this new number is divisible by 13, then so is . This process can be repeated for large numbers, as with the second divisibility rule for 7.
Proof
An understanding of basic modular arithmetic is necessary for this proof.
Let be a positive integer with units digit , tens digit and so on. Then is the result of truncating the last digit from . Note that . Now if and only if , so if and only if . But , and the result follows.