Hacker News new | ask | show | jobs
by anonymousDan 1480 days ago
Isn't this the famous Gauss proof/algorithm that he came up with when he was 5 or something?
2 comments

I'm sure he got there earlier than almost anyone!

Just googled it, and it looks like he did is a little differently. He paired 1 with n and then 2 with n-1, etc... yielding n/2 pairs that add up to n+1. It still works out to (n+1) * n/2, though :)

Apparently biographers disagreed about his age at the time but they all had the same method and the same problem of summing numbers from 1 to 100.

That story is apocryphal.