

InterviewSolution
Saved Bookmarks
1. |
The solution to the recurrence relation an=an-1+2n, with initial term a0=2 are _________(a) 4n+7(b) 2(1+n)(c) 3n^2(d) 5*(n+1)/2I got this question in a national level competition.My enquiry is from Advanced Counting Techniques in division Counting of Discrete Mathematics |
Answer» RIGHT answer is (B) 2(1+n) The best EXPLANATION: When n=1, a1=a0+2. By substitution we get, a2=a1+2 ⇒ a2=(a0+2)+2 and so on. So the solution to the recurrence relation, subject to the initial condition should be an=2+2n=2(1+n). |
|