Divisibility rules/Rule for 5 and powers of 5 proof
A number is divisible by if the last digits are divisible by that power of 5.
Proof
An understanding of basic modular arithmetic is necessary for this proof.
Let the base-ten representation of be where the are digits for each . Thus
Taking this we have
Thus if the last digits of are divisible by then is divisible by .