Let be a -digit number, and let and be the quotient and the remainder, respectively, when is divided by . For how many values of is divisible by ?
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
n = 100q + r = 99q + (q + r) and 11 divides 99, so 11 | q + r means 11 | n; count five-digit multiples of 11.
Solution
By definition . Rewrite this as
Because , the term is a multiple of , so and leave the same remainder when divided by . Hence exactly when .
So we count five-digit multiples of . The smallest is (since is too small) and the largest is . The multipliers run from to , giving
values of .
The answer is .
Why this works
Splitting a number as and noticing that collapses the condition to divisibility of itself. Whenever a problem mixes the "front" and "back" of a number, check what the split point (, , ...) is congruent to modulo the target divisor; a residue of or makes the front and back combine simply.
Alternative approach
Equivalently, , the alternating digit sum of , and the alternating-sum test says this is mod exactly when . Count as above, or as .
The trap
Counting the multiples of 11 from 11*910 to 11*9090 as 9090 - 910 = 8180, forgetting the +1, which is choice (A).
Common mistakes
- Counting the multiples of 11 from 11910 to 119090 as 9090 - 910 = 8180, forgetting the +1, which is choice (A).
- Trying to count pairs directly with choices of and or choices of each; this works but is easy to get slightly wrong.
Techniques
Apply an identity: SFFT, sum of squares, difference of cubes, Vieta