Having trouble finding a closed form expression that applies for all $n$. I tried looking at $T_3, T_4, T_5,$ and $T_6$ to see some pattern but found none. Is there a kind of trick for these problems?
Asked
Active
Viewed 140 times
0
-
There a re several answers here that would help. – Arnaud D. May 07 '20 at 09:13
1 Answers
0
One way to solve such a recurrence relation is to find roots of the characteristic equation,
which in this case is $x^2=(x+1)/2$, so the roots are $1$ and $-\frac12$,
so $T_n=A+B\left(-\frac12\right)^n$. Use the fact that $T_1=1$ and $T_2=2$ to solve for $A$ and $B$.

J. W. Tanner
- 60,406
-
Can I use T1 = 1 and T2 = 2 even though the equation I'm trying to find only applies to n ≥ 3? – My Boi May 05 '20 at 21:26
-