Monday, October 2, 2017

summation - Find the sum of the squares of the first $n$ natural numbers

I've been asked to find the sum of the squares of the first $n$ natural numbers.



My initial thought was to just program a brute-force solution but I was wondering if there is a mathematical formula to come up with the answers.




I've made a table of all differences etc but I can't seem to find a suitable formula. How would I go about finding one, and is there even one?

No comments:

Post a Comment

analysis - Injection, making bijection

I have injection $f \colon A \rightarrow B$ and I want to get bijection. Can I just resting codomain to $f(A)$? I know that every function i...