Show by the Principle of Mathematical induction that the sum Sn of the n terms of the series 12+2×22+32+2×42+52+2×62+72+..... is given by Sn=⎧⎪⎨⎪⎩n(n+1)22,if n is evenn2(n+1)2,if n is odd