Sequences as Functions
A sequence is a function whose domain is a set of consecutive integers (usually the positive integers or natural numbers). The output for input is called the -th term, written instead of . Reframing sequences as functions unlocks tools from algebra and calculus — graphs, growth rates, limits, and transformations. Foundational topic in precalculus, calculus, and discrete mathematics; formalized through the 17th–19th century development of functions and limits.
A sequence is not just a list — it is a rule of assignment from a discrete domain to a codomain. Writing instead of is pure notation: the index is the input, and is the output. Because the domain is discrete (separated integers, not a continuous interval), the graph of a sequence is a set of isolated points, never a connected curve. Everything about functions — composition, inverses, transformations, growth comparison, and limiting behavior — transfers directly to sequences, with the single restriction that we only ever evaluate at integers.
Formal Statement
A sequence of real numbers is a function
Derivation hint: This is simply the definition of a function whose domain is restricted to (some authors start at ). Here:
- is the index (or position), an element of the domain .
- is the -th term, the function's output, an element of the codomain .
- The whole sequence is denoted or .
- The range is a set; the sequence is an ordered object, so order and repetition matter even though they do not in the range.
A sequence may be specified in three equivalent ways:
Derivation hint: Direct functional rule — substitute the index to compute any term in one step.
Derivation hint: Define later terms in terms of earlier ones plus one or more initial conditions (base cases).
If a sequence is a well-defined function, then each index produces exactly one term . Two sequences and are equal if and only if for every .
Treating the sequence as a function lets us classify it:
Derivation hint: Same definition as monotonic functions, applied only at integer inputs by comparing consecutive terms.
Derivation hint: A single constant caps the absolute value of every term — the analogue of a bounded function.
Why It Holds / Derivation
We justify that the list-and-function views coincide. 1. A list defines a function. Given an ordered list , define = the -th entry. Since each position has one entry, is single-valued — a genuine function on . 2. A function defines a list. Given , write the outputs in index order: . This is an ordered list. 3. The two operations are inverse. Going list function list returns the original list, and similarly for function list function. Hence the descriptions are interchangeable. 4. Transfer of structure. Because is a function, every function property defined pointwise — comparison of values, bounds, and limiting behavior — applies. In particular, may be substituted into any real function: , , etc., are themselves sequences (compositions of functions).
∎Euler systematized the modern notation and treatment of sequences and series, popularizing the use of functional notation and treating infinite sequences with the freedom of functions. His work on the harmonic series, the constant as a limit of , and infinite products embodies the function-centric view of sequences. Euler's manipulations — sometimes formal and bold — drove the 18th-century explosion of results that later mathematicians made rigorous through the theory of limits.
Building Intuition
Think of a sequence as a vending machine for numbers. You press a button labeled with an integer , and out comes exactly one number . You can never press button — the machine only accepts whole-number buttons. That restriction (a discrete domain) is the only difference between a sequence and an ordinary function . This is why the graph of a sequence looks like a dotted constellation rather than a smooth curve: you can only plot points above , never in between. If you mentally "fill in the gaps" with a continuous function that agrees at the integers, you get a powerful tool: the curve's behavior as tells you the sequence's behavior as .
Worked Examples
Given: A sequence defined by the explicit function for .
Find: (a) the first four terms, (b) the 50th term, (c) which index gives the value .
Steps: (a) Evaluate the function at :
(b) Substitute :
(c) Solve . Since , the value occurs. This is an arithmetic sequence (constant difference ); the function is linear in .
Answer:
Given: A recursive sequence , with .
Find: (a) the first four terms, (b) the long-run value (limit) by treating it as a fixed point.
Steps: (a) Apply the recursion:
The terms increase and appear to approach a ceiling. (b) If the sequence converges to a limit , then for large both and approach . Substitute:
Check: terms climb toward , never exceeding it — consistent with a bounded, increasing sequence.
Answer:
Common Misconceptions
A sequence is not a continuous curve. Even when you write , you must not evaluate it at or draw a smooth line through the points. The domain is the integers only. The continuous companion is a separate function used as an analytical aid — it is not the sequence itself.
The range is not the sequence. The sequence has range — just two numbers — but it is an infinite, non-constant sequence. Order and repetition are essential to the sequence even though they vanish in the range set.
Claim (false): "If a closed-form formula gives the first few terms correctly, it is the only sequence fitting them."
Refutation: Consider the partial list . The natural guess is , giving . But the formula
also yields for , then continues as — a completely different sequence. A finite list of terms never uniquely determines a sequence; the defining function (rule) must be specified.
Connections
Viewing sequences as functions ties together several neighbouring topics. Arithmetic Sequences are sequences whose generating function is linear in (), and Geometric Sequences are those whose function is exponential in (). The classification of a sequence as increasing, decreasing, or bounded is the discrete shadow of the same concepts for Functions and Their Properties. Pushing the index to infinity leads directly to the Limit of a Sequence, and summing the terms produces an Infinite Series. Recursive definitions connect to Mathematical Induction, the proof technique tailored to statements indexed by .
Real-World Applications
Historical Development
Subtleties & Limits
Several conceptual subtleties survive at higher levels. Indexing conventions differ: some define to start at , others at , which shifts every closed-form formula — there is no universal convention. Existence of a closed form is not guaranteed: many recursively defined sequences (and famous ones from number theory, like the prime-counting sequence) have no known elementary explicit formula, and proving that none exists can be deeply hard. The Collatz sequence (if even) or (if odd) is perfectly well-defined as a function, yet whether it always reaches remains an unsolved problem. Finally, distinguishing a sequence (function on ) from a net or generalized sequence (function on an arbitrary directed set) matters in advanced topology, where ordinary sequences are no longer sufficient to detect continuity.
See Also
Functions and Their Properties · Arithmetic Sequences · Geometric Sequences · Limit of a Sequence · Infinite Series · Mathematical Induction · Recursive Definitions · The Natural Numbers