Which one of the following is a closed form expression for the generating function of the sequence , where ?
GATE CSE 2018Combinatory › Recurrence Relations & Generating FunctionsVerified
GATE CSE 2018 PYQ: Which one of the following is a closed form expression for the generating function of the sequence { a n }…
- A
- B
- C
- DCorrect answer
Answer
(D) 3 − x ( 1 − x ) 2 \frac{3-x}{(1-x)^2} ( 1 − x ) 2 3 − x
Approach
Use the definition of an ordinary generating function and decompose it by linearity into a constant part and a linear part, then apply standard power-series identities.
The sequence is $a_n=2n+3$, so its ordinary generating function is $\sum(2n+3)x^n$. Using standard identities gives $G(x)=\frac{2x}{(1-x)^2}+\frac{3}{1-x}=\frac{3-x}{(1-x)^2}$. Hence option D is correct.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.