Question: Given the recursion t n = t n -1 +2n (with t 1 =1) You experimented through substitution as follows: t 1 =1 t 2
Given the recursion
tn = tn-1+2n (with t1=1) You experimented through substitution as follows:
t1=1
t2=5
t3=11
t4=19
This leads you to believe the solution to the recursion might be n2+n-1. Use induction to prove the candidate solution is correct.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
