Question
Consider the following recurrence relation:
Which ONE of the following options is CORRECT?
Official answer and solution
- Official answer
- A
- From
- Official GATE 2025 answer key
Solution
Divide both sides of the recurrence by and telescope the resulting sum.
Dividing the recurrence by yields:
Let with . Unrolling the recurrence gives:
Multiplying back by , we obtain:
Final answer
Option (A)
Common trap
Forgetting that terms of order sum to rather than .
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2025 Computer Science and Information Technology - Session 1 (CS1)
- Question
- 20 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.