2021 AIME I Problem 3

Attempt Problem 3 of the 2021 AIME I below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2021 AIME I solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

3.

Find the number of positive integers less than 10001000 that can be expressed as the difference of two integral powers of 2.2.

Answer: 50
Concepts:power of 2factoringcasework
Difficulty rating: 2110
Solution:

A difference of powers of 22 is 2a2b=2b(2c1)2^a - 2^b = 2^b(2^c - 1) where c=ab1.c = a - b \ge 1. Since 2c12^c - 1 is odd, the odd part of the number determines cc and the power of 22 determines b,b, so distinct pairs (b,c)(b, c) yield distinct integers. It suffices to count pairs with 2b(2c1)<1000.2^b(2^c - 1) \lt 1000.

For c=1,2,,9c = 1, 2, \ldots, 9 the factor 2c12^c - 1 is 1,3,7,15,31,63,127,255,511,1, 3, 7, 15, 31, 63, 127, 255, 511, and the number of allowed values of bb is 10,9,8,7,6,4,3,2,110, 9, 8, 7, 6, 4, 3, 2, 1 respectively (the count for 6363 drops to 44 because 6316=1008>1000,63 \cdot 16 = 1008 \gt 1000, while 3132=99231 \cdot 32 = 992 still fits).

The total is 10+9+8+7+610 + 9 + 8 + 7 + 6 +4+3+2+1=50.+ 4 + 3 + 2 + 1 = 50.

← Problem 2#2
Full Exam

Problem 3 in Other Years