D=1212+2222+3232+....+ n2n2
D=1+ 2.(1+1) + 3.(2+1) +.....+ n(n-1 +1)
D=1 + 1.2 +2 + 2.3 + 3 +.......+ (n-1).n + n
D= (1 + 2 +3 +....+n) + (1.2 + 2.3 + 3.4 + ......+ (n-1)n )
D= n(n+1)2n(n+1)2 + n(n+1)(n−1)3n(n+1)(n−1)3
D= 3n(n+1)+2n(n+1)(n−1)63n(n+1)+2n(n+1)(n−1)6
D= n(n+1)(2n+1)6