Divisibility rules for 5 and 10
Overview
Divisibility by 5
A number is divisible by iff its last digit is or .
Divisibility by 10
A number is divisible by iff its last digit is .
Both rules follow from the fact that , so in base 10 only the last digit contributes to the remainder modulo or .
Examples
- is divisible by (last digit ).
- is divisible by (last digit ), and therefore also by .