The statement to be proved is:
P(n):12+22+..+n2=16n(n+1)(2n+1)
Step 1: Verify that P(n) is true for n=1
P(1):161(1+1)(2+1)
P(1):1=1
Therefore, P(1) is true.
Step 2: Assume that the statement is true for n=k
Let us assume that the below statement is true:
P(k):12+22+..+k2=16k(k+1)(2k+1)
Step 3: Verify that the statement is true for n=k+1
We need to prove that:
12+22+..+(k+1)2=16(k+1)(k+2)(2k+3)
LHS=12+22+...+(k+1)2
=16k(k+1)(2k+1)+(k+1)2
=(k+1)(16k(2k+1)+(k+1))
=(k+1)(k(2k+1)+6(k+1)6)
=k+16(2k2+7k+6)
=k+16(2k2+3k+4k+6)
=k+16(k(2k+3)+2(2k+3))
=16(k+1)(k+2)(2k+3)
=RHS
Hence, P(n) is true for all values of n by principle of mathematical induction.