Bernardo and Silvia play the following game. An integer between 0 and 999, inclusive, is selected and given to Bernardo. Whenever Bernardo receives a number, he doubles it and passes the result to Silvia. Whenever Silvia receives a number, she adds 50 to it and passes the result to Bernardo. The winner is the last person who produces a number less than 1000. Let be the smallest initial number that results in a win for Bernardo. What is the sum of the digits of ?
- A)
- B)
- C)
- D)
- E)
Answer
A
Key insight
Bernardo wins exactly when one of his outputs 2N, 4N+100, 8N+300, 16N+700 lies in [950, 999], because Silvia adds only 50; the smallest N is 16.
Solution
Write out the numbers produced, starting from :
| Bernardo | |||||
|---|---|---|---|---|---|
| Silvia |
The outputs increase, and the game ends at the first output of or more. Bernardo wins when that first big output is Silvia's, which happens exactly when some Bernardo output satisfies , i.e. . (Bernardo's own output is always at least , so the game never continues past Silvia's fourth turn.)
Test each Bernardo output for the smallest :
- , and . So work.
- needs ; the earlier outputs need even larger .
The smallest winning is : Bernardo produces and Silvia then produces . The digit sum of is .
The answer is .
Why this works
Iterated "double, then add" processes become linear expressions in the starting value after a few rounds, so the whole game can be tabulated symbolically. The win condition is then a window: Bernardo needs to land just under , close enough that Silvia's overshoots. Turning "who wins" into an inequality on the last safe output is the key reformulation.
The trap
Finding the winning range 16 ≤ N ≤ 18 and reporting the digit sum of the wrong endpoint, or forgetting that Silvia's next number must reach 1000.
Common mistakes
- Finding the winning range 16 ≤ N ≤ 18 and reporting the digit sum of the wrong endpoint, or forgetting that Silvia's next number must reach 1000.
- Requiring only that Bernardo's number be under (giving ) without checking that Silvia's response goes over.
Techniques
Bound the quantity above/below or estimate to pin it down · Start from the end state / desired conclusion and reverse