Question
Which one of the following is the closed form for the generating function of the sequence defined below?
Official answer and solution
- Official answer
- A
- From
- Official GATE 2022 answer key
Solution
Decompose the sequence into a constant base sequence and an odd-indexed linear term.
The sequence is defined as:
We can decompose as , where:
The generating function for the constant sequence is:
For , only the odd terms are non-zero: .
Letting :
Multiplying by gives . Adding the constant component :
This matches Option (A).
Option (A)
Omitting the factor in front of the odd power series.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2022 Computer Science and Information Technology (CS)
- Question
- 36 of 65
- 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.