ArticleslgStudy

mathematics

Constant-recursive sequence

Constant-recursive sequence is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Constant-recursive sequence rather than just read about it. In short: In mathematics, an infinite sequence of numbers s0,s1,s2,s3,… is called constant-recursive if it satisfies an equation of the form sn=c1sn−1+c2sn−2+⋯+cdsn−d, for all n≥d, where ci are constants. The equation is called a linear recurrence relation.

Constant-recursive sequence — main illustration
Constant-recursive sequence — illustration

Key takeaways

  • Constant-recursive sequence belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Constant-recursive sequence to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Constant-recursive sequence from memory before moving on to harder problems.

Reference excerpt

In mathematics, an infinite sequence of numbers s0,s1,s2,s3,… is called constant-recursive if it satisfies an equation of the form

sn=c1sn−1+c2sn−2+⋯+cdsn−d, for all n≥d, where ci 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

0,1,1,2,3,5,8,13,…, is constant-recursive because it satisfies the linear recurrence Fn=Fn−1+Fn−2: each number in the sequence is the sum of the previous two. Other examples include the power of two sequence 1,2,4,8,16,…, where each number is the sum of twice the previous number, and the square number sequence 0,1,4,9,16,25,…. All arithmetic progressions, all geometric progressions, and all polynomials are constant-recursive. However, not all sequences are constant-recursive; for example, the factorial sequence 1,1,2,6,24,120,… is not constant-recursive. Constant-recursive sequences are studied in combinatorics and the theory of finite differences. They also arise in algebraic number theory, due to the relation of the sequence to polynomial roots; in the analysis of algorithms, as the running time of simple recursive functions; and in the theory of formal languages, where they count strings up to a given length in a regular language. Constant-recursive sequences are closed under important mathematical operations such as term-wise addition, term-wise multiplication, and Cauchy product. The Skolem–Mahler–Lech theorem states that the zeros of a constant-recursive sequence have a regularly repeating (eventually periodic) form. The Skolem problem, which asks for an algorithm 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 integers, rational numbers, algebraic numbers, real numbers, or complex numbers s0,s1,s2,s3,… (written as (sn)n=0∞ as a shorthand) satisfying a formula of the form sn=c1sn−1+c2sn−2+⋯+cdsn−d=∑k=1dcksn−k, for all n≥d, for some fixed coefficients c1,c2,…,cd 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,… and 0,1,0,0,…. Some authors require that cd≠0, which excludes such sequences.

Examples

Fibonacci and Lucas sequences The sequence 0, 1, 1, 2, 3, 5, 8, 13, ... of Fibonacci numbers is constant-recursive of order 2 because it satisfies the recurrence Fn=Fn−1+Fn−2 with F0=0,F1=1. For example, F2=F1+F0=1+0=1 and F6=F5+F4=5+3=8. The sequence 2, 1, 3, 4, 7, 11, ... of Lucas numbers satisfies the same recurrence as the Fibonacci sequence but with initial conditions L0=2 and L1=1. More generally, every Lucas sequence is constant-recursive of order 2.

Arithmetic progressions For any a and any r≠0, the arithmetic progression a,a+r,a+2r,… is constant-recursive of order 2, because it satisfies sn=2sn−1−sn−2. Generalizing this, see polynomial sequences below.

Geometric progressions For any a≠0 and r, the geometric progression a,ar,ar2,… is constant-recursive of order 1, because it satisfies sn=rsn−1. This includes, for example, the sequence 1, 2, 4, 8, 16, ... as well as the rational number sequence 1,12,14,18,116,....

Eventually periodic sequences A sequence that is eventually periodic with period length ℓ is constant-recursive, since it satisfies sn=sn−ℓ for all n≥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 sn=a0+a1n+a2n2+⋯+adnd 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

sn=1⋅sn−1 for a degree 0 (that is, constant) polynomial, sn=2⋅sn−1−1⋅sn−2 for a degree 1 or less polynomial, sn=3⋅sn−1−3⋅sn−2+1⋅sn−3 for a degree 2 or less polynomial, and sn=4⋅sn−1−6⋅sn−2+4⋅sn−3−1⋅sn−4 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 differences. 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, and let sn be the number of words of length n in L. Then (sn)n=0∞ is constant-recursive. For example, sn=2n for the language of all binary strings, sn=1 for the language of all unary strings, and sn=Fn+2 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 Σ={a} over the semiring (ℝ,+,×) (which is in fact a ring, and even a field) is constant-recursive.

Other examples The sequences of Jacobsthal numbers, Padovan numbers, Pell numbers, and Perrin numbers are constant-recursive.

Non-examples The factorial sequence 1,1,2,6,24,120,720,… 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,… is not constant-recursive. This is because the generating function of the Catalan numbers is not a rational function (see #Equivalent definitions).

Equivalent definitions

In terms of matrices

A sequence (sn)n=0∞ is constant-recursive of order less than or equal to d if and only if it can be written as

… excerpt ends here. Continue reading the full article.

Illustrations

Constant-recursive sequence: The Fibonacci sequence is constant-recursive: each element of the sequence is the sum of the previous two.
The Fibonacci sequence is constant-recursive: each element of the sequence is the sum of the previous two.
Constant-recursive sequence: Hasse diagram of some subclasses of constant-recursive sequences, ordered by inclusion
Hasse diagram of some subclasses of constant-recursive sequences, ordered by inclusion

Worked examples

Example 1 — a first encounter with Constant-recursive sequence

Start with the simplest possible case. Write down what Constant-recursive sequence claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Constant-recursive sequence before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Constant-recursive sequence ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Constant-recursive sequence

In research
Constant-recursive sequence appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Constant-recursive sequence in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Constant-recursive sequence is common in secondary-school and first-year university syllabi. It links to neighbouring topics Combinatorics, Dynamical systems, Integer sequences, so understanding it makes those chapters shorter.
In everyday life
Look for Constant-recursive sequence outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Constant-recursive sequence” →

How to study Constant-recursive sequence in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Constant-recursive sequence means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Constant-recursive sequence out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Constant-recursive sequence in simple terms?

In mathematics, an infinite sequence of numbers s0,s1,s2,s3,… is called constant-recursive if it satisfies an equation of the form sn=c1sn−1+c2sn−2+⋯+cdsn−d, for all n≥d, where ci are constants. The equation is called a linear recurrence relation.

Why does Constant-recursive sequence matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Constant-recursive sequence?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Constant-recursive sequence.

Tags

  • Combinatorics
  • Dynamical systems
  • Integer sequences
  • Linear algebra
  • Recurrence relations

Keep exploring