Skip to main content

GATE CSE 2017Combinatory › Recurrence Relations & Generating FunctionsVerified

GATE CSE 2017 PYQ: If the ordinary generating function of a sequence { a n } n = 0 ∞ \left \{a_n\right \}_{n=0}^\infty { a n ​…

If the ordinary generating function of a sequence {an}n=0∞\left \{a_n\right \}_{n=0}^\infty  is 1+z(1−z)3\large \frac{1+z}{(1-z)^3}, then a3−a0a_3-a_0 is equal to ___________ .

    Answer

    15

    Approach

    Expand the given ordinary generating function into a power series and read off the coefficients of $z^0$ and $z^3$.

    The coefficient of $z^3$ is $10+6=16$, while the constant term is 1, so $a_3-a_0=15$.

    Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.