def gauss(x): return (x+1)*x/2
You gotta admit, on an article about the difference between integer and floating-point arithmetic, that's pretty ironic!