A divisibility rule tests whether one integer divides another by replacing it with a simpler equivalent condition. For a base- expansion , the congruence class of modulo the candidate divisor determines a rule.
In base ten, , so and its digit sum have the same residue modulo nine. Also , so divisibility by eleven is equivalent to divisibility of the alternating digit sum. For example, passes because . These tests follow from modular arithmetic and depend on the numerical base.
For a nonnegative integer with decimal expansion , the congruence gives whenever . Thus divisibility by three or nine is equivalent to divisibility of the sum of its decimal digits by the same number. More generally a base- expansion has the analogous rule for every divisor of . This follows by repeated addition and multiplication in modular arithmetic; it does not require an empirical rule about decimal notation.
Articles by others on the same topic
The divisibility rule is a method that helps determine whether one number is divisible by another without performing the actual division. There are specific rules for various divisors. Here are some common divisibility rules: 1. **Divisible by 2**: A number is divisible by 2 if its last digit is even (0, 2, 4, 6, 8).