The sum in question is simply an arithmetic progression with common difference 1, so I don't think there's much more that needs to be done than quote that formula (in your notation):
S = N / 2 ( G + L )
This explains why it works including zero as one of the values. I also don't think that any simplification is possible - I suppose you could, say, eliminate G so that
S = N / 2 [( N - 1 ) + 2*L ]
Which also makes a neat connection to the related triangle numbers, as in that case L=1 so that S = N(N+1)/2 is the standard formula.
For the avoidance of any doubt, in this case I am using / in the sense I was describing in the R&S thread, so that N / 2 ( G + L ) implies that N is divided by 2 only