Comment on What Did Ada Lovelace’s Program Actually Do?Comments−farhanhubble8yAmazing article! There's a bug in it though. The LHS of the sum of cubes formula ends in n^2 instead of n^3.−lokedhs8yThere is an error in the squares formula as well. The correct formula is: (n*(n+1)*(2*n+1))/6.−weebstOP8yThanks a lot for pointing these out! I've corrected them.
Comments
Amazing article! There's a bug in it though. The LHS of the sum of cubes formula ends in n^2 instead of n^3.
There is an error in the squares formula as well. The correct formula is:
Thanks a lot for pointing these out! I've corrected them.