Question
Consider the recurrence relation , . Let . The value of is _____.
Official answer and solution
- Accepted answers
- 197.9 to 198.1
- From
- Official GATE 2016 answer key
Solution
Express the recurrence as a summation and evaluate using formulas for and .
The recurrence relation is:
with base condition .
Notice that for , . Therefore, assuming , we can express as:
Substitute the standard summation formulas:
Evaluate for :
We are given . Equating gives .
Final answer
198
Common trap
Summing from to 99 and adding a second time.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2016 Computer Science and Information Technology (CS) Session 1
- Question
- 37 of 65, printed as CS Q.27
- 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.