By binomial theorem we see that,
1,n−1,(n−3)(n−2)2!,(n−5)(n−4)(n−3)3!,... are the co efficient of xn,xn−2,xn−4,.... in the expansion of (1−x)−1,(1−x)−2,(1−x)−3,... respectively. Hence the sum required is equal to the co efficient of xn in the expansion of the series;-
11−bx−ax2(1−bx)2+a2x4(1−bx)3−a3x6(1−bx)4+....
Where a=1,b=2...
∴ The sum of the series;-
S=(11−bx)÷(1+ax21−bx)
=11−bx×1−bx1−bx+ax2
=11−bx+ax2
b=2,a=1
S=11−2x+x2=(1−x)−2
S= co efficient of xn in (1−x)−2
=n+1
By putting a=1,b=1 we get sum of second series;-
S=11−x+x2 is coefficient of xn
=coefficient of xn in 1+x1+x3
= coefficient of xn in (1+x)(1+x3)−1 and since n is a multiple of 3, the co efficient of xn is unity and is negative when n is odd, and positive when n is even.
S=(−1)n