constant-recursive sequence
   HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, an
infinite sequence In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is call ...
of
number A number is a mathematical object used to count, measure, and label. The most basic examples are the natural numbers 1, 2, 3, 4, and so forth. Numbers can be represented in language with number words. More universally, individual numbers can ...
s s_0, s_1, s_2, s_3, \ldots is called constant-recursive if it satisfies an equation of the form :s_n = c_1 s_ + c_2 s_ + \dots + c_d s_, for all n \ge d, where c_i are constants. The equation is called a linear recurrence relation. The concept is also known as a linear recurrence sequence, linear-recursive sequence, linear-recurrent sequence, or a C-finite sequence. For example, the
Fibonacci sequence In mathematics, the Fibonacci sequence is a Integer sequence, sequence in which each element is the sum of the two elements that precede it. Numbers that are part of the Fibonacci sequence are known as Fibonacci numbers, commonly denoted . Many w ...
:0, 1, 1, 2, 3, 5, 8, 13, \ldots, is constant-recursive because it satisfies the linear recurrence F_n = F_ + F_: each number in the sequence is the sum of the previous two. Other examples include the
power of two A power of two is a number of the form where is an integer, that is, the result of exponentiation with number 2, two as the Base (exponentiation), base and integer  as the exponent. In the fast-growing hierarchy, is exactly equal to f_1^ ...
sequence 1, 2, 4, 8, 16, \ldots, where each number is the sum of twice the previous number, and the
square number In mathematics, a square number or perfect square is an integer that is the square (algebra), square of an integer; in other words, it is the multiplication, product of some integer with itself. For example, 9 is a square number, since it equals ...
sequence 0, 1, 4, 9, 16, 25, \ldots. All
arithmetic progression An arithmetic progression or arithmetic sequence is a sequence of numbers such that the difference from any succeeding term to its preceding term remains constant throughout the sequence. The constant difference is called common difference of that ...
s, all
geometric progression A geometric progression, also known as a geometric sequence, is a mathematical sequence of non-zero numbers where each term after the first is found by multiplying the previous one by a fixed number called the ''common ratio''. For example, the s ...
s, and all
polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
s are constant-recursive. However, not all sequences are constant-recursive; for example, the
factorial In mathematics, the factorial of a non-negative denoted is the Product (mathematics), product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial: \begin n! &= n \times ...
sequence 1, 1, 2, 6, 24, 120, \ldots is not constant-recursive. Constant-recursive sequences are studied in
combinatorics Combinatorics is an area of mathematics primarily concerned with counting, both as a means and as an end to obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many ...
and the theory of
finite difference A finite difference is a mathematical expression of the form . Finite differences (or the associated difference quotients) are often used as approximations of derivatives, such as in numerical differentiation. The difference operator, commonly d ...
s. They also arise in
algebraic number theory Algebraic number theory is a branch of number theory that uses the techniques of abstract algebra to study the integers, rational numbers, and their generalizations. Number-theoretic questions are expressed in terms of properties of algebraic ob ...
, due to the relation of the sequence to polynomial roots; in the
analysis of algorithms In computer science, the analysis of algorithms is the process of finding the computational complexity of algorithms—the amount of time, storage, or other resources needed to execute them. Usually, this involves determining a function that r ...
, as the running time of simple recursive functions; and in the theory of
formal language In logic, mathematics, computer science, and linguistics, a formal language is a set of strings whose symbols are taken from a set called "alphabet". The alphabet of a formal language consists of symbols that concatenate into strings (also c ...
s, where they count strings up to a given length in a
regular language In theoretical computer science and formal language theory, a regular language (also called a rational language) is a formal language that can be defined by a regular expression, in the strict sense in theoretical computer science (as opposed to ...
. Constant-recursive sequences are closed under important mathematical operations such as term-wise
addition Addition (usually signified by the Plus and minus signs#Plus sign, plus symbol, +) is one of the four basic Operation (mathematics), operations of arithmetic, the other three being subtraction, multiplication, and Division (mathematics), divis ...
, term-wise
multiplication Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
, and
Cauchy product In mathematics, more specifically in mathematical analysis, the Cauchy product is the discrete convolution of two infinite series. It is named after the French mathematician Augustin-Louis Cauchy. Definitions The Cauchy product may apply to infin ...
. The
Skolem–Mahler–Lech theorem In additive and algebraic number theory, the Skolem–Mahler–Lech theorem states that if a sequence of numbers satisfies a linear difference equation, then with finitely many exceptions the positions at which the sequence is zero form a regularl ...
states that the zeros of a constant-recursive sequence have a regularly repeating (eventually periodic) form. The
Skolem problem In mathematics, the Skolem problem is the problem of determining whether the values of a constant-recursive sequence include the number zero. The problem can be formulated for recurrences over different types of numbers, including integers, rati ...
, which asks for an
algorithm In mathematics and computer science, an algorithm () is a finite sequence of Rigour#Mathematics, mathematically rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algo ...
to determine whether a linear recurrence has at least one zero, is an unsolved problem in mathematics.


Definition

A constant-recursive sequence is any sequence of
integer An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
s,
rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (for example, The set of all ...
s,
algebraic number In mathematics, an algebraic number is a number that is a root of a function, root of a non-zero polynomial in one variable with integer (or, equivalently, Rational number, rational) coefficients. For example, the golden ratio (1 + \sqrt)/2 is ...
s,
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s, or
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s s_0, s_1, s_2, s_3, \ldots (written as (s_n)_^\infty as a shorthand) satisfying a formula of the form s_n = c_1 s_ + c_2 s_ + \dots + c_d s_, for all n \ge d, for some fixed
coefficient In mathematics, a coefficient is a Factor (arithmetic), multiplicative factor involved in some Summand, term of a polynomial, a series (mathematics), series, or any other type of expression (mathematics), expression. It may be a Dimensionless qu ...
s c_1, c_2, \dots, c_d ranging over the same domain as the sequence (integers, rational numbers, algebraic numbers, real numbers, or complex numbers). The equation is called a linear recurrence with constant coefficients of order ''d''. The ''order'' of the sequence is the smallest positive integer d such that the sequence satisfies a recurrence of order ''d'', or d = 0 for the everywhere-zero sequence. The definition above allows eventually- periodic sequences such as 1, 0, 0, 0, \ldots and 0, 1, 0, 0, \ldots. Some authors require that c_d \ne 0, which excludes such sequences.


Examples


Fibonacci and Lucas sequences

The sequence 0, 1, 1, 2, 3, 5, 8, 13, ... of
Fibonacci number In mathematics, the Fibonacci sequence is a Integer sequence, sequence in which each element is the sum of the two elements that precede it. Numbers that are part of the Fibonacci sequence are known as Fibonacci numbers, commonly denoted . Many w ...
s is constant-recursive of order 2 because it satisfies the recurrence F_n = F_ + F_ with F_0 = 0, F_1 = 1. For example, F_2 = F_1 + F_0 = 1 + 0 = 1 and F_6 = F_5 + F_4 = 5 + 3 = 8. The sequence 2, 1, 3, 4, 7, 11, ... of
Lucas number The Lucas sequence is an integer sequence named after the mathematician François Édouard Anatole Lucas (1842–1891), who studied both that sequence and the closely related Fibonacci sequence. Individual numbers in the Lucas sequence ar ...
s satisfies the same recurrence as the Fibonacci sequence but with initial conditions L_0 = 2 and L_1 = 1. More generally, every
Lucas sequence In mathematics, the Lucas sequences U_n(P,Q) and V_n(P, Q) are certain constant-recursive integer sequences that satisfy the recurrence relation : x_n = P \cdot x_ - Q \cdot x_ where P and Q are fixed integers. Any sequence satisfying this rec ...
is constant-recursive of order 2.


Arithmetic progressions

For any a and any r \ne 0, the
arithmetic progression An arithmetic progression or arithmetic sequence is a sequence of numbers such that the difference from any succeeding term to its preceding term remains constant throughout the sequence. The constant difference is called common difference of that ...
a, a+r, a+2r, \ldots is constant-recursive of order 2, because it satisfies s_n = 2s_ - s_. Generalizing this, see polynomial sequences below.


Geometric progressions

For any a \ne 0 and r, the
geometric progression A geometric progression, also known as a geometric sequence, is a mathematical sequence of non-zero numbers where each term after the first is found by multiplying the previous one by a fixed number called the ''common ratio''. For example, the s ...
a, a r, a r^2, \ldots is constant-recursive of order 1, because it satisfies s_n = r s_. This includes, for example, the sequence 1, 2, 4, 8, 16, ... as well as the rational number sequence 1, \frac12, \frac14, \frac18, \frac, ....


Eventually periodic sequences

A sequence that is eventually periodic with period length \ell is constant-recursive, since it satisfies s_n = s_ for all n \geq d, where the order d is the length of the initial segment including the first repeating block. Examples of such sequences are 1, 0, 0, 0, ... (order 1) and 1, 6, 6, 6, ... (order 2).


Polynomial sequences

A sequence defined by a polynomial s_n = a_0 + a_1 n + a_2 n^2 + \cdots + a_d n^d is constant-recursive. The sequence satisfies a recurrence of order d + 1 (where d is the degree of the polynomial), with coefficients given by the corresponding element of the binomial transform. The first few such equations are : s_n = 1 \cdot s_ for a degree 0 (that is, constant) polynomial, : s_n = 2\cdot s_ - 1\cdot s_ for a degree 1 or less polynomial, : s_n = 3\cdot s_ - 3\cdot s_ + 1\cdot s_ for a degree 2 or less polynomial, and : s_n = 4\cdot s_ - 6\cdot s_ + 4\cdot s_ - 1\cdot s_ for a degree 3 or less polynomial. A sequence obeying the order-''d'' equation also obeys all higher order equations. These identities may be proved in a number of ways, including via the theory of
finite difference A finite difference is a mathematical expression of the form . Finite differences (or the associated difference quotients) are often used as approximations of derivatives, such as in numerical differentiation. The difference operator, commonly d ...
s. Any sequence of d + 1 integer, real, or complex values can be used as initial conditions for a constant-recursive sequence of order d + 1. If the initial conditions lie on a polynomial of degree d - 1 or less, then the constant-recursive sequence also obeys a lower order equation.


Enumeration of words in a regular language

Let L be a
regular language In theoretical computer science and formal language theory, a regular language (also called a rational language) is a formal language that can be defined by a regular expression, in the strict sense in theoretical computer science (as opposed to ...
, and let s_n be the number of words of length n in L. Then (s_n)_^\infty is constant-recursive. For example, s_n = 2^n for the language of all binary strings, s_n = 1 for the language of all unary strings, and s_n = F_ for the language of all binary strings that do not have two consecutive ones. More generally, any function accepted by a weighted automaton over the unary alphabet \Sigma = \ over the
semiring In abstract algebra, a semiring is an algebraic structure. Semirings are a generalization of rings, dropping the requirement that each element must have an additive inverse. At the same time, semirings are a generalization of bounded distribu ...
(\mathbb, +, \times) (which is in fact a
ring (The) Ring(s) may refer to: * Ring (jewellery), a round band, usually made of metal, worn as ornamental jewelry * To make a sound with a bell, and the sound made by a bell Arts, entertainment, and media Film and TV * ''The Ring'' (franchise), a ...
, and even a field) is constant-recursive.


Other examples

The sequences of Jacobsthal numbers, Padovan numbers,
Pell number In mathematics, the Pell numbers are an infinite sequence of integers, known since ancient times, that comprise the denominators of the closest rational approximations to the square root of 2. This sequence of approximations begins , , , , an ...
s, and Perrin numbers are constant-recursive.


Non-examples

The
factorial In mathematics, the factorial of a non-negative denoted is the Product (mathematics), product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial: \begin n! &= n \times ...
sequence 1, 1, 2, 6, 24, 120, 720, \ldots is not constant-recursive. More generally, every constant-recursive function is asymptotically bounded by an exponential function (see #Closed-form characterization) and the factorial sequence grows faster than this. The Catalan sequence 1, 1, 2, 5, 14, 42, 132, \ldots is not constant-recursive. This is because the generating function of the Catalan numbers is not a
rational function In mathematics, a rational function is any function that can be defined by a rational fraction, which is an algebraic fraction such that both the numerator and the denominator are polynomials. The coefficients of the polynomials need not be ...
(see #Equivalent definitions).


Equivalent definitions


In terms of matrices

, -style="text-align:center;" , F_n = \begin0 & 1\end \begin1 & 1 \\ 1 & 0\end^n \begin1 \\ 0\end. A sequence (s_n)_^\infty is constant-recursive of order less than or equal to d if and only if it can be written as :s_n = u A^n v where u is a 1 \times d vector, A is a d \times d
matrix Matrix (: matrices or matrixes) or MATRIX may refer to: Science and mathematics * Matrix (mathematics), a rectangular array of numbers, symbols or expressions * Matrix (logic), part of a formula in prenex normal form * Matrix (biology), the m ...
, and v is a d \times 1 vector, where the elements come from the same domain (integers, rational numbers, algebraic numbers, real numbers, or complex numbers) as the original sequence. Specifically, v can be taken to be the first d values of the sequence, A the
linear transformation In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pr ...
that computes s_, s_, \ldots, s_ from s_n, s_, \ldots, s_, and u the vector , 0, \ldots, 0, 1/math>.


In terms of non-homogeneous linear recurrences

, - class="wikitable" ! Non-homogeneous !! Homogeneous , - align = "center" , s_n = 1 + s_ , s_n = 2s_ - s_ , - align = "center" , s_0 = 0 , s_0 = 0; s_1 = 1 A non-homogeneous linear recurrence is an equation of the form :s_n = c_1 s_ + c_2 s_ + \dots + c_d s_ + c where c is an additional constant. Any sequence satisfying a non-homogeneous linear recurrence is constant-recursive. This is because subtracting the equation for s_ from the equation for s_n yields a homogeneous recurrence for s_n - s_, from which we can solve for s_n to obtain :\begins_n = &(c_1 + 1) s_ \\ &+ (c_2 - c_1) s_ + \dots + (c_d - c_) s_ \\&- c_d s_.\end


In terms of generating functions

, -style="text-align:center;" , \sum_^\infty F_n x^n = \frac. A sequence is constant-recursive precisely when its
generating function In mathematics, a generating function is a representation of an infinite sequence of numbers as the coefficients of a formal power series. Generating functions are often expressed in closed form (rather than as a series), by some expression invo ...
:\sum_^\infty s_n x^n = s_0 + s_1 x^1 + s_2 x^2 + s_3 x^3 + \cdots is a rational function p(x) \,/\, q(x), where p and q are polynomials and q(0) = 1. Moreover, the order of the sequence is the minimum d such that it has such a form with \text q(x) \le d and \text p(x) < d. 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: :\sum_^\infty s_n x^n = \frac, where :b_n = s_n - c_1 s_ - c_2 s_ - \dots - c_d s_. It follows from the above that the denominator q(x) must be a polynomial not divisible by x (and in particular nonzero).


In terms of sequence spaces

, -align=center , \ A sequence (s_n)_^\infty is constant-recursive if and only if the set of sequences :\left\ is contained in a
sequence space In functional analysis and related areas of mathematics, a sequence space is a vector space whose elements are infinite sequences of real or complex numbers. Equivalently, it is a function space whose elements are functions from the natural num ...
(
vector space In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
of sequences) whose
dimension In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coo ...
is finite. That is, (s_n)_^\infty is contained in a finite-dimensional subspace of \mathbb^\mathbb closed under the left-shift operator. This characterization is because the order-d linear recurrence relation can be understood as a proof of linear dependence between the sequences (s_)_^\infty for r=0, \ldots, d. An extension of this argument shows that the order of the sequence is equal to the dimension of the sequence space generated by (s_)_^\infty for all r.


Closed-form characterization

, -align=center , F_n = \frac(1.618\ldots)^n - \frac(-0.618\ldots)^n Constant-recursive sequences admit the following unique closed form characterization using exponential polynomials: every constant-recursive sequence can be written in the form :s_n = z_n + k_1(n) r_1^n + k_2(n) r_2^n + \cdots + k_e(n) r_e^n, for all n \ge 0, where * The term z_n is a sequence which is zero for all n \ge d (where d is the order of the sequence); * The terms k_1(n), k_2(n), \ldots, k_e(n) are complex polynomials; and * The terms r_1, r_2, \ldots, r_k are distinct complex constants. This characterization is exact: every sequence of complex numbers that can be written in the above form is constant-recursive. For example, the Fibonacci number F_n is written in this form using
Binet's formula In mathematics, the Fibonacci sequence is a Integer sequence, sequence in which each element is the sum of the two elements that precede it. Numbers that are part of the Fibonacci sequence are known as Fibonacci numbers, commonly denoted . Many w ...
: :F_n = \frac\varphi^n - \frac\psi^n, where \varphi = (1 + \sqrt) \,/\, 2 \approx 1.61803\ldots is the
golden ratio In mathematics, two quantities are in the golden ratio if their ratio is the same as the ratio of their summation, sum to the larger of the two quantities. Expressed algebraically, for quantities and with , is in a golden ratio to if \fr ...
and \psi = -1 \,/\, \varphi. These are the roots of the equation x^2 - x - 1 = 0. In this case, e=2, z_n = 0 for all n, k_1(n) = k_2(n) = 1 \,/\, \sqrt are both constant polynomials, r_1 = \varphi, and r_2 = \psi. The term z_n is only needed when c_d\ne 0; if c_d = 0 then it corrects for the fact that some initial values may be exceptions to the general recurrence. In particular, z_n = 0 for all n \ge d. The complex numbers r_1, \ldots, r_n are the roots of the
characteristic polynomial In linear algebra, the characteristic polynomial of a square matrix is a polynomial which is invariant under matrix similarity and has the eigenvalues as roots. It has the determinant and the trace of the matrix among its coefficients. The ...
of the recurrence: :x^d - c_1 x^ - \dots - c_ x - c_d whose coefficients are the same as those of the recurrence. We call r_1, \ldots , r_n the characteristic roots of the recurrence. If the sequence consists of integers or rational numbers, the roots will be
algebraic number In mathematics, an algebraic number is a number that is a root of a function, root of a non-zero polynomial in one variable with integer (or, equivalently, Rational number, rational) coefficients. For example, the golden ratio (1 + \sqrt)/2 is ...
s. If the d roots r_1, r_2, \dots, r_d are all distinct, then the polynomials k_i(n) are all constants, which can be determined from the initial values of the sequence. If the roots of the characteristic polynomial are not distinct, and r_i is a root of multiplicity m, then k_i(n) in the formula has degree m - 1. For instance, if the characteristic polynomial factors as (x-r)^3, with the same root ''r'' occurring three times, then the nth term is of the form s_n = (a + b n + c n^2) r^n.


Closure properties


Examples

The sum of two constant-recursive sequences is also constant-recursive. For example, the sum of s_n = 2^n and t_n = n is u_n = 2^n + n (1, 3, 6, 11, 20, \ldots), which satisfies the recurrence u_n = 4u_ - 5u_ + 2u_. The new recurrence can be found by adding the generating functions for each sequence. Similarly, the product of two constant-recursive sequences is constant-recursive. For example, the product of s_n = 2^n and t_n = n is u_n = n \cdot 2^n (0, 2, 8, 24, 64, \ldots), which satisfies the recurrence u_n = 4 u_ - 4 u_. The left-shift sequence u_n = s_ and the right-shift sequence u_n = s_ (with u_0 = 0) are constant-recursive because they satisfy the same recurrence relation. For example, because s_n = 2^n is constant-recursive, so is u_n = 2^.


List of operations

In general, constant-recursive sequences are closed under the following operations, where s = (s_n)_, t = (t_n)_ denote constant-recursive sequences, f(x), g(x) are their generating functions, and d, e are their orders, respectively. The closure under term-wise addition and multiplication follows from the closed-form characterization in terms of exponential polynomials. The closure under Cauchy product follows from the generating function characterization. The requirement s_0 = 1 for Cauchy inverse is necessary for the case of integer sequences, but can be replaced by s_0 \ne 0 if the sequence is over any field (rational, algebraic, real, or complex numbers).


Behavior


Zeros

Despite satisfying a simple local formula, a constant-recursive sequence can exhibit complicated global behavior. Define a ''zero'' of a constant-recursive sequence to be a nonnegative integer n such that s_n = 0. The Skolem–Mahler–Lech theorem states that the zeros of the sequence are eventually repeating: there exists constants M and N such that for all n > M, s_n = 0 if and only if s_ = 0. This result holds for a constant-recursive sequence over the complex numbers, or more generally, over any field of characteristic zero.


Decision problems

The pattern of zeros in a constant-recursive sequence can also be investigated from the perspective of
computability theory Computability theory, also known as recursion theory, is a branch of mathematical logic, computer science, and the theory of computation that originated in the 1930s with the study of computable functions and Turing degrees. The field has since ex ...
. To do so, the description of the sequence s_n must be given a finite description; this can be done if the sequence is over the integers or rational numbers, or even over the algebraic numbers.. Given such an encoding for sequences s_n, the following problems can be studied: Because the square of a constant-recursive sequence s_n^2 is still constant-recursive (see closure properties), the existence-of-a-zero problem in the table above reduces to positivity, and infinitely-many-zeros reduces to eventual positivity. Other problems also reduce to those in the above table: for example, whether s_n = c for some n reduces to existence-of-a-zero for the sequence s_n - c. As a second example, for sequences in the real numbers, ''weak'' positivity (is s_n \ge 0 for all n?) reduces to positivity of the sequence -s_n (because the answer must be negated, this is a Turing reduction). The Skolem-Mahler-Lech theorem would provide answers to some of these questions, except that its proof is non-constructive. It states that for all n > M, the zeros are repeating; however, the value of M is not known to be computable, so this does not lead to a solution to the existence-of-a-zero problem. On the other hand, the exact pattern which repeats after n > M ''is'' computable. This is why the infinitely-many-zeros problem is decidable: just determine if the infinitely-repeating pattern is empty. Decidability results are known when the order of a sequence is restricted to be small. For example, the Skolem problem is decidable for algebraic sequences of order up to 4. It is also known to be decidable for reversible integer sequences up to order 7, that is, sequences that may be continued backwards in the integers. Decidability results are also known under the assumption of certain unproven conjectures in
number theory Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
. For example, decidability is known for rational sequences of order up to 5 subject to the Skolem conjecture (also known as the exponential local-global principle). Decidability is also known for all simple rational sequences (those with
simple Simple or SIMPLE may refer to: *Simplicity, the state or quality of being simple Arts and entertainment * ''Simple'' (album), by Andy Yorke, 2008, and its title track * "Simple" (Florida Georgia Line song), 2018 * "Simple", a song by John ...
characteristic polynomial) subject to the Skolem conjecture and the weak p-adic Schanuel conjecture.


Degeneracy

Let r_1, \ldots, r_n be the characteristic roots of a constant recursive sequence s. We say that the sequence is degenerate if any ratio r_i/r_j is a root of unity, for i \neq j. It is often easier to study non-degenerate sequences, in a certain sense one can reduce to this using the following theorem: if s has order d and is contained in a number field K of degree k over \mathbb Q , then there is a constant M(k,d) \leq \begin \exp(2d (3\log d)^) & \text k = 1, \\ 2^ & \text k \geq 2 \end such that for some M \leq M(k,d) each subsequence s_ is either identically zero or non-degenerate.


Generalizations

A D-finite or holonomic sequence is a natural generalization where the coefficients of the recurrence are allowed to be polynomial functions of n rather than constants. A k-regular sequence satisfies a linear recurrences with constant coefficients, but the recurrences take a different form. Rather than s_n being a linear combination of s_m for some integers m that are close to n, each term s_n in a k-regular sequence is a linear combination of s_m for some integers m whose base-k representations are close to that of n. Constant-recursive sequences can be thought of as 1-regular sequences, where the base-1 representation of n consists of n copies of the digit 1.


Notes


References

* * *


External links

* {{cite web , title= OEIS Index Rec, url=http://oeis.org/wiki/Index_to_OEIS:_Section_Rec
OEIS The On-Line Encyclopedia of Integer Sequences (OEIS) is an online database of integer sequences. It was created and maintained by Neil Sloane while researching at AT&T Labs. He transferred the intellectual property and hosting of the OEIS to th ...
index to a few thousand examples of linear recurrences, sorted by order (number of terms) and signature (vector of values of the constant coefficients) Combinatorics Dynamical systems Integer sequences Linear algebra Recurrence relations