Hacker News new | ask | show | jobs
by darkxanthos 5602 days ago
11 - 4*(4+1)/2 = 11 - 10 = 1

n is not an index... it's the last number. I wasn't explicit, sorry. :)