- #1
shamieh
- 539
- 0
Derive an exact formula (solve the recurrence definition) for the following recursive sequence: $s_n = 2_{s_n-1} - s_{n-2}$ where $n \ge 2$, and $s_0 = 4$, $s_1 = 1$.
So I saw someone solving this by making it a differential equation or something?
How would you do that? should I do
let $\alpha = C_1$ let $\beta = C_2$ (because those symbols are ugly)
$r^2 - 2r + 1$ to get:
$r = 1$, $r = 1$
= $C_11^n + C_2n1^n$ ?
But how do I find my $C_1$ and $C_2$ ?
By the way this is a Discrete Mathematics course, not Calculus 4 course.
So I saw someone solving this by making it a differential equation or something?
How would you do that? should I do
let $\alpha = C_1$ let $\beta = C_2$ (because those symbols are ugly)
$r^2 - 2r + 1$ to get:
$r = 1$, $r = 1$
= $C_11^n + C_2n1^n$ ?
But how do I find my $C_1$ and $C_2$ ?
By the way this is a Discrete Mathematics course, not Calculus 4 course.