Divisibility Rules
Divisible by 3 or 9 when the digit sum is; by 4 when the last two digits form a multiple of ; by 8 when the last three do; by 11 when the alternating digit sum (units tens hundreds ) is a multiple of .
In plain terms. Instead of doing long division, just add or peek at a few digits. It is a shortcut to answer "does this divide evenly?" in one glance.
Example. Is divisible by ? Digit sum , and is a multiple of , so yes.
Because , every power of ten leaves remainder , so a number and its digit sum leave the same remainder mod (and mod ).
In plain terms. Each "" is just "one more than a nine," so tens, hundreds, and so on don't change the remainder when you divide by — only the digits themselves do.
Example. For : , so its remainder mod is , exactly the digit sum.
Primes and Factorization
Write . Then the number of divisors is , and the sum of divisors is .
In plain terms. Break a number into its prime "building blocks." Once you know the blocks, counting or adding up all its factors is just plugging into a formula.
Example. , so it has divisors, and their sum is .
To test whether is prime you only need trial divisors up to : if with then .
In plain terms. A factor pair always has one member no bigger than the square root, so you never need to test past — that cuts the work enormously.
Example. To check : , so only test . None divide it, so is prime.
GCD, LCM, and Units Digits
For positive integers, .
In plain terms. The greatest common divisor and least common multiple always multiply to give the two numbers' product — so knowing one gives the other.
Example. , so .
The last digit of repeats with a period dividing : powers of cycle ; of cycle .
In plain terms. Last digits go in a short repeating loop, so you just find where your exponent lands in the loop instead of computing the whole power.
Example. Last digit of : the cycle for has length , and , so it matches , whose last digit is .