Let's re-state the challenge.

What is the value of the following expression where all the whole numbers 1 through 99 are included and the repeated operations are add, add, subtract?

0 + 1 + 2 – 3 + 4 + 5 – 6 + 7 + 8 – 9 + . . . + 97 + 98 – 99

I chose this investigation because I thought it would be a nice introduction to doing write-ups.

When I began this investigation I wanted to write a formula to recognize the pattern.  I tried using consecutive numbers, but found that did not solve the problem.  I went to a spreadsheet and originally tried to enter a new formula on each line hoping that the spreadsheet might recognize the repeating pattern or some magic formula would appear.  This was unsuccessful.

Then I tried doing the math by pencil paper method.  I still did not see a pattern.

Only when I broke up the segments (add add subtract), did I find a pattern.  The individual segments increased by three.  I was then able to use a formula in a spreadsheet to complete my calculations and arrive at the end value of 1584.