Repeating alternating signs
Alternating Sequences
Define S(n)=1-2+3-4+... with alternating signs through n. What is S(200)? Enter the magnitude of this sum as a positive integer. Submit one integer.
Learning goal: Pair each positive and negative consecutive term.
Look for the underlying structure rather than guessing the next number. Submit only the final integer; you can open hints below as needed.
Check your answer without signing in. Sign in to save your progress.
Hints
Hint 1
Group (1-2)+(3-4)+... .
Hint 2
Each pair contributes -1.
Hint 3
There are 100 pairs; report the magnitude.
Common mistake to avoid
Assuming the first visible step stays constant without testing the full pattern.
How to approach this problem
Pair adjacent positive and negative terms. Each pair contributes the same signed amount; apply the requested magnitude only after summing.
Worked example with different values
1−2+3−4+5−6 = −3, whose magnitude is 3.
Apply the same reasoning to the challenge. This example is a separate practice problem.
Learn the technique: Sequence patterns: differences, recurrences and interleaving