5. Two possible solutions are given here.
Solution 1: In the given equation, replace every occurence of n by (n + 1).
| n + 1 | i2 | = | 
 | ||
| S | |||||
| i = 1 | |||||
| = | 
 | 
Solution 2: Split up the required sum into the sum of the first n terms and the final term. Then substitute and simplify.
| n + 1 | i2 | = | n | i2 | + | (n + 1)2 | |||||
| S | S | ||||||||||
| i = 1 | i = 1 | ||||||||||
| = | 
 | ||||||||||
| = | 
 | ||||||||||
| = | 
 | ||||||||||
| = | 
 | ||||||||||