Question
Which one of the following is a closed form expression for the generating function of the sequence , where for all ?
Official answer and solution
- Official answer
- D
- From
- Official GATE 2018 answer key
Solution
Use the standard generating function series expansions for constant and linear terms.
The generating function for a sequence is defined as:
Recall the standard closed-form expressions:
Taking the derivative with respect to and multiplying by :
Substitute these into :
Final answer
D
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2018 Computer Science and Information Technology (CS)
- Question
- 11 of 65, printed as CS Q.1
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.