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