Cannabis Ruderalis

In mathematics, a constant-recursive sequence or C-finite sequence is a sequence satisfying a linear recurrence with constant coefficients.

Definition

An order-d homogeneous linear recurrence with constant coefficients is an equation of the form

where the d coefficients are constants.

A sequence is a constant-recursive sequence if there is an order-d homogeneous linear recurrence with constant coefficients that it satisfies for all .

Equivalently, is constant-recursive if the set of sequences

is contained in a vector space whose dimension is finite.

Examples

Fibonacci sequence

The sequence 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... of Fibonacci numbers satisfies the recurrence

with initial conditions

Explicitly, the recurrence yields the values

etc.

Lucas sequences

The sequence 2, 1, 3, 4, 7, 11, 18, 29, 47, 76, 123, 199, ... of Lucas numbers satisfies the same recurrence as the Fibonacci sequence but with initial conditions

More generally, every Lucas sequence is a constant-recursive sequence.

Geometric sequences

The geometric sequence is constant-recursive, since it satisfies the recurrence for all .

Eventually periodic sequences

A sequence that is eventually periodic with period length is constant-recursive, since it satisfies for all for some d.

Characterization in terms of exponential polynomials

The characteristic polynomial (or "auxiliary polynomial") of the recurrence is the polynomial

whose coefficients are the same as those of the recurrence. The nth term of a constant-recursive sequence can be written in terms of the roots of its characteristic polynomial. If the d roots are all distinct, then the nth term of the sequence is

where the coefficients ki are constants that can be determined by the initial conditions.

For the Fibonacci sequence, the characteristic polynomial is , whose roots and appear in Binet's formula

More generally, if a root r of the characteristic polynomial has multiplicity m, then the term is multiplied by a degree- polynomial in n. That is, let be the distinct roots of the characteristic polynomial. Then

where is a polynomial of degree . For instance, if the characteristic polynomial factors as , with the same root r occurring three times, then the nth term is of the form

[1]

Conversely, if there are polynomials such that

then is constant-recursive.

Characterization in terms of rational generating functions

A sequence is constant-recursive precisely when its generating function

is a rational function. The denominator is the polynomial obtained from the auxiliary polynomial by reversing the order of the coefficients, and the numerator is determined by the initial values of the sequence.[2]

The generating function of the Fibonacci sequence is

In general, multiplying a generating function by the polynomial

yields a series

where

If satisfies the recurrence relation

then for all . In other words,

so we obtain the rational function

In the special case of a periodic sequence satisfying for , the generating function is

by expanding the geometric series.

The generating function of the Catalan numbers is not a rational function, which implies that the Catalan numbers do not satisfy a linear recurrence with constant coefficients.

Non-homogeneous linear recurrence relations with constant coefficients

If the recurrence is non-homogeneous, a particular solution can be found by the method of undetermined coefficients and the solution is the sum of the solution of the homogeneous and the particular solutions. Another method to solve an non-homogeneous recurrence is the method of symbolic differentiation. For example, consider the following recurrence:

This is an non-homogeneous recurrence. If we substitute nn+1, we obtain the recurrence

Subtracting the original recurrence from this equation yields

or equivalently

This is a homogeneous recurrence, which can be solved by the methods explained above. In general, if a linear recurrence has the form

where are constant coefficients and p(n) is the inhomogeneity, then if p(n) is a polynomial with degree r, then this non-homogeneous recurrence can be reduced to a homogeneous recurrence by applying the method of symbolic differencing r times.

If

is the generating function of the inhomogeneity, the generating function

of the non-homogeneous recurrence

with constant coefficients ci is derived from

If P(x) is a rational generating function, A(x) is also one. The case discussed above, where pn = K is a constant, emerges as one example of this formula, with P(x) = K/(1−x). Another example, the recurrence with linear inhomogeneity, arises in the definition of the schizophrenic numbers. The solution of homogeneous recurrences is incorporated as p = P = 0.

Notes

  1. ^ Greene, Daniel H.; Knuth, Donald E. (1982), "2.1.1 Constant coefficients – A) Homogeneous equations", Mathematics for the Analysis of Algorithms (2nd ed.), Birkhäuser, p. 17.
  2. ^ Martino, Ivan; Martino, Luca (2013-11-14). "On the variety of linear recurrences and numerical semigroups". Semigroup Forum. 88 (3): 569–574. doi:10.1007/s00233-013-9551-2. ISSN 0037-1912.

References

External links

  • "OEIS Index Rec". OEIS index to a few thousand examples of linear recurrences, sorted by order (number of terms) and signature (vector of values of the constant coefficients)

Leave a Reply