What is the value of ?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
Evaluate from the inside out; every layer doubles and adds 1, so the values run 3, 7, 15, 31, 63, 127, each one less than a power of 2.
Solution
Work outward from the innermost parentheses. Each layer takes the previous result, doubles it, and adds :
There are six "" layers, and the sixth one yields .
The answer is .
Why this works
Nested expressions are evaluated inside out, one layer at a time. Noticing that each output is one less than a power of (, , and so on) is a useful check: after layers the value is , so six layers give .
Alternative approach
If is one less than a power of two, say , then is again one less than a power of two. Starting from and applying five more layers lands on without any multiplication.
The trap
Miscounting the layers (there are six doublings) and stopping at 63 or continuing to 255.
Common mistakes
- Miscounting the layers (there are six doublings) and stopping at 63 or continuing to 255.
- Adding the before doubling, which turns "" into "" and produces even numbers.
Techniques
Set up the equation/formula and compute; no special trick needed · Compute small cases, spot the pattern, generalize