The product , where the second factor has digits, is an integer whose digits have a sum of . What is ?
- A)
- B)
- C)
- D)
- E)
Answer
D
Key insight
Multiplying out 8 times 8, 88, 888, 8888 shows the product is 7, then k-2 ones, then 04, so the digit sum is k + 9.
Solution
Compute the first few products:
For the product is a , followed by ones, followed by . To see why the pattern continues, let . Since ,
Appending a to gives , and adding turns the final into : one more appears and the ending is preserved.
The digit sum of is therefore
Setting gives .
The answer is .
Why this works
Products of repdigits have rigid digit patterns because every column receives the same partial product, and the carries stabilize after the first couple of digits. Computing three or four small cases reveals the pattern; the recurrence is the one-line justification that it never breaks. The problem is really about reading digits, not about the size of the number.
Alternative approach
Write , so the product is . Multiplying a string of ones by column by column gives once the carries settle, the same pattern.
The trap
Assuming each of the k eights contributes 6 + 4 = 10 to the digit sum, ignoring the carries that turn most digits into 1.
Common mistakes
- Assuming each of the k eights contributes 6 + 4 = 10 to the digit sum, ignoring the carries that turn most digits into 1.
- Miscounting the number of ones as or , giving or ; check against , which has exactly one for .
Techniques
Compute small cases, spot the pattern, generalize