2014 AMC 10A Problem 20
The product , where the second factor has digits, is an integer whose digits have a sum of . What is ?
Show solution without answering
Key insight
Work out 8 times 88, 888, 8888. The answer is always a 7, then a run of ones, then 04, so the digit sum is k + 9.
Solution
The number is far too long to write out, so work out small cases and look for a pattern.
- Multiply:
| product | digit sum | |
|---|---|---|
2. The pattern. Each product is a , then some s, then . Each time goes up by one, one more appears. With eights there are ones.
3. Why it keeps going. Adding one more to the long number is the same as multiplying it by and adding . So the new product is the old product times , plus . For example, . The ending becomes : one new appears and the at the end stays.
4. Digit sum. , plus ones, plus :
Check with : . Matches the table.
5. Solve. , so .
The answer is .
Why this works
A number made of one repeated digit, multiplied by a single digit, has a very regular answer: every column does the same multiplication, and after the first couple of columns the carries settle into the same value each time. Three or four small cases show the pattern, and the step "times , plus " explains why it never breaks.
Alternative approach
Notice that , with ones. Multiply by a long string of ones column by column. Each middle column adds plus a carry of , which gives : write , carry . The last column gives , the next gives (write , carry ), and the front gives . So the product is , then ones, then , the same pattern.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
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 .
Review in the AoPS books
- Introduction to Number Theory, Chapter 8: Base Numbers
- Prealgebra, Chapter 15: Problem-Solving Strategies (§15.1)
- Introduction to Number Theory, Chapter 9: Base Number Arithmetic
- Introduction to Number Theory, Chapter 12: Introduction to Modular Arithmetic (§12.6)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.