Sequence - wikipedia Sequence `` Sequential '' redirects here. For the manual transmission, see Sequential manual transmission. For other uses, see Sequence ( disambiguation ). In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed. Like a set, it contains members ( also called elements, or terms ). The number of elements ( possibly infinite ) is called the length of the sequence. Unlike a set, order matters, and exactly the same elements can appear multiple times at different positions in the sequence. Formally, a sequence can be defined as a function whose domain is either the set of the natural numbers ( for infinite sequences ) or the set of the first n natural numbers ( for a sequence of finite length n ). The position of an element in a sequence is its rank or index ; it is the integer from which the element is the image. It depends on the context or of a specific convention, if the first element has index 0 or 1. When a symbol has been chosen for denoting a sequence, the nth element of the sequence is denoted by this symbol with n as subscript ; for example, the nth element of the Fibonacci sequence is generally denoted F. For example, ( M, A, R, Y ) is a sequence of letters with the letter ' M ' first and ' Y ' last. This sequence differs from ( A, R, M, Y ). Also, the sequence ( 1, 1, 2, 3, 5, 8 ), which contains the number 1 at two different positions, is a valid sequence. Sequences can be finite, as in these examples, or infinite, such as the sequence of all even positive integers ( 2, 4, 6,... ). In computing and computer science, finite sequences are sometimes called strings, words or lists, the different names commonly corresponding to different ways to represent them in computer memory ; infinite sequences are called streams. The empty sequence ( ) is included in most notions of sequence, but may be excluded depending on the context. An infinite sequence of real numbers ( in blue ). This sequence is neither increasing, decreasing, convergent, nor Cauchy. It is, however, bounded. Contents 1 Examples and notation 1.1 Examples 1.2 Indexing 1.3 Defining a sequence by recursion 2 Formal definition and basic properties 2.1 Formal definition 2.2 Finite and infinite 2.3 Increasing and decreasing 2.4 Bounded 2.5 Subsequences 2.6 Other types of sequences 3 Limits and convergence 3.1 Formal definition of convergence 3.2 Applications and important results 3.3 Cauchy sequences 3.4 Infinite limits 4 Series 5 Use in other fields of mathematics 5.1 Topology 5.1. 1 Product topology 5.2 Analysis 5.2. 1 Sequence spaces 5.3 Linear algebra 5.4 Abstract algebra 5.4. 1 Free monoid 5.4. 2 Exact sequences 5.4. 3 Spectral sequences 5.5 Set theory 5.6 Computing 5.7 Streams 6 See also 7 References 8 External links Examples and notation A sequence can be thought of as a list of elements with a particular order. Sequences are useful in a number of mathematical disciplines for studying functions, spaces, and other mathematical structures using the convergence properties of sequences. In particular, sequences are the basis for series, which are important in differential equations and analysis. Sequences are also of interest in their own right and can be studied as patterns or puzzles, such as in the study of prime numbers. There are a number of ways to denote a sequence, some of which are more useful for specific types of sequences. One way to specify a sequence is to list the elements. For example, the first four odd numbers form the sequence ( 1, 3, 5, 7 ). This notation can be used for infinite sequences as well. For instance, the infinite sequence of positive odd integers can be written ( 1, 3, 5, 7,... ). Listing is most useful for infinite sequences with a pattern that can be easily discerned from the first few elements. Other ways to denote a sequence are discussed after the examples. Examples A tiling with squares whose sides are successive Fibonacci numbers in length. The prime numbers are the natural numbers bigger than 1 that have no divisors but 1 and themselves. Taking these in their natural order gives the sequence ( 2, 3, 5, 7, 11, 13, 17,... ). The prime numbers are widely used in mathematics and specifically in number theory. The Fibonacci numbers are the integer sequence whose elements are the sum of the previous two elements. The first two elements are either 0 and 1 or 1 and 1 so that the sequence is ( 0, 1, 1, 2, 3, 5, 8, 13, 21, 34,... ). For a large list of examples of integer sequences, see On - Line Encyclopedia of Integer Sequences. Other examples of sequences include ones made up of rational numbers, real numbers, and complex numbers. The sequence (. 9,. 99,. 999,. 9999,... ) approaches the number 1. In fact, every real number can be written as the limit of a sequence of rational numbers, e.g. via its decimal expansion. For instance, π is the limit of the sequence ( 3, 3.1, 3.14, 3.141, 3.1415,... ). A related sequence is the sequence of decimal digits of π, i.e. ( 3, 1, 4, 1, 5, 9,... ). This sequence does not have any pattern that is easily discernible by eye, unlike the preceding sequence, which is increasing. Indexing Other notations can be useful for sequences whose pattern can not be easily guessed, or for sequences that do not have a pattern such as the digits of π. One such notation is to write down a general formula for computing the nth term as a function of n, enclose it in parentheses, and include a subscript indicating the range of values that n can take. For example, in this notation the sequence of even numbers could be written as ( 2 n ) n ∈ N ( displaystyle ( 2n ) _ ( n in mathbb ( N ) ) ). The sequence of squares could be written as ( n 2 ) n ∈ N ( displaystyle ( n ^ ( 2 ) ) _ ( n in mathbb ( N ) ) ). The variable n is called an index, and the set of values that it can take is called the index set. It is often useful to combine this notation with the technique of treating the elements of a sequence as variables. This yields expressions like ( a n ) n ∈ N ( displaystyle ( a_ ( n ) ) _ ( n in mathbb ( N ) ) ), which denotes a sequence whose nth element is given by the variable a n ( displaystyle a_ ( n ) ). For example : a 1 = 1 st element of ( a n ) n ∈ N a 2 = 2 nd element a 3 = 3 rd element ⋮ a n − 1 = ( n − 1 ) th element a n = n th element a n + 1 = ( n + 1 ) th element ⋮ ( displaystyle ( \begin ( aligned ) a_ ( 1 ) & = 1 ( \text ( st element of ) ) ( a_ ( n ) ) _ ( n in mathbb ( N ) ) a_ ( 2 ) & = 2 ( \text ( nd element ) ) a_ ( 3 ) & = 3 ( \text ( rd element ) ) & \vdots a_ ( n - 1 ) & = ( n - 1 ) ( \text ( th element ) ) a_ ( n ) & = n ( \text ( th element ) ) a_ ( n + 1 ) & = ( n + 1 ) ( \text ( th element ) ) & \vdots end ( aligned ) ) ) Note that we can consider multiple sequences at the same time by using different variables ; e.g. ( b n ) n ∈ N ( displaystyle ( b_ ( n ) ) _ ( n in mathbb ( N ) ) ) could be a different sequence than ( a n ) n ∈ N ( displaystyle ( a_ ( n ) ) _ ( n in mathbb ( N ) ) ). We can even consider a sequence of sequences : ( ( a m, n ) n ∈ N ) m ∈ N ( displaystyle ( ( a_ ( m, n ) ) _ ( n in mathbb ( N ) ) ) _ ( m in mathbb ( N ) ) ) denotes a sequence whose mth term is the sequence ( a m, n ) n ∈ N ( displaystyle ( a_ ( m, n ) ) _ ( n in mathbb ( N ) ) ). An alternative to writing the domain of a sequence in the subscript is to indicate the range of values that the index can take by listing its highest and lowest legal values. For example, the notation ( k 2 ) k = 1 10 ( displaystyle ( k ^ ( 2 ) ) _ ( k = 1 ) ^ ( 10 ) ) denotes the ten - term sequence of squares ( 1, 4, 9,..., 100 ) ( displaystyle ( 1, 4, 9,..., 100 ) ). The limits ∞ ( displaystyle infty ) and − ∞ ( displaystyle - infty ) are allowed, but they do not represent valid values for the index, only the supremum or infimum of such values, respectively. For example, the sequence ( a n ) n = 1 ∞ ( displaystyle ( a_ ( n ) ) _ ( n = 1 ) ^ ( infty ) ) is the same as the sequence ( a n ) n ∈ N ( displaystyle ( a_ ( n ) ) _ ( n in mathbb ( N ) ) ), and does not contain an additional term `` at infinity ''. The sequence ( a n ) n = − ∞ ∞ ( displaystyle ( a_ ( n ) ) _ ( n = - infty ) ^ ( infty ) ) is a bi-infinite sequence, and can also be written as (..., a − 1, a 0, a 1, a 2,... ) ( displaystyle (..., a_ ( - 1 ), a_ ( 0 ), a_ ( 1 ), a_ ( 2 ),... ) ). In cases where the set of indexing numbers is understood, the subscripts and superscripts are often left off. That is, one simply writes ( a k ) ( displaystyle ( a_ ( k ) ) ) for an arbitrary sequence. Often, the index k is understood to run from 1 to ∞. However, sequences are frequently indexed starting from zero, as in ( a k ) k = 0 ∞ = ( a 0, a 1, a 2,... ). ( displaystyle ( a_ ( k ) ) _ ( k = 0 ) ^ ( infty ) = ( a_ ( 0 ), a_ ( 1 ), a_ ( 2 ),... ). ) In some cases the elements of the sequence are related naturally to a sequence of integers whose pattern can be easily inferred. In these cases the index set may be implied by a listing of the first few abstract elements. For instance, the sequence of squares of odd numbers could be denoted in any of the following ways. ( 1, 9, 25,... ) ( displaystyle ( 1, 9, 25,... ) ) ( a 1, a 3, a 5,... ), a k = k 2 ( displaystyle ( a_ ( 1 ), a_ ( 3 ), a_ ( 5 ),... ), qquad a_ ( k ) = k ^ ( 2 ) ) ( a 2 k − 1 ) k = 1 ∞, a k = k 2 ( displaystyle ( a_ ( 2k - 1 ) ) _ ( k = 1 ) ^ ( infty ), qquad a_ ( k ) = k ^ ( 2 ) ) ( a k ) k = 1 ∞, a k = ( 2 k − 1 ) 2 ( displaystyle ( a_ ( k ) ) _ ( k = 1 ) ^ ( infty ), qquad a_ ( k ) = ( 2k - 1 ) ^ ( 2 ) ) ( ( 2 k − 1 ) 2 ) k = 1 ∞ ( displaystyle ( ( 2k - 1 ) ^ ( 2 ) ) _ ( k = 1 ) ^ ( infty ) ) Moreover, the subscripts and superscripts could have been left off in the third, fourth, and fifth notations, if the indexing set was understood to be the natural numbers. Note that in the second and third bullets, there is a well - defined sequence ( a k ) k = 1 ∞ ( displaystyle ( a_ ( k ) ) _ ( k = 1 ) ^ ( infty ) ), but it is not the same as the sequence denoted by the expression. Defining a sequence by recursion Sequences whose elements are related to the previous elements in a straightforward way are often defined using recursion. This is in contrast to the definition of sequence elements as a function of their position. To define a sequence by recursion, one needs a rule to construct each element in terms of the ones before it. In addition, enough initial elements must be provided so that all subsequent elements of the sequence can be computed by the rule. The principle of mathematical induction can be used to prove that in this case, there is exactly one sequence that satisfies both the recursion rule and the initial conditions. Induction can also be used to prove properties about a sequence, especially for sequences whose most natural description is recursive. The Fibonacci sequence can be defined using a recursive rule along with two initial elements. The rule is that each element is the sum of the previous two elements, and the first two elements are 0 and 1. a n = a n − 1 + a n − 2 ( displaystyle a_ ( n ) = a_ ( n - 1 ) + a_ ( n - 2 ) ), with a 0 = 0 ( displaystyle a_ ( 0 ) = 0 ) and a 1 = 1 ( displaystyle a_ ( 1 ) = 1 ). The first ten terms of this sequence are 0, 1, 1, 2, 3, 5, 8, 13, 21, and 34. A more complicated example of a sequence that is defined recursively is Recaman 's sequence. We can define Recaman 's sequence by a 0 = 0 ( displaystyle a_ ( 0 ) = 0 ) and a n = a n − 1 − n ( displaystyle a_ ( n ) = a_ ( n - 1 ) - n ), if the result is positive and not already in the list. Otherwise, a n = a n − 1 + n ( displaystyle a_ ( n ) = a_ ( n - 1 ) + n ). Not all sequences can be specified by a rule in the form of an equation, recursive or not, and some can be quite complicated. For example, the sequence of prime numbers is the set of prime numbers in their natural order, i.e. ( 2, 3, 5, 7, 11, 13, 17,... ). Many sequences have the property that each element of a sequence can be computed from the previous element. In this case, there is some function f such that for all n, a n + 1 = f ( a n ) ( displaystyle a_ ( n + 1 ) = f ( a_ ( n ) ) ). Formal definition and basic properties There are many different notions of sequences in mathematics, some of which ( e.g., exact sequence ) are not covered by the definitions and notations introduced below. Formal definition For the purposes of this article, we define a sequence to be a function whose domain is a convex subset of the set of integers. This definition covers several different uses of the word `` sequence '', including one - sided infinite sequences, bi-infinite sequences, and finite sequences ( see below for definitions ). However, many authors use a narrower definition by requiring the domain of a sequence to be the set of natural numbers. The narrower definition has the disadvantage that it rules out finite sequences and bi-infinite sequences, both of which are usually called sequences in standard mathematical practice. Many authors also impose a requirement on the codomain of a function before calling it a sequence, by requiring it to be the set R of real numbers, the set C of complex numbers, or a topological space. Although sequences are a type of function, they are usually distinguished notationally from functions in that the input is written as a subscript rather than in parentheses, i.e. a rather than f ( n ). There are terminological differences as well : the value of a sequence at the input 1 is called the `` first element '' of the sequence, the value at 2 is called the `` second element '', etc. Also, while a function abstracted from its input is usually denoted by a single letter, e.g. f, a sequence abstracted from its input is usually written by a notation such as ( a n ) n ∈ A ( displaystyle ( a_ ( n ) ) _ ( n in A ) ), or just as ( a n ) ( displaystyle ( a_ ( n ) ) ). Here A is the domain, or index set, of the sequence. Sequences and their limits ( see below ) are important concepts for studying topological spaces. An important generalization of sequences is the concept of nets. A net is a function from a ( possibly uncountable ) directed set to a topological space. The notational conventions for sequences normally apply to nets as well. Finite and infinite See also : ω - language The length of a sequence is defined as the number of terms in the sequence. A sequence of a finite length n is also called an n - tuple. Finite sequences include the empty sequence ( ) that has no elements. Normally, the term infinite sequence refers to a sequence that is infinite in one direction, and finite in the other -- the sequence has a first element, but no final element. Such a sequence is called a singly infinite sequence or a one - sided infinite sequence when disambiguation is necessary. In contrast, a sequence that is infinite in both directions -- i.e. that has neither a first nor a final element -- is called a bi-infinite sequence, two - way infinite sequence, or doubly infinite sequence. A function from the set Z of all integers into a set, such as for instance the sequence of all even integers (..., − 4, − 2, 0, 2, 4, 6, 8... ), is bi-infinite. This sequence could be denoted ( 2 n ) n = − ∞ ∞ ( displaystyle ( 2n ) _ ( n = - infty ) ^ ( infty ) ). Increasing and decreasing A sequence is said to be monotonically increasing, if each term is greater than or equal to the one before it. For example, the sequence ( a n ) n = 1 ∞ ( displaystyle ( a_ ( n ) ) _ ( n = 1 ) ^ ( infty ) ) is monotonically increasing if and only if a ≥ ( displaystyle geq ) a for all n ∈ N. If each consecutive term is strictly greater than ( > ) the previous term then the sequence is called strictly monotonically increasing. A sequence is monotonically decreasing, if each consecutive term is less than or equal to the previous one, and strictly monotonically decreasing, if each is strictly less than the previous. If a sequence is either increasing or decreasing it is called a monotone sequence. This is a special case of the more general notion of a monotonic function. The terms nondecreasing and nonincreasing are often used in place of increasing and decreasing in order to avoid any possible confusion with strictly increasing and strictly decreasing, respectively. Bounded If the sequence of real numbers ( a ) is such that all the terms are less than some real number M, then the sequence is said to be bounded from above. In less words, this means that there exists M such that for all n, a ≤ M. Any such M is called an upper bound. Likewise, if, for some real m, a ≥ m for all n greater than some N, then the sequence is bounded from below and any such m is called a lower bound. If a sequence is both bounded from above and bounded from below, then the sequence is said to be bounded. Subsequences A subsequence of a given sequence is a sequence formed from the given sequence by deleting some of the elements without disturbing the relative positions of the remaining elements. For instance, the sequence of positive even integers ( 2, 4, 6,... ) is a subsequence of the positive integers ( 1, 2, 3,... ). The positions of some elements change when other elements are deleted. However, the relative positions are preserved. Formally, a subsequence of the sequence ( a n ) n ∈ N ( displaystyle ( a_ ( n ) ) _ ( n in mathbb ( N ) ) ) is any sequence of the form ( a n k ) k ∈ N ( displaystyle ( a_ ( n_ ( k ) ) ) _ ( k in mathbb ( N ) ) ), where ( n k ) k ∈ N ( displaystyle ( n_ ( k ) ) _ ( k in mathbb ( N ) ) ) is a strictly increasing sequence of positive integers. Other types of sequences Some other types of sequences that are easy to define include : An integer sequence is a sequence whose terms are integers. A polynomial sequence is a sequence whose terms are polynomials. A positive integer sequence is sometimes called multiplicative, if a = a a for all pairs n, m such that n and m are coprime. In other instances, sequences are often called multiplicative, if a = na for all n. Moreover, a multiplicative Fibonacci sequence satisfies the recursion relation a = a a. Limits and convergence Main article : Limit of a sequence The plot of a convergent sequence ( a ) is shown in blue. From the graph we can see that the sequence is converging to the limit zero as n increases. An important property of a sequence is convergence. A sequence converges, it converges to a particular value known as the limit. If a sequence converges to some limit, then it is convergent. A sequence that does not converge is divergent. Informally, a sequence has a limit if the elements of the sequence become closer and closer to some value L ( displaystyle L ) ( called the limit of the sequence ), and they become and remain arbitrarily close to L ( displaystyle L ), meaning that given a real number d ( displaystyle d ) greater than zero, all but a finite number of the elements of the sequence have a distance from L ( displaystyle L ) less than d ( displaystyle d ). For example, the sequence a n = n + 1 2 n 2 ( displaystyle a_ ( n ) = ( \frac ( n + 1 ) ( 2n ^ ( 2 ) ) ) ) shown to the right converges to the value 0. On the other hand, the sequences b n = n 3 ( displaystyle b_ ( n ) = n ^ ( 3 ) ) ( which begins 1, 8, 27,... ) and c n = ( − 1 ) n ( displaystyle c_ ( n ) = ( - 1 ) ^ ( n ) ) ( which begins - 1, 1, - 1, 1,... ) are both divergent. If a sequence converges, then the value it converges to is unique. This value is called the limit of the sequence. The limit of a convergent sequence ( a n ) ( displaystyle ( a_ ( n ) ) ) is normally denoted lim n → ∞ a n ( displaystyle lim _ ( n \to infty ) a_ ( n ) ). If ( a n ) ( displaystyle ( a_ ( n ) ) ) is a divergent sequence, then the expression lim n → ∞ a n ( displaystyle lim _ ( n \to infty ) a_ ( n ) ) is meaningless. Formal definition of convergence A sequence of real numbers ( a n ) ( displaystyle ( a_ ( n ) ) ) converges to a real number L ( displaystyle L ) if, for all ε > 0 ( displaystyle \varepsilon > 0 ), there exists a natural number N ( displaystyle N ) such that for all n ≥ N ( displaystyle n geq N ) we have a n − L < ε. ( displaystyle a_ ( n ) - L < \varepsilon. ) If ( a n ) ( displaystyle ( a_ ( n ) ) ) is a sequence of complex numbers rather than a sequence of real numbers, this last formula can still be used to define convergence, with the provision that ⋅ ( displaystyle cdot ) denotes the complex modulus, i.e. z = z ∗ z ( displaystyle z = ( sqrt ( z ^ ( * ) z ) ) ). If ( a n ) ( displaystyle ( a_ ( n ) ) ) is a sequence of points in a metric space, then the formula can be used to define convergence, if the expression a n − L ( displaystyle a_ ( n ) - L ) is replaced by the expression dist ( a n, L ) ( displaystyle ( \text ( dist ) ) ( a_ ( n ), L ) ), which denotes the distance between a n ( displaystyle a_ ( n ) ) and L ( displaystyle L ). Applications and important results Let ( a n ) ( displaystyle ( a_ ( n ) ) ) and ( b n ) ( displaystyle ( b_ ( n ) ) ) be convergent sequences, and let ( c n ) ( displaystyle ( c_ ( n ) ) ) be a sequence that is not necessarily convergent. Then the following limits exist, and can be computed as follows : lim n → ∞ ( a n ± b n ) = lim n → ∞ a n ± lim n → ∞ b n ( displaystyle lim _ ( n \to infty ) ( a_ ( n ) pm b_ ( n ) ) = lim _ ( n \to infty ) a_ ( n ) pm lim _ ( n \to infty ) b_ ( n ) ) lim n → ∞ c a n = c lim n → ∞ a n ( displaystyle lim _ ( n \to infty ) ca_ ( n ) = c lim _ ( n \to infty ) a_ ( n ) ) for all c lim n → ∞ ( a n b n ) = ( lim n → ∞ a n ) ( lim n → ∞ b n ) ( displaystyle lim _ ( n \to infty ) ( a_ ( n ) b_ ( n ) ) = ( lim _ ( n \to infty ) a_ ( n ) ) ( lim _ ( n \to infty ) b_ ( n ) ) ) lim n → ∞ a n b n = lim n → ∞ a n lim n → ∞ b n ( displaystyle lim _ ( n \to infty ) ( \frac ( a_ ( n ) ) ( b_ ( n ) ) ) = ( \frac ( lim limits _ ( n \to infty ) a_ ( n ) ) ( lim limits _ ( n \to infty ) b_ ( n ) ) ) ) provided lim n → ∞ b n ≠ 0 ( displaystyle lim _ ( n \to infty ) b_ ( n ) \neq 0 ) lim n → ∞ a n p = ( lim n → ∞ a n ) p ( displaystyle lim _ ( n \to infty ) a_ ( n ) ^ ( p ) = left ( lim _ ( n \to infty ) a_ ( n ) \right ) ^ ( p ) ) for all p > 0 ( displaystyle p > 0 ) Moreover : If a ≤ b for all n greater than some N, then lim n → ∞ a n ≤ lim n → ∞ b n ( displaystyle lim _ ( n \to infty ) a_ ( n ) leq lim _ ( n \to infty ) b_ ( n ) ). ( Note that, if the inequalities are replaced by strict inequalities then this is false : there are sequences such that a < b for all n, but lim n → ∞ a n = lim n → ∞ b n ( displaystyle lim _ ( n \to infty ) a_ ( n ) = lim _ ( n \to infty ) b_ ( n ) ). ) ( Squeeze Theorem ) If a n ≤ c n ≤ b n ( displaystyle a_ ( n ) leq c_ ( n ) leq b_ ( n ) ) for all n > N, and lim n → ∞ a n = lim n → ∞ b n = L ( displaystyle lim _ ( n \to infty ) a_ ( n ) = lim _ ( n \to infty ) b_ ( n ) = L ), then the sequence ( c n ) ( displaystyle ( c_ ( n ) ) ) is convergent, and lim n → ∞ c n = L ( displaystyle lim _ ( n \to infty ) c_ ( n ) = L ). If a sequence is bounded and monotonic then it is convergent. A sequence is convergent if and only if all of its subsequences are convergent. Cauchy sequences Main article : Cauchy sequence The plot of a Cauchy sequence ( X ), shown in blue, as X versus n. In the graph the sequence appears to be converging to a limit as the distance between consecutive terms in the sequence gets smaller as n increases. In the real numbers every Cauchy sequence converges to some limit. A Cauchy sequence is a sequence whose terms become arbitrarily close together as n gets very large. The notion of a Cauchy sequence is important in the study of sequences in metric spaces, and, in particular, in real analysis. One particularly important result in real analysis is Cauchy characterization of convergence for sequences : A sequence of real numbers is convergent ( in the reals ) if and only if it is Cauchy. In contrast, there are Cauchy sequences of rational numbers that are not convergent in the rationals, e.g. the sequence defined by x = 1 and x = x + 2 / x / 2 is Cauchy, but has no rational limit, cf. here. More generally, any sequence of rational numbers that converges to an irrational number is Cauchy, but not convergent when interpreted as a sequence in the set of rational numbers. Metric spaces that satisfy the Cauchy characterization of convergence for sequences are called complete metric spaces and are particularly nice for analysis. Infinite limits In calculus, it is common to define notation for sequences which do not converge in the sense discussed above, but which instead become and remain arbitrarily large, or become and remain arbitrarily negative. If a n ( displaystyle a_ ( n ) ) becomes arbitrarily large as n → ∞ ( displaystyle n \to infty ), we write lim n → ∞ a n = ∞. ( displaystyle lim _ ( n \to infty ) a_ ( n ) = infty. ) In this case we say that the sequence diverges, or that it converges to infinity. An example of such a sequence is a = n. If a n ( displaystyle a_ ( n ) ) becomes arbitrarily negative ( i.e. negative and large in magnitude ) as n → ∞ ( displaystyle n \to infty ), we write lim n → ∞ a n = − ∞ ( displaystyle lim _ ( n \to infty ) a_ ( n ) = - infty ) and say that the sequence diverges or converges to negative infinity. Series Main article : Series ( mathematics ) A series is, informally speaking, the sum of the terms of a sequence. That is, it is an expression of the form ∑ n = 1 ∞ a n ( displaystyle sum _ ( n = 1 ) ^ ( infty ) a_ ( n ) ) or a 1 + a 2 + ⋯ ( displaystyle a_ ( 1 ) + a_ ( 2 ) + cdots ), where ( a n ) ( displaystyle ( a_ ( n ) ) ) is a sequence of real or complex numbers. The partial sums of a series are the expressions resulting from replacing the infinity symbol with a finite number, i.e. the Nth partial sum of the series ∑ n = 1 ∞ a n ( displaystyle sum _ ( n = 1 ) ^ ( infty ) a_ ( n ) ) is the number S N = ∑ n = 1 N a n = a 1 + a 2 + ⋯ + a N. ( displaystyle S_ ( N ) = sum _ ( n = 1 ) ^ ( N ) a_ ( n ) = a_ ( 1 ) + a_ ( 2 ) + cdots + a_ ( N ). ) The partial sums themselves form a sequence ( S N ) N ∈ N ( displaystyle ( S_ ( N ) ) _ ( N in mathbb ( N ) ) ), which is called the sequence of partial sums of the series ∑ n = 1 ∞ a n ( displaystyle sum _ ( n = 1 ) ^ ( infty ) a_ ( n ) ). If the sequence of partial sums converges, then we say that the series ∑ n = 1 ∞ a n ( displaystyle sum _ ( n = 1 ) ^ ( infty ) a_ ( n ) ) is convergent, and the limit lim N → ∞ S N ( displaystyle lim _ ( N \to infty ) S_ ( N ) ) is called the value of the series. The same notation is used to denote a series and its value, i.e. we write ∑ n = 1 ∞ a n = lim N → ∞ S N ( displaystyle sum _ ( n = 1 ) ^ ( infty ) a_ ( n ) = lim _ ( N \to infty ) S_ ( N ) ). Use in other fields of mathematics Topology Sequences play an important role in topology, especially in the study of metric spaces. For instance : A metric space is compact exactly when it is sequentially compact. A function from a metric space to another metric space is continuous exactly when it takes convergent sequences to convergent sequences. A metric space is a connected space if and only if, whenever the space is partitioned into two sets, one of the two sets contains a sequence converging to a point in the other set. A topological space is separable exactly when there is a dense sequence of points. Sequences can be generalized to nets or filters. These generalizations allow one to extend some of the above theorems to spaces without metrics. Product topology The topological product of a sequence of topological spaces is the cartesian product of those spaces, equipped with a natural topology called the product topology. More formally, given a sequence of spaces ( X i ) i ∈ N ( displaystyle ( X_ ( i ) ) _ ( i in mathbb ( N ) ) ), the product space X : = ∏ i ∈ I X i, ( displaystyle X : = prod _ ( i in I ) X_ ( i ), ) is defined as the set of all sequences ( x i ) i ∈ N ( displaystyle ( x_ ( i ) ) _ ( i in mathbb ( N ) ) ) such that for each i, x i ( displaystyle x_ ( i ) ) is an element of X i ( displaystyle X_ ( i ) ). The canonical projections are the maps p : X → X defined by the equation p i ( ( x j ) j ∈ N ) = x i ( displaystyle p_ ( i ) ( ( x_ ( j ) ) _ ( j in mathbb ( N ) ) ) = x_ ( i ) ). Then the product topology on X is defined to be the coarsest topology ( i.e. the topology with the fewest open sets ) for which all the projections p are continuous. The product topology is sometimes called the Tychonoff topology. Analysis In analysis, when talking about sequences, one will generally consider sequences of the form ( x 1, x 2, x 3,... ) or ( x 0, x 1, x 2,... ) ( displaystyle ( x_ ( 1 ), x_ ( 2 ), x_ ( 3 ), dots ) ( \text ( or ) ) ( x_ ( 0 ), x_ ( 1 ), x_ ( 2 ), dots ) ) which is to say, infinite sequences of elements indexed by natural numbers. It may be convenient to have the sequence start with an index different from 1 or 0. For example, the sequence defined by x = 1 / log ( n ) would be defined only for n ≥ 2. When talking about such infinite sequences, it is usually sufficient ( and does not change much for most considerations ) to assume that the members of the sequence are defined at least for all indices large enough, that is, greater than some given N. The most elementary type of sequences are numerical ones, that is, sequences of real or complex numbers. This type can be generalized to sequences of elements of some vector space. In analysis, the vector spaces considered are often function spaces. Even more generally, one can study sequences with elements in some topological space. Sequence spaces Main article : Sequence space 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 numbers to the field K, where K is either the field of real numbers or the field of complex numbers. The set of all such functions is naturally identified with the set of all possible infinite sequences with elements in K, and can be turned into a vector space under the operations of pointwise addition of functions and pointwise scalar multiplication. All sequence spaces are linear subspaces of this space. Sequence spaces are typically equipped with a norm, or at least the structure of a topological vector space. The most important sequences spaces in analysis are the l spaces, consisting of the p - power summable sequences, with the p - norm. These are special cases of L spaces for the counting measure on the set of natural numbers. Other important classes of sequences like convergent sequences or null sequences form sequence spaces, respectively denoted c and c, with the sup norm. Any sequence space can also be equipped with the topology of pointwise convergence, under which it becomes a special kind of Fréchet space called an FK - space. Linear algebra Sequences over a field may also be viewed as vectors in a vector space. Specifically, the set of F - valued sequences ( where F is a field ) is a function space ( in fact, a product space ) of F - valued functions over the set of natural numbers. Abstract algebra Abstract algebra employs several types of sequences, including sequences of mathematical objects such as groups or rings. Free monoid Main article : Free monoid If A is a set, the free monoid over A ( denoted A, also called Kleene star of A ) is a monoid containing all the finite sequences ( or strings ) of zero or more elements of A, with the binary operation of concatenation. The free semigroup A is the subsemigroup of A containing all elements except the empty sequence. Exact sequences Main article : Exact sequence In the context of group theory, a sequence G 0 → f 1 G 1 → f 2 G 2 → f 3 ⋯ → f n G n ( displaystyle G_ ( 0 ) ; ( \xrightarrow ( f_ ( 1 ) ) ) ; G_ ( 1 ) ; ( \xrightarrow ( f_ ( 2 ) ) ) ; G_ ( 2 ) ; ( \xrightarrow ( f_ ( 3 ) ) ) ; cdots ; ( \xrightarrow ( f_ ( n ) ) ) ; G_ ( n ) ) of groups and group homomorphisms is called exact, if the image ( or range ) of each homomorphism is equal to the kernel of the next : i m ( f k ) = k e r ( f k + 1 ) ( displaystyle mathrm ( im ) ( f_ ( k ) ) = mathrm ( ker ) ( f_ ( k + 1 ) ) ) Note that the sequence of groups and homomorphisms may be either finite or infinite. A similar definition can be made for certain other algebraic structures. For example, one could have an exact sequence of vector spaces and linear maps, or of modules and module homomorphisms. Spectral sequences Main article : Spectral sequence In homological algebra and algebraic topology, a spectral sequence is a means of computing homology groups by taking successive approximations. Spectral sequences are a generalization of exact sequences, and since their introduction by Jean Leray ( 1946 ), they have become an important research tool, particularly in homotopy theory. Set theory An ordinal - indexed sequence is a generalization of a sequence. If α is a limit ordinal and X is a set, an α - indexed sequence of elements of X is a function from α to X. In this terminology an ω - indexed sequence is an ordinary sequence. Computing Automata or finite state machines can typically be thought of as directed graphs, with edges labeled using some specific alphabet, Σ. Most familiar types of automata transition from state to state by reading input letters from Σ, following edges with matching labels ; the ordered input for such an automaton forms a sequence called a word ( or input word ). The sequence of states encountered by the automaton when processing a word is called a run. A nondeterministic automaton may have unlabeled or duplicate out - edges for any state, giving more than one successor for some input letter. This is typically thought of as producing multiple possible runs for a given word, each being a sequence of single states, rather than producing a single run that is a sequence of sets of states ; however, ' run ' is occasionally used to mean the latter. Streams Infinite sequences of digits ( or characters ) drawn from a finite alphabet are of particular interest in theoretical computer science. They are often referred to simply as sequences or streams, as opposed to finite strings. Infinite binary sequences, for instance, are infinite sequences of bits ( characters drawn from the alphabet ( 0, 1 ) ). The set C = ( 0, 1 ) of all infinite binary sequences is sometimes called the Cantor space. An infinite binary sequence can represent a formal language ( a set of strings ) by setting the n th bit of the sequence to 1 if and only if the n th string ( in shortlex order ) is in the language. This representation is useful in the diagonalization method for proofs. See also Enumeration On - Line Encyclopedia of Integer Sequences Recurrence relation Sequence space Operations Cauchy product Examples Discrete - time signal Farey sequence Fibonacci sequence Look - and - say sequence Thue -- Morse sequence Types ± 1 - sequence Arithmetic progression Automatic sequence Cauchy sequence Constant - recursive sequence Geometric progression Holonomic sequence Regular sequence Related concepts List ( computing ) Net ( topology ) ( a generalization of sequences ) Ordinal - indexed sequence Recursion ( computer science ) Set ( mathematics ) Tuple References ^ Jump up to : Gaughan, Edward. `` 1.1 Sequences and Convergence ''. Introduction to Analysis. AMS ( 2009 ). ISBN 0 - 8218 - 4787 - 2. Jump up ^ Edward B. Saff & Arthur David Snider ( 2003 ). `` Chapter 2.1 ''. Fundamentals of Complex Analysis. ISBN 01 - 390 - 7874 - 6. Jump up ^ James R. Munkres. `` Chapters 1&2 ''. Topology. ISBN 01 - 318 - 1629 - 2. Jump up ^ Lando, Sergei K. `` 7.4 Multiplicative sequences ''. Lectures on generating functions. AMS. ISBN 0 - 8218 - 3481 - 9. Jump up ^ Falcon, Sergio. `` Fibonacci 's multiplicative sequence ''. International Journal of Mathematical Education in Science and Technology. 34 ( 2 ) : 310 -- 315. doi : 10.1080 / 0020739031000158362. Jump up ^ Dawikins, Paul. `` Series and Sequences ''. Paul 's Online Math Notes / Calc II ( notes ). Retrieved 18 December 2012. Jump up ^ Oflazer, Kemal. `` FORMAL LANGUAGES, AUTOMATA AND COMPUTATION : DECIDABILITY '' ( PDF ). cmu.edu. Carnegie - Mellon University. Retrieved 24 April 2015. External links Look up enumerate or collection in Wiktionary, the free dictionary. The dictionary definition of sequence at Wiktionary Hazewinkel, Michiel, ed. ( 2001 ) ( 1994 ), `` Sequence '', Encyclopedia of Mathematics, Springer Science + Business Media B.V. / Kluwer Academic Publishers, ISBN 978 - 1 - 55608 - 010 - 4 The On - Line Encyclopedia of Integer Sequences Journal of Integer Sequences ( free ) `` Sequence ''. PlanetMath. Sequences and series Integer sequences Basic Arithmetic progression Geometric progression Harmonic progression Square number Cubic number Factorial Powers of two Powers of 10 Advanced Complete sequence Fibonacci numbers Figurate number Heptagonal number Hexagonal number Lucas number Pell number Pentagonal number Polygonal number Triangular number Full list Properties of sequences Cauchy sequence Monotone sequence Periodic sequence Properties of series Convergent series Divergent series Conditional convergence Absolute convergence Uniform convergence Alternating series Telescoping series Explicit series Convergent 1 / 2 − 1 / 4 + 1 / 8 − 1 / 16 + ⋯ 1 / 2 + 1 / 4 + 1 / 8 + 1 / 16 + ⋯ 1 / 4 + 1 / 16 + 1 / 64 + 1 / 256 + ⋯ 1 + 1 / 1 + 1 / 2 + 1 / 3 +... ( Riemann zeta function ) Divergent 1 + 1 + 1 + 1 + ⋯ 1 + 2 + 3 + 4 + ⋯ 1 + 2 + 4 + 8 + ⋯ 1 − 1 + 1 − 1 + ⋯ ( Grandi 's series ) Infinite arithmetic series 1 − 2 + 3 − 4 + ⋯ 1 − 2 + 4 − 8 + ⋯ 1 + 1 / 2 + 1 / 3 + 1 / 4 + ⋯ ( harmonic series ) 1 − 1 + 2 − 6 + 24 − 120 + ⋯ ( alternating factorials ) 1 / 2 + 1 / 3 + 1 / 5 + 1 / 7 + 1 / 11 + ⋯ ( inverses of primes ) Kinds of series Taylor series Power series Formal power series Laurent series Puiseux series Dirichlet series Trigonometric series Fourier series Generating series Hypergeometric series Generalized hypergeometric series Hypergeometric function of a matrix argument Lauricella hypergeometric series Modular hypergeometric series Riemann 's differential equation Theta hypergeometric series Retrieved from `` https://en.wikipedia.org/w/index.php?title=Sequence&oldid=808474160 '' Categories : Elementary mathematics Sequences and series Talk Contents About Wikipedia Azərbaycanca Български Bosanski Català Čeština Dansk Deutsch Eesti Ελληνικά Español Esperanto Euskara فارسی Français Gaeilge Galego Хальмг 한국어 Հայերեն हिन्दी Hrvatski Ido Bahasa Indonesia Íslenska Italiano עברית ქართული Қазақша Latina Latviešu Lëtzebuergesch Lietuvių Magyar Македонски മലയാളം Bahasa Melayu Mirandés Nederlands नेपाली 日本 語 Norsk Norsk nynorsk Piemontèis Polski Português Română Русский Scots Sicilianu Simple English Slovenčina Slovenščina Ślůnski کوردی Српски / srpski Srpskohrvatski / српскохрватски Suomi Svenska தமிழ் ไทย Türkçe Українська اردو Tiếng Việt 粵語 中文 Edit links This page was last edited on 3 November 2017, at 02 : 22. Text is available under the Creative Commons Attribution - ShareAlike License ; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia ® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization. About Wikipedia

Question: when is a list of numbers called a sequence
Answer: a function whose domain is either the set of the natural numbers (for infinite sequences) or the set of the first n natural numbers (for a sequence of finite length n)