I came across this problem the other day. It is as follows:
The strange sum is as follows. Starting at the any term in a set, when the next term is added to the 'tally', the second term is subtracted from the first if the result is nonnegative, otherwise it is added to the tally. Then the third term is subtracted from the strange sum if the result is nonnegative, otherwise it is added to the 'strange sum'. Repeat the process. For example, the 'strange sum' of the sequence $1, 3, 4, 2, 5$ is $1+3-4+2+5=7$
Suppose there is a list of numbers from $1$ to $100$ in some order. What is the largest possible 'strange sum'?
I couldn't find any clear pattern. However, I did notice that if the sum of the first $99$ terms is $99$, then $100$ can be added, hence making the total sum $199$. Any thoughts on this problem?
(edit) I just realised that $199$ is impossible as the sum of the first $99$ natural numbers is even and so it would be impossible to achieve a 'strange sum' of $99$. That would mean that $198$ is the next highest possibility. $98$ is achievable via the 'strange sum' by the first $99$ natural numbers in some order, though I still have not been able to constitute a proof for $198$.