An inhomogeneous linear recurrence has a prescribed forcing sequence rather than zero on the right. The difference of two solutions satisfies the associated homogeneous linear recurrence relation, so every solution is a particular solution plus a homogeneous solution.
The unit-response sequence , is six-periodic. In the displayed convolution, all older terms cancel under by this recurrence; the two new boundary terms reduce to . Thus it gives a particular solution of the inhomogeneous linear recurrence with forcing . Add the two-dimensional homogeneous span of and for the general solution. This is a discrete Green function construction.
Let be the forward shift on sequences and the polynomial defining a constant-coefficient linear recurrence relation. For a nonzero base , , so is a particular solution when . At a simple root of the characteristic equation of a linear recurrence, the correct trial acquires a factor :
The identity follows by substituting into each shift term. A root of multiplicity analogously requires a degree- polynomial factor; the lower-degree homogeneous terms are supplied by the repeated characteristic root of a linear recurrence.

Articles by others on the same topic (0)

There are currently no matching articles.