GATE CS 2022 · Question 36 · Engineering Mathematics · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

Which one of the following is the closed form for the generating function of the sequence {aₙ}_(n ≥ 0) defined below?
aₙ = n+1, n is odd ; 1, otherwise

  1. (A) x(1+x²)/(1-x²)² + 1/(1-x)
  2. (B) x(3-x²)/(1-x²)² + 1/(1-x)
  3. (C) 2x/(1-x²)² + 1/(1-x)
  4. (D) x/(1-x²)² + 1/(1-x)
Answer

Answer (A)

Answer from the official GATE CS 2022 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes