## Writing the Terms of a Sequence Defined by an Explicit Formula

One way to describe an ordered list of numbers is as a sequence. A sequence is a function whose domain is a subset of the counting numbers. The sequence established by the number of hits on the website is

$\left\{2,4,8,16,32,\dots \right\}$.

The ellipsis (…) indicates that the sequence continues indefinitely. Each number in the sequence is called a term. The first five terms of this sequence are 2, 4, 8, 16, and 32.

Listing all of the terms for a sequence can be cumbersome. For example, finding the number of hits on the website at the end of the month would require listing out as many as 31 terms. A more efficient way to determine a specific term is by writing a formula to define the sequence.

One type of formula is an explicit formula, which defines the terms of a sequence using their position in the sequence. Explicit formulas are helpful if we want to find a specific term of a sequence without finding all of the previous terms. We can use the formula to find the $n\text{th}$ term of the sequence, where $n$ is any positive number. In our example, each number in the sequence is double the previous number, so we can use powers of 2 to write a formula for the $n\text{th}$ term.

>Figure 1

The first term of the sequence is ${2}^{1}=2$, the second term is ${2}^{2}=4$, the third term is ${2}^{3}=8$, and so on. The $n\text{th}$ term of the sequence can be found by raising 2 to the $n\text{th}$ power. An explicit formula for a sequence is named by a lower case letter $a,b,c..$. with the subscript $n$. The explicit formula for this sequence is

${a}_{n}={2}^{n}$.

Now that we have a formula for the $n\text{th}$ term of the sequence, we can answer the question posed at the beginning of this section. We were asked to find the number of hits at the end of the month, which we will take to be 31 days. To find the number of hits on the last day of the month, we need to find the 31st term of the sequence. We will substitute 31 for $n$ in the formula.

$\begin{array}{l}{a}_{31}={2}^{31}\hfill \\ \text{ }=\text{2,147,483,648}\hfill \end{array}$

If the doubling trend continues, the company will get $\text{2,147,483,648}$ hits on the last day of the month. That is over 2.1 billion hits! The huge number is probably a little unrealistic because it does not take consumer interest and competition into account. It does, however, give the company a starting point from which to consider business decisions.

Another way to represent the sequence is by using a table. The first five terms of the sequence and the $n\text{th}$ term of the sequence are shown in the table.

 $n$ 1 2 3 4 5 $n$ $n\text{th}$ term of the sequence, ${a}_{n}$ 2 4 8 16 32 ${2}^{n}$

Graphing provides a visual representation of the sequence as a set of distinct points. We can see from the graph in Figure 2 that the number of hits is rising at an exponential rate. This particular sequence forms an exponential function.

Figure 2

Lastly, we can write this particular sequence as

$\left\{2,4,8,16,32,\dots ,{2}^{n},\dots \right\}$.

A sequence that continues indefinitely is called an infinite sequence. The domain of an infinite sequence is the set of counting numbers. If we consider only the first 10 terms of the sequence, we could write

$\left\{2,4,8,16,32,\dots ,{2}^{n},\dots ,1024\right\}$.

This sequence is called a finite sequence because it does not continue indefinitely.

### A General Note: Sequence

A sequence is a function whose domain is the set of positive integers. A finite sequence is a sequence whose domain consists of only the first $n$ positive integers. The numbers in a sequence are called terms. The variable $a$ with a number subscript is used to represent the terms in a sequence and to indicate the position of the term in the sequence.

${a}_{1},{a}_{2},{a}_{3},\dots ,{a}_{n},\dots$

We call ${a}_{1}$ the first term of the sequence, ${a}_{2}$ the second term of the sequence, ${a}_{3}$ the third term of the sequence, and so on. The term ${a}_{n}$ is called the $n\text{th}$ term of the sequence, or the general term of the sequence. An explicit formula defines the $n\text{th}$ term of a sequence using the position of the term. A sequence that continues indefinitely is an infinite sequence.

### Does a sequence always have to begin with ${a}_{1}?$

No. In certain problems, it may be useful to define the initial term as ${a}_{0}$ instead of ${a}_{1}$. In these problems, the domain of the function includes 0.

### How To: Given an explicit formula, write the first $n$ terms of a sequence.

1. Substitute each value of $n$ into the formula. Begin with $n=1$ to find the first term, ${a}_{1}$.
2. To find the second term, ${a}_{2}$, use $n=2$.
3. Continue in the same manner until you have identified all $n$ terms.

### Example 1: Writing the Terms of a Sequence Defined by an Explicit Formula

Write the first five terms of the sequence defined by the explicit formula ${a}_{n}=-3n+8$.

### Solution

Substitute $n=1$ into the formula. Repeat with values 2 through 5 for $n$.

$\begin{array}{llllll}n=1\hfill & \hfill & \hfill & \hfill & \hfill & {a}_{1}=-3\left(1\right)+8=5\hfill \\ n=2\hfill & \hfill & \hfill & \hfill & \hfill & {a}_{2}=-3\left(2\right)+8=2\hfill \\ n=3\hfill & \hfill & \hfill & \hfill & \hfill & {a}_{3}=-3\left(3\right)+8=-1\hfill \\ n=4\hfill & \hfill & \hfill & \hfill & \hfill & {a}_{4}=-3\left(4\right)+8=-4\hfill \\ n=5\hfill & \hfill & \hfill & \hfill & \hfill & {a}_{5}=-3\left(5\right)+8=-7\hfill \end{array}$

The first five terms are $\left\{5,2,-1,-4,-7\right\}$.

### Analysis of the Solution

The sequence values can be listed in a table. A table is a convenient way to input the function into a graphing utility.

 $n$ 1 2 3 4 5 ${a}_{n}$ 5 2 –1 –4 –7

A graph can be made from this table of values. From the graph in Figure 2, we can see that this sequence represents a linear function, but notice the graph is not continuous because the domain is over the positive integers only.

Figure 3

### Try It 1

Write the first five terms of the sequence defined by the explicit formula ${t}_{n}=5n - 4$.

Solution