What we see: a Problem Solving sum question. Friedrich added the numbers 1 to \(n\) but counted one number twice, and got 640. We need the number he counted twice.
Step 1. Write what the total is made of.
What we see: total = (the correct sum of 1 to \(n\)) + (the extra number).
What it means: the correct sum is \(\dfrac{n(n+1)}{2}\), and the extra number is one of the numbers from 1 to \(n\).
What we do and why: \(\dfrac{n(n+1)}{2} + d = 640\), where \(1 \le d \le n\). So the correct sum must be a little less than 640.
Step 2. Find \(n\).
What we see: \(\dfrac{n(n+1)}{2}\) is just under 640, so \(n(n+1)\) is just under 1280.
What it means: \(\sqrt{1280}\) is about 36. Try values near it.
What we do and why:
\(n = 36\): \(\dfrac{36 \times 37}{2} = 666\). That is already more than 640, so \(n\) is smaller.
\(n = 35\): \(\dfrac{35 \times 36}{2} = 630\). Extra \(= 640 - 630 = 10\), and 10 is between 1 and 35. This works.
\(n = 34\): \(\dfrac{34 \times 35}{2} = 595\). Extra \(= 45\), but 45 is bigger than 34, so it cannot be one of the numbers. This fails.
Step 3. Check the choices.
\(n = 35\) is the only value that works, so the number added twice is 10.
(A) 5 and (C) 12 would need a correct sum of 635 or 628, and no sum of 1 to \(n\) equals either. (D) 35 would need a correct sum of 605, also impossible. (E) 45 comes from \(n = 34\), but 45 is not among the numbers 1 to 34.
The trap: (E) 45. It comes from \(n = 34\), and the subtraction looks fine. But the number added twice must be one of the numbers being added, so it cannot be bigger than \(n\).
Faster way: work backward from the choices: \(640 - 10 = 630 = \dfrac{35 \times 36}{2}\). Only one choice gives a sum of the form \(\dfrac{n(n+1)}{2}\) with the extra number at most \(n\).
Takeaway: the sum of 1 to \(n\) is \(\dfrac{n(n+1)}{2}\). Estimate \(n\) with \(\sqrt{2 \times \text{total}}\), then check the numbers right around it.
Answer: B