AMC 10 Step by Step

2014 AMC 10A Problem 20

P16-20~3 minPrint

The product (8)(888…8)(8)(888\dots8) , where the second factor has kk digits, is an integer whose digits have a sum of 10001000 . What is kk ?

Log in to save your progress.
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.

  1. Multiply:
kkproductdigit sum
228⋅88=7048 \cdot 88 = 7041111
338⋅888=71048 \cdot 888 = 71041212
448⋅8888=711048 \cdot 8888 = 711041313
558⋅88888=7111048 \cdot 88888 = 7111041414

2. The pattern. Each product is a 77, then some 11s, then 0404. Each time kk goes up by one, one more 11 appears. With kk eights there are k−2k - 2 ones.
3. Why it keeps going. Adding one more 88 to the long number is the same as multiplying it by 1010 and adding 88. So the new product is the old product times 1010, plus 8⋅8=648 \cdot 8 = 64. For example, 7104⋅10+64=71040+64=711047104 \cdot 10 + 64 = 71040 + 64 = 71104. The ending 040040 becomes 104104: one new 11 appears and the 0404 at the end stays.
4. Digit sum. 77, plus k−2k - 2 ones, plus 0+40 + 4:
7+(k−2)+4=k+9.7 + (k - 2) + 4 = k + 9.
Check with k=3k = 3: 3+9=123 + 9 = 12. Matches the table.
5. Solve. k+9=1000k + 9 = 1000, so k=991k = 991.

The answer is (D) 991\boxed{\textbf{(D)}\ 991}.

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 1010, plus 6464" explains why it never breaks.

Alternative approach

Notice that 8⋅88…8=64⋅11…18 \cdot 88\ldots8 = 64 \cdot 11\ldots1, with kk ones. Multiply 6464 by a long string of ones column by column. Each middle column adds 6+4=106 + 4 = 10 plus a carry of 11, which gives 1111: write 11, carry 11. The last column gives 44, the next gives 6+4=106 + 4 = 10 (write 00, carry 11), and the front gives 6+1=76 + 1 = 7. So the product is 77, then k−2k - 2 ones, then 0404, 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:
8⋅8=64,8⋅88=704,8⋅888=7104,8⋅8888=71104,8⋅88888=711104.8 \cdot 8 = 64,\quad 8 \cdot 88 = 704,\quad 8 \cdot 888 = 7104,\quad 8 \cdot 8888 = 71104,\quad 8 \cdot 88888 = 711104.

For k≥2k \ge 2 the product is a 77, followed by k−2k - 2 ones, followed by 0404. To see why the pattern continues, let Pk=8⋅88…8⏟kP_k = 8 \cdot \underbrace{88\dots8}_{k}. Since 88…8⏟k=10⋅88…8⏟k−1+8\underbrace{88\dots8}_{k} = 10 \cdot \underbrace{88\dots8}_{k-1} + 8,
Pk=10Pk−1+64.P_k = 10 P_{k-1} + 64.
Appending a 00 to 71…10471\dots104 gives 71…104071\dots1040, and adding 6464 turns the final 040040 into 104104: one more 11 appears and the ending 0404 is preserved.

The digit sum of PkP_k is therefore
7+(k−2)⋅1+0+4=k+9.7 + (k - 2)\cdot 1 + 0 + 4 = k + 9.
Setting k+9=1000k + 9 = 1000 gives k=991k = 991.

The answer is (D) 991\boxed{\textbf{(D)}\ 991}.

Review in the AoPS books

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.