Hacker News new | ask | show | jobs
by aamargulies 784 days ago
sum of i: 0,n = n(n+1)/2 not n(n-1)/2
1 comments

Oh, good catch. Corrected.