The sum of first n terms of the series 12+2⋅22+32+2⋅42+52+2⋅62+72+⋯ is n(n+1)22 when n is even,when n is odd,the sum is