For the homogeneous linear recurrence relation, try . Its characteristic equation of a linear recurrence is
The distinct roots of a polynomial give the complementary terms . A constant cannot absorb the forcing because is already a root of a polynomial of the characteristic equation; try a particular solution . Substitution gives , hence . The general solution is .
The initial conditions give and . Hence , , and
The homogeneous characteristic equation of a linear recurrence is
The repeated characteristic root of a linear recurrence supplies the independent terms and . A constant particular solution is , since . Thus .
The scan prints , not . These initial conditions are consistent. They give from , then , so . Therefore
In particular and . Direct substitution verifies the recurrence relation. This is an example of nonconsecutive initial values for a linear recurrence; replacing the printed subscript by 1 would change the answer.

Articles by others on the same topic (0)

There are currently no matching articles.