Interactive · 1 question
A linear recurrence is a relation between the terms of a sequence which is represented as
One common recurrence is the Fibonacci sequence defined by and .
What is the the 5th term of the Fibonacci sequence()?
For a second order linear recurrence, one of the form , we can find a general formula for the th term(). Assume that we know two of the terms are already.
We have that where and are the roots of the quadratic
Now, what's up with these constants and ??
WELL....WE SOLVE FOR THESE CONSTANTS!
If we already know two of the terms let's say and , we simply have to solve these systems of linear equations for and :