Sequences

A sequence is a list of numbers that are in order and follow certain pattern or rule.

When the sequence goes on forever it is called an infinite sequence, otherwise it is a finite sequence.

Each element in a sequence is called a term.

Example of a finite sequence:
{1,4,7,10}

A sequence is like a set, except:

A sequence can be defined by an explicit formula or by a recursive one.

Explicit formula

The explicit formula of the above sequence would be:

{ak}k=14=1+3(k1)

Recursive formula

The recursive formula would be:

{ak}k=14 with {a1=2ak=ak1+3

Types of sequences

Arithmetic sequence

In an arithmetic sequence the difference between one term and the next is a constant.

In other words, we just add some value each time on to infinity (or up to an established number).

In general, we can write an arithmetic sequence like this:

{a1,a1+d,a1+2d,a1+3d,...}

Where d is the difference between the terms (called the common difference).

And we can make the rule (explicit formula):

an=a1+d(n1)

(We use "n-1" because d is not used in the 1st term).

Or expressed in a recursive way:

{a1=can=an1+d

Geometric sequence

In a geometric sequence each term is found by multiplying the previous term by a constant.

In general, we can write a geometric sequence like this:
{a1,a1r,a1r2,a1r3,...}

Where r is the factor between the terms (called the common ratio).

r should not be 0.

When r=0, we get the sequence {a,0,0,...} which is not geometric.

The explicit formula is defined by:
an=arn1

(We use n1 because ar0 is the 1st term).

The recursive formula is defined by:
{a1ai=ran1

An example of this type of sequence could be {2,4,8,16,32,64,128,256,...}
Defined by an=2n

Sequences are functions

Notice that the explicit formulas of sequences work like functions: We input a term number n and the formula outputs the value of that term a(n).

Sequences are in fact defined as functions. However, n cannot be any real number value. The domain of sequences—which is the set of all possible inputs of the function—is the positive integers.

References

Khan academy
Math is fun