Sub topic 8
Remainders and Divisibility
Assume you can use divisibility rules, least common multiples, and modular notation. The goal is to use answer options as candidates and reject them quickly instead of solving every condition from the beginning.
The working model
A remainder is what is left after division. In modular notation,
\[ n \bmod d = r \]
means that dividing \(n\) by \(d\) leaves remainder \(r\). For example, \(29 \bmod 3=2\).
In a multiple-choice question, back-substitution means placing an option into every condition. One failed condition rejects the option. A passing option is not automatically the answer if the question asks for the smallest, largest, or number of valid values.
Example: several remainder conditions
Find the smallest option \(n\) that leaves remainders 2, 3, and 4 when divided by 3, 4, and 5 respectively.
Options: 29, 59, 119, 179.
| Option | \(n \bmod 3\) | \(n \bmod 4\) | \(n \bmod 5\) | Decision |
|---|---|---|---|---|
| 29 | 2 | 1 | 4 | Reject |
| 59 | 2 | 3 | 4 | Pass |
| 119 | 2 | 3 | 4 | Pass |
| 179 | 2 | 3 | 4 | Pass |
The word smallest decides the answer: 59. Do not stop merely because an option passes. Continue until you know that no earlier option can pass.
A useful direct observation is that each remainder is one less than its divisor. Therefore, \(n+1\) is divisible by 3, 4, and 5. Since the least common multiple is 60, \(n=60k-1\). The smallest positive value is 59. Back-substitution is especially convenient when the options are already available.
# Check the options in increasing order.
options = [29, 59, 119, 179]
for n in options:
if n % 3 == 2 and n % 4 == 3 and n % 5 == 4:
print(n)
breakEliminate before calculating
Use the cheapest decisive check first.
- Check the range. A remainder must be smaller than its divisor and cannot be negative.
- Check parity when the divisor is 2.
- Check the units digit for divisibility by 5, 2, or 10.
- Use digit sums for divisibility by 3 or 9.
- Check the last two or three digits for divisibility by 4 or 8.
- Check whether the required remainder is even possible.
For example, if \(n\) must leave remainder 1 on division by 5, its units digit must be 1 or 6. Any option ending in 2 can be rejected without long division.
Common errors
A frequent mistake is checking only one divisor. An option may satisfy \(n \bmod 3=2\) but fail \(n \bmod 4=3\). Another mistake is confusing “remainder 4 when divided by 5” with divisibility by 4. The divisor and the remainder have different roles.
Several options can pass all the conditions. Then use the wording: choose the smallest or largest, count the passing options, or identify the option in a specified range.
For a TITA question with no options, solve using common multiples or derive a general form, then substitute the result back into every original condition. This verification catches arithmetic slips.
When to solve directly
Back-substitution is useful when:
- there are few options;
- the conditions are quick to test;
- the question asks for an extreme value among ordered options.
Solve directly when the options are large, unordered, or numerous, or when the conditions combine naturally through a least common multiple. For the example above, both approaches are short. In a harder problem, a congruence pattern may be faster than testing ten choices.
Exercise
Which is the smallest option that leaves remainder 3 when divided by 5 and is divisible by 4: 18, 23, 28, 33?
Show answer
28. It leaves remainder 3 on division by 5, and 28 is divisible by 4; the smaller options fail one of these conditions.