Can somebody suggest me how to approach this sum. How is the answer coming as `(n*(n+1))/6`

.What is the proof behind such a formula?

Thanks in advance.

Can somebody suggest me how to approach this sum. How is the answer coming as `(n*(n+1))/6`

.What is the proof behind such a formula?

Thanks in advance.