Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lokedhs
· 8y ago · 0 comments
There is an error in the squares formula as well. The correct formula is:
(n*(n+1)*(2*n+1))/6.
Comments
[–]
weebst
8y ago
Thanks a lot for pointing these out! I've corrected them.