2004 AMC 12B Problem 25

Below is the professionally curated solution for Problem 25 of the 2004 AMC 12B, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2004 AMC 12B solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:digitspattern recognition

Difficulty rating: 2360

25.

Given that 220042^{2004} is a 604604-digit number whose first digit is 1,1, how many elements of the set S={20,21,22,,22003}S = \{2^0, 2^1, 2^2, \ldots, 2^{2003}\} have a first digit of 4?4?

194194

195195

196196

197197

198198

Solution:

The smallest power of 22 with any given digit-count has leading digit 1.1. Since 220042^{2004} has 604604 digits, there are 603603 elements of SS with leading digit 1.1.

Whenever 2k2^k leads with 1,1, 2k+12^{k+1} leads with 22 or 3,3, and 2k+22^{k+2} leads with 4,5,6,4, 5, 6, or 7.7. So 603603 elements lead with 22 or 3,3, 603603 lead with 44 through 7,7, and 20043(603)=1952004 - 3(603) = 195 lead with 88 or 9.9.

Finally, 2k2^k leads with 88 or 99 exactly when 2k12^{k-1} leads with 4,4, so there are 195195 elements with first digit 4.4.

Thus, the correct answer is B.

Problem 25 in Other Years