AMC 10 Step by Step

2009 AMC 10A Problem 25

P21-25~6 minPrint

For k>0k > 0 , let Ik=10…064I_k = 10\ldots 064 , where there are kk zeros between the 11 and the 66 . Let N(k)N(k) be the number of factors of 22 in the prime factorization of IkI_k . What is the maximum value of N(k)N(k) ?

Log in to save your progress.
Show solution without answering

Key insight

I_k is 10 to the power k+2, plus 64. Pull out the smaller power of 2 and an odd number remains, except at the tie k = 4.

Solution

1. Write out a few: I1=1064I_1 = 1064, I2=10064I_2 = 10064, I3=100064I_3 = 100064. In general, IkI_k is 11 followed by k+2k + 2 more digits, so
Ik=10k+2+64=2k+2×5k+2+26.I_k = 10^{k+2} + 64 = 2^{k+2} \times 5^{k+2} + 2^6.
2. Both parts have factors of 22. Pull out as many 22s as both parts share and see whether what is left is odd.
3. Small kk (k=1,2,3k = 1, 2, 3). Here k+2k + 2 is less than 66. Pull out 2k+22^{k+2}:
Ik=2k+2(5k+2+24−k).I_k = 2^{k+2}\left(5^{k+2} + 2^{4-k}\right).
Inside the bracket: odd plus even is odd. So N(k)=k+2N(k) = k + 2, which is 3,4,53, 4, 5.
4. Large kk (k≥5k \ge 5). Here k+2k + 2 is more than 66. Pull out 262^6:
Ik=26(2k−4×5k+2+1).I_k = 2^6\left(2^{k-4} \times 5^{k+2} + 1\right).
Inside: even plus 11 is odd. So N(k)=6N(k) = 6.
5. The tie, k=4k = 4. Both parts have exactly 262^6:
I4=26(56+1)=26×15626.I_4 = 2^6\left(5^6 + 1\right) = 2^6 \times 15626.
Now the bracket is odd plus odd, which is even. 15626=2×781315626 = 2 \times 7813, and 78137813 is odd. So I4=27×7813I_4 = 2^7 \times 7813 and N(4)=7N(4) = 7.
6. The largest value is 77.

The answer is (B) 7\boxed{\textbf{(B)}\ 7}.

Why this works

When you add two numbers with different numbers of factors of 22, the sum has the smaller number of 22s. Only when the counts are equal can the sum pick up extra 22s, because odd plus odd is even. So always check the case where the two counts tie; that is where the maximum hides.

Alternative approach

Divide by 22 as long as you can:
- I1=1064=23×133I_1 = 1064 = 2^3 \times 133
- I2=10064=24×629I_2 = 10064 = 2^4 \times 629
- I3=100064=25×3127I_3 = 100064 = 2^5 \times 3127
- I4=1000064=27×7813I_4 = 1000064 = 2^7 \times 7813
- I5=10000064=26×156251I_5 = 10000064 = 2^6 \times 156251

The value 77 at k=4k = 4 stands out, and step 4 above shows N(k)N(k) stays at 66 for all larger kk.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

The number 10…0⏟k641\underbrace{0\ldots0}_{k}64 has k+3k + 3 digits, so
Ik=10k+2+64=2k+2⋅5k+2+26.I_k = 10^{k+2} + 64 = 2^{k+2} \cdot 5^{k+2} + 2^6.

Compare the exponents k+2k + 2 and 66.

Case k<4k < 4 (k+2<6k + 2 < 6): factor out 2k+22^{k+2}:
Ik=2k+2(5k+2+24−k).I_k = 2^{k+2}\left(5^{k+2} + 2^{4-k}\right).
The bracket is odd plus even, hence odd, so N(k)=k+2≤5N(k) = k + 2 \le 5.

Case k>4k > 4 (k+2>6k + 2 > 6): factor out 262^6:
Ik=26(2k−4⋅5k+2+1).I_k = 2^6\left(2^{k-4} \cdot 5^{k+2} + 1\right).
The bracket is even plus one, hence odd, so N(k)=6N(k) = 6.

Case k=4k = 4: the powers tie, and
I4=26(56+1)=26⋅15626=26⋅2⋅7813=27⋅7813.I_4 = 2^6\left(5^6 + 1\right) = 2^6 \cdot 15626 = 2^6 \cdot 2 \cdot 7813 = 2^7 \cdot 7813.
Since 78137813 is odd, N(4)=7N(4) = 7.

The maximum is 77, attained only at k=4k = 4.

The answer is (B) 7\boxed{\textbf{(B)}\ 7}.

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.