([sum(n) for n=1 to 1000]-[Integral [(x(x+1)/2) - (x-1)((x-1)+1)/2] for x from 1 to 1000])/[sum(n) for n=1 to 1000]