User blog:Alemagno12/Analysis of AJZajac's blog post

Here's the blog post.

WIP!

Running Total
We start with R = 0. Then, we add n to the running total. Then, as the last number in the string decreases, the number we add to the running total decreases. So we add n-1 to the running total, then n-2, then n-3, all the way up to 0, which is when the game ends. So we get