Hacker News new | ask | show | jobs
by yodsanklai 3811 days ago
it's n * (n + 1) / 2 :)