A = (1 + 5 + 9 + ... + 97) + (2 - 3 - 4 - 6 - 7 - 8 - 10 - 11 - 12 - ... - 98 - 99 - 100)
A = 2(1 + 5 + 9 + ... + 97) - (1 + 2 + 3 + 4 + 5 + ... + 97 + 98 + 99 + 100)
A = \(2\times\dfrac{\left(1+97\right).\left[\left(97-1\right):4+1\right]}{2}-\dfrac{\left(100+1\right).\left[\left(100-1\right):1+1\right]}{2}=2450-5050-2600\)