Answer: 15
We are given the ordinary generating function of the sequence {an}n=0∞:
G(z)=n=0∑∞anzn=(1−z)31+z
Using the standard binomial expansion for negative integer exponents, we have:
(1−z)31=n=0∑∞(2n+2)zn
Let's write down the first few terms of this series:
(1−z)31=(22)+(23)z+(24)z2+(25)z3+…
(1−z)31=1+3z+6z2+10z3+15z4+…
Now, multiply this series by (1+z) to obtain G(z):
G(z)=(1+z)(1+3z+6z2+10z3+15z4+…)
G(z)=(1+3z+6z2+10z3+…)+(z+3z2+6z3+10z4+…)
Grouping the terms by powers of z:
G(z)=1+(3+1)z+(6+3)z2+(10+6)z3+(15+10)z4+…
G(z)=1+4z+9z2+16z3+25z4+…
Comparing this with G(z)=a0+a1z+a2z2+a3z3+…, we get:
- a0=1
- a3=16
Therefore, the required value is:
a3−a0=16−1=15