GATE CSE 2022 Q36: Generating function of a_n = n + 1 for odd n, 1 otherwise
- Engineering Mathematics
- 2 marks
- MCQ
- −2/3 if wrong
Question
Which one of the following is the closed form for the generating function of the sequence defined below?
Try it: multiple choice: exactly one correct option
Wrong answer costs 2/3 mark in GATE.
Show answer and explanation
Answer: A (official GATE 2022 final answer key)
Concept used: Split , where for odd and 0 otherwise, and sum the two generating functions.
First step: ; for the rest, find by differentiating a geometric series in .
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2022 CS question paper and final answer key, organised by IIT Kharagpur. Question paper · Answer key
More Engineering Mathematics PYQs
- 2026 Session 1 · Q11Pólya urn: equal red and blue after two steps
- 2026 Session 1 · Q124×4 binary matrices with even parity in every row and column
- 2026 Session 1 · Q13Maximum multiplicity of an eigenvalue of an n×n real matrix
- 2026 Session 1 · Q20Matrix with e2 in its null space: determinant and rank
- 2026 Session 1 · Q32Continuity at 0 of c1·e^x − c2·ln(1/x)
- 2026 Session 1 · Q46Extrema and smoothness of (|x|/2 − x)(x − |x|/2)