News for hackers. Stuff that matters.
Re:Project Euler by nhebb on Monday December 11, 2017 @01:51AM (#15895556)
> Isn't sum(1...n) - sum(1...n-1) just n?

Yes. I meant n^2 = sum(1..n-1) + sum(1..n).

There are no comments on this comment yet.