The number is between and . How many pairs of integers are there such that and
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
Each gap between consecutive powers of 5 holds two or three powers of 2; counting 2013 powers of 2 over 867 gaps forces 279 triple gaps.
Solution
Interpret the inequality: the three consecutive powers all lie strictly between and . So a pair corresponds to a gap that contains at least three powers of , with the smallest of them.
How many powers of can such a gap hold? Let be the first power of above , so . Then , so every gap holds at least two, and , so no gap holds more than three. Each gap contains exactly or powers of , and a gap with yields exactly one pair.
Now use the given bound. Since and , the interval contains exactly the powers , which is powers. This interval is the union of the gaps for , and no power of equals a power of , so each of those powers lies in exactly one gap.
Let gaps hold three powers and hold two:
Every such gap gives a valid pair: , and means . Gaps beyond would need , violating .
The answer is .
Why this works
Because , the powers of are spaced so that each "power-of-5 gap" swallows either two or three of them; the problem simply asks how many gaps are of the three-type. Counting one set (powers of up to ) in two ways, directly and gap by gap, produces a single linear equation. The strange-looking given fact about is exactly what fixes the total number of gaps and the total number of powers.
Alternative approach
Think of . Multiples for chop the interval into pieces of length about , and a piece contains integers when its fractional positioning allows. The average piece length means the fraction of three-integer pieces is about , and , confirming the count.
The trap
Counting 2014 powers of 2 (including 2^0 or 2^2014) instead of 2^1 through 2^2013, which gives 280.
Common mistakes
- Counting 2014 powers of 2 (including 2^0 or 2^2014) instead of 2^1 through 2^2013, which gives 280.
- Using or gaps instead of (the gaps are indexed through ), shifting the answer by two.
- Reading the condition as "at least two powers of 2 in the gap" and counting all gaps, or forgetting that a gap with three powers gives only one pair.
Techniques
Map the objects to something easier to count · Bound the quantity above/below or estimate to pin it down