There exists a unique strictly increasing sequence of nonnegative integers such that What is
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
Let x be 2 to the 17th. The fraction becomes x^16 - x^15 + ... + 1, and each pair like x^16 - x^15 is seventeen ones in binary.
Solution
The right side is just the number written in binary: is how many s the number has in base . So we need to write the fraction in binary.
A small example first. Try . With , this is . Now , which is in binary: a run of three s. Adding gives , with four s in all. The same idea works for the real problem.
1. Simplify. , so . Let . The fraction is .
2. Divide. Because is odd, divides evenly, and
(Check by multiplying by : almost every term cancels, leaving .)
3. Get rid of the minus signs. Binary allows only plus signs, so group the terms in pairs:
There are pairs.
4. What does one pair look like in binary? Take . The number is seventeen s in binary (just as ). Multiplying by shifts it left, adding zeros on the right. So each pair is a run of ones.
5. Do the runs overlap? The pair fills binary places through . The pair fills places through , and so on: each pair has its own block, with a gap of zeros between blocks. The final sits at place , which no block touches.
6. Count. runs of ones, plus the final : .
The answer is .
Why this works
A difference like (with ) is a run of ones in binary. So a sum with alternating signs can be turned into pure binary by pairing each plus term with the minus term right after it. Trying a tiny version of the problem first shows the pattern and catches the easy-to-miss final .
The trap
Counting the 17 terms as 17 powers of two (the minus signs are not allowed in binary), or getting 8 times 17 = 136 and forgetting the final + 1.
Concise solution
Since , set . Then and the fraction becomes
the standard factorization of a sum of odd powers. The question asks how many s this number has in binary, since the are the positions of the bits.
The alternating signs must be removed. Group consecutive pairs:
Each pair is . In binary is seventeen s, and multiplying by a power of just shifts, so each pair contributes exactly ones, occupying bits through . These bit ranges for are disjoint and never touch bit , where the lone sits.
Counting: pairs ones .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 8: Base Numbers
- Introduction to Algebra, Chapter 11: Special Factorizations (§11.2, §11.3, §11.5)
- Intermediate Algebra, Chapter 6: Polynomial Division (§6.2, §6.4)
- Intermediate Algebra, Chapter 20: Some Advanced Strategies (§20.2)
Techniques
Apply an identity: SFFT, sum of squares, difference of cubes, Vieta · Compute small cases, spot the pattern, generalize · Substitute to simplify (u = x+1/x, shifting, scaling)