A video game company launches an exciting new advertising campaign. They predict the number of online visits to their website, or hits, will double each day. The model they are using shows 2 hits the first day, 4 hits the second day, 8 hits the third day, and so on. See [link].

Day |
1 | 2 | 3 | 4 | 5 | … |

Hits |
2 | 4 | 8 | 16 | 32 | … |

If their model continues, how many hits will there be at the end of the month? To answer this question, we’ll first need to know how to determine a list of numbers written in a specific order. In this section, we will explore these kinds of ordered lists.

# 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

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.

The first term of the sequence is$\text{\hspace{0.17em}}{2}^{1}=2,\text{\hspace{0.17em}}$the second term is$\text{\hspace{0.17em}}{2}^{2}=4,\text{\hspace{0.17em}}$the third term is$\text{\hspace{0.17em}}{2}^{3}=8,\text{\hspace{0.17em}}$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\mathrm{...}$ with the subscript $n.$ The explicit formula for this sequence is

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 31^{st} term of the sequence. We will substitute 31 for $n$ in the formula.

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 [link].

$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 [link] that the number of hits is rising at an exponential rate. This particular sequence forms an exponential function.

Lastly, we can write this particular sequence as

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

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

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.

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**$\text{\hspace{0.17em}}{a}_{1}?$

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

**Given an explicit formula, write the first**$\text{\hspace{0.17em}}n\text{\hspace{0.17em}}$**terms of a sequence.**

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

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

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

The first five terms are$\text{\hspace{0.17em}}\{5,\text{\hspace{0.17em}}2,\text{\hspace{0.17em}}\mathrm{-1},\text{\hspace{0.17em}}\mathrm{-4},\text{\hspace{0.17em}}\mathrm{-7}\}.$

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

The first five terms are $\left\{1,6,11,16,21\right\}.$

## Investigating Alternating Sequences

Sometimes sequences have terms that are alternate. In fact, the terms may actually alternate in sign. The steps to finding terms of the sequence are the same as if the signs did not alternate. However, the resulting terms will not show increase or decrease as $n$ increases. Let’s take a look at the following sequence.

Notice the first term is greater than the second term, the second term is less than the third term, and the third term is greater than the fourth term. This trend continues forever. Do not rearrange the terms in numerical order to interpret the sequence.

**Given an explicit formula with alternating terms, write the first $n$ terms of a sequence.**

- Substitute each value of $n$ into the formula. Begin with $n=1$ to find the first term, ${a}_{1}.$ The sign of the term is given by the ${\left(-1\right)}^{n}$ in the explicit formula.
- To find the second term,$\text{\hspace{0.17em}}{a}_{2},\text{\hspace{0.17em}}$use$\text{\hspace{0.17em}}n=2.\text{\hspace{0.17em}}$
- Continue in the same manner until you have identified all $n$ terms.

Write the first five terms of the sequence.

Substitute $n=1,$ $n=2,$ and so on in the formula.

The first five terms are $\left\{-\frac{1}{2},\frac{4}{3},-\frac{9}{4},\frac{16}{5},-\frac{25}{6}\right\}.$

The graph of this function, shown in [link], looks different from the ones we have seen previously in this section because the terms of the sequence alternate between positive and negative values.

**In [link], does the (–1) to the power of** $n$ **account for the oscillations of signs?**

*Yes, the power might be* $n,n+1,n-1,\text{\hspace{0.17em}}$*and so on, but any odd powers will result in a negative term, and any even power will result in a positive term.*

Write the first five terms of the sequence:

The first five terms are $\left\{-2,2,-\frac{3}{2},1,\text{}-\frac{5}{8}\right\}.$

## Investigating Piecewise Explicit Formulas

We’ve learned that sequences are functions whose domain is over the positive integers. This is true for other types of functions, including some piecewise functions. Recall that a piecewise function is a function defined by multiple subsections. A different formula might represent each individual subsection.

**Given an explicit formula for a piecewise function, write the first$\text{\hspace{0.17em}}n\text{\hspace{0.17em}}$terms of a sequence**

- Identify the formula to which $n=1$ applies.
- To find the first term,$\text{\hspace{0.17em}}{a}_{1},\text{\hspace{0.17em}}$use$\text{\hspace{0.17em}}n=1\text{\hspace{0.17em}}$in the appropriate formula.
- Identify the formula to which$\text{\hspace{0.17em}}n=2\text{\hspace{0.17em}}$applies.
- To find the second term,$\text{\hspace{0.17em}}{a}_{2},\text{\hspace{0.17em}}$use$\text{\hspace{0.17em}}n=2\text{\hspace{0.17em}}$in the appropriate formula.
- Continue in the same manner until you have identified all$\text{\hspace{0.17em}}n\text{\hspace{0.17em}}$terms.

Write the first six terms of the sequence.

Substitute$\text{\hspace{0.17em}}n=1,n=2,\text{\hspace{0.17em}}$and so on in the appropriate formula. Use ${n}^{2}$ when $n$ is not a multiple of 3. Use $\frac{n}{3}$ when $n$ is a multiple of 3.

The first six terms are $\left\{1,\text{}4,\text{}1,\text{}16,\text{}25,\text{}2\right\}.$

Every third point on the graph shown in [link] stands out from the two nearby points. This occurs because the sequence was defined by a piecewise function.

Write the first six terms of the sequence.

The first six terms are $\left\{2,\text{}5,\text{}54,\text{}10,\text{}250,\text{}15\right\}.$

## Finding an Explicit Formula

Thus far, we have been given the explicit formula and asked to find a number of terms of the sequence. Sometimes, the explicit formula for the$\text{\hspace{0.17em}}n\text{th}\text{\hspace{0.17em}}$term of a sequence is not given. Instead, we are given several terms from the sequence. When this happens, we can work in reverse to find an explicit formula from the first few terms of a sequence. The key to finding an explicit formula is to look for a pattern in the terms. Keep in mind that the pattern may involve alternating terms, formulas for numerators, formulas for denominators, exponents, or bases.

**Given the first few terms of a sequence, find an explicit formula for the sequence.**

- Look for a pattern among the terms.
- If the terms are fractions, look for a separate pattern among the numerators and denominators.
- Look for a pattern among the signs of the terms.
- Write a formula for ${a}_{n}$ in terms of $n.$ Test your formula for $n=1,\text{}n=2,$ and $n=3.$

*n*th Term of a Sequence

Write an explicit formula for the $n\text{th}$ term of each sequence.

- $\left\{-\frac{2}{11},\frac{3}{13},-\frac{4}{15},\frac{5}{17},-\frac{6}{19},\dots \right\}$
- $\{-\frac{2}{25}\text{,}-\frac{2}{125}\text{,}-\frac{2}{625}\text{,}-\frac{2}{3\text{,}125}\text{,}-\frac{2}{15\text{,}625}\text{,}\dots \}$
- $\{{e}^{4}\text{,}{e}^{5}\text{,}{e}^{6}\text{,}{e}^{7}\text{,}{e}^{8}\text{,}\dots \}$

Look for the pattern in each sequence.

- The terms alternate between positive and negative. We can use$\text{\hspace{0.17em}}{(-1)}^{n}\text{\hspace{0.17em}}$to make the terms alternate. The numerator can be represented by $n+1.$ The denominator can be represented by $2n+9.$
${a}_{n}=\frac{{(-1)}^{n}(n+1)}{2n+9}$

The terms are all negative.

So we know that the fraction is negative, the numerator is 2, and the denominator can be represented by ${5}^{n+1}.$

The terms are powers of $e.$ For $n=1,$ the first term is ${e}^{4}$ so the exponent must be $n+3.$

Write an explicit formula for the $n\text{th}$ term of the sequence.

${a}_{n}={(-1)}^{n+1}{9}^{n}$

Write an explicit formula for the$\text{\hspace{0.17em}}n\text{th}\text{\hspace{0.17em}}$term of the sequence.

${a}_{n}=-\frac{{3}^{n}}{4n}$

Write an explicit formula for the$\text{\hspace{0.17em}}n\text{th}\text{\hspace{0.17em}}$term of the sequence.

${a}_{n}={e}^{n-3}$

# Writing the Terms of a Sequence Defined by a Recursive Formula

Sequences occur naturally in the growth patterns of nautilus shells, pinecones, tree branches, and many other natural structures. We may see the sequence in the leaf or branch arrangement, the number of petals of a flower, or the pattern of the chambers in a nautilus shell. Their growth follows the Fibonacci sequence, a famous sequence in which each term can be found by adding the preceding two terms. The numbers in the sequence are 1, 1, 2, 3, 5, 8, 13, 21, 34,…. Other examples from the natural world that exhibit the Fibonacci sequence are the Calla Lily, which has just one petal, the Black-Eyed Susan with 13 petals, and different varieties of daisies that may have 21 or 34 petals.

Each term of the Fibonacci sequence depends on the terms that come before it. The Fibonacci sequence cannot easily be written using an explicit formula. Instead, we describe the sequence using a **recursive formula**, a formula that defines the terms of a sequence using previous terms.

A recursive formula always has two parts: the value of an initial term (or terms), and an equation defining ${a}_{n}$ in terms of preceding terms. For example, suppose we know the following:

We can find the subsequent terms of the sequence using the first term.

So the first four terms of the sequence are $\left\{3,\text{}5,\text{}9,\text{}17\right\}$.

The recursive formula for the Fibonacci sequence states the first two terms and defines each successive term as the sum of the preceding two terms.

To find the tenth term of the sequence, for example, we would need to add the eighth and ninth terms. We were told previously that the eighth and ninth terms are 21 and 34, so

A recursive formula is a formula that defines each term of a sequence using preceding term(s). Recursive formulas must always state the initial term, or terms, of the sequence.

**Must the first two terms always be given in a recursive formula?**

*No. The Fibonacci sequence defines each term using the two preceding terms, but many recursive formulas define each term using only one preceding term. These sequences need only the first term to be defined.*

**Given a recursive formula with only the first term provided, write the first $n$ terms of a sequence.**

- Identify the initial term,$\text{\hspace{0.17em}}{a}_{1},$ which is given as part of the formula. This is the first term.
- To find the second term,$\text{\hspace{0.17em}}{a}_{2},$ substitute the initial term into the formula for ${a}_{n-1}.$ Solve.
- To find the third term,$\text{\hspace{0.17em}}{a}_{3},$ substitute the second term into the formula. Solve.
- Repeat until you have solved for the $n\text{th}$ term.

Write the first five terms of the sequence defined by the recursive formula.

The first term is given in the formula. For each subsequent term, we replace ${a}_{n-1}$ with the value of the preceding term.

The first five terms are $\left\{9,\text{}7,\text{}1,\text{}\u201317,\text{}\u201371\right\}.$ See [link].

Write the first five terms of the sequence defined by the recursive formula.

$\left\{2,5,11,23,47\right\}$

**Given a recursive formula with two initial terms, write the first $n$ terms of a sequence.**

- Identify the initial term,$\text{\hspace{0.17em}}{a}_{1},\text{\hspace{0.17em}}$which is given as part of the formula.
- Identify the second term,$\text{\hspace{0.17em}}{a}_{2},\text{\hspace{0.17em}}$which is given as part of the formula.
- To find the third term, substitute the initial term and the second term into the formula. Evaluate.
- Repeat until you have evaluated the $n\text{th}$ term.

Write the first six terms of the sequence defined by the recursive formula.

The first two terms are given. For each subsequent term, we replace ${a}_{n-1}$ and ${a}_{n-2}$ with the values of the two preceding terms.

The first six terms are$\text{\hspace{0.17em}}\text{{1,2,10,38,154,614}}\text{.}$ See [link].

Write the first 8 terms of the sequence defined by the recursive formula.

$\left\{0,1,1,1,2,3,\frac{5}{2},\text{}\frac{17}{6}\right\}.$

# Using Factorial Notation

The formulas for some sequences include products of consecutive positive integers. **$n$ factorial**, written as $n!,$ is the product of the positive integers from 1 to $n.$ For example,

An example of formula containing a factorial is ${a}_{n}=(n+1)!.$ The sixth term of the sequence can be found by substituting 6 for $n.$

The factorial of any whole number $n$ is $n(n-1)!$ We can therefore also think of $5!$ as$\text{\hspace{0.17em}}5\cdot 4!\text{.}$

$\text{\hspace{0.17em}}n\text{\hspace{0.17em}}$factorial is a mathematical operation that can be defined using a recursive formula. The factorial of$\text{\hspace{0.17em}}n,\text{\hspace{0.17em}}$denoted$\text{\hspace{0.17em}}n!,\text{\hspace{0.17em}}$is defined for a positive integer $n$ as:

The special case $0!$ is defined as $0!=1.$

**Can factorials always be found using a calculator?**

*No. Factorials get large very quickly—faster than even exponential functions! When the output gets too large for the calculator, it will not be able to calculate the factorial.*

Write the first five terms of the sequence defined by the explicit formula ${a}_{n}=\frac{5n}{(n+2)!}.$

Substitute$\text{\hspace{0.17em}}n=1,n=2,\text{\hspace{0.17em}}$and so on in the formula.

The first five terms are $\{\frac{5}{6},\frac{5}{12},\frac{1}{8},\frac{1}{36},\frac{5}{\mathrm{1,008}}\}.$

[link] shows the graph of the sequence. Notice that, since factorials grow very quickly, the presence of the factorial term in the denominator results in the denominator becoming much larger than the numerator as $n$ increases. This means the quotient gets smaller and, as the plot of the terms shows, the terms are decreasing and nearing zero.

Write the first five terms of the sequence defined by the explicit formula ${a}_{n}=\frac{(n+1)!}{2n}.$

The first five terms are $\left\{1,\frac{3}{2},4,\text{}15,\text{}72\right\}.$

Access this online resource for additional instruction and practice with sequences.

# Key Equations

Formula for a factorial | $$\begin{array}{l}0!=1\\ 1!=1\\ n!=n\left(n-1\right)\left(n-2\right)\cdots \left(2\right)\left(1\right)\text{,for}n\ge 2\end{array}$$ |

# Key Concepts

- A sequence is a list of numbers, called terms, written in a specific order.
- Explicit formulas define each term of a sequence using the position of the term. See [link], [link], and [link].
- An explicit formula for the$\text{\hspace{0.17em}}n\text{th}\text{\hspace{0.17em}}$term of a sequence can be written by analyzing the pattern of several terms. See [link].
- Recursive formulas define each term of a sequence using previous terms.
- Recursive formulas must state the initial term, or terms, of a sequence.
- A set of terms can be written by using a recursive formula. See [link] and [link].
- A factorial is a mathematical operation that can be defined recursively.
- The factorial of$\text{\hspace{0.17em}}n\text{\hspace{0.17em}}$is the product of all integers from 1 to$\text{\hspace{0.17em}}n\text{\hspace{0.17em}}$See [link].

# Section Exercises

## Verbal

Discuss the meaning of a sequence. If a finite sequence is defined by a formula, what is its domain? What about an infinite sequence?

A sequence is an ordered list of numbers that can be either finite or infinite in number. When a finite sequence is defined by a formula, its domain is a subset of the non-negative integers. When an infinite sequence is defined by a formula, its domain is all positive or all non-negative integers.

Describe three ways that a sequence can be defined.

Is the ordered set of even numbers an infinite sequence? What about the ordered set of odd numbers? Explain why or why not.

Yes, both sets go on indefinitely, so they are both infinite sequences.

What happens to the terms ${a}_{n}$ of a sequence when there is a negative factor in the formula that is raised to a power that includes $n?$ What is the term used to describe this phenomenon?

What is a factorial, and how is it denoted? Use an example to illustrate how factorial notation can be beneficial.

A factorial is the product of a positive integer and all the positive integers below it. An exclamation point is used to indicate the operation. Answers may vary. An example of the benefit of using factorial notation is when indicating the product It is much easier to write than it is to write out $\text{13}\cdot \text{12}\cdot \text{11}\cdot \text{10}\cdot \text{9}\cdot \text{8}\cdot \text{7}\cdot \text{6}\cdot \text{5}\cdot \text{4}\cdot \text{3}\cdot \text{2}\cdot \text{1}\text{.}$

## Algebraic

For the following exercises, write the first four terms of the sequence.

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

${a}_{n}=-\frac{16}{n+1}$

First four terms: $-8,\text{}-\frac{16}{3},\text{}-4,\text{}-\frac{16}{5}$

${a}_{n}=-{\left(-5\right)}^{n-1}$

${a}_{n}=\frac{{2}^{n}}{{n}^{3}}$

First four terms: $2,\text{}\frac{1}{2},\text{}\frac{8}{27},\text{}\frac{1}{4}$.

${a}_{n}=\frac{2n+1}{{n}^{3}}$

${a}_{n}=1.25\cdot {\left(-4\right)}^{n-1}$

First four terms: $1.25,\text{}-5,\text{}20,\text{}-80$.

${a}_{n}=-4\cdot {\left(-6\right)}^{n-1}$

${a}_{n}=\frac{{n}^{2}}{2n+1}$

First four terms: $\frac{1}{3},\text{}\frac{4}{5},\text{}\frac{9}{7},\text{}\frac{16}{9}$.

${a}_{n}={\left(-10\right)}^{n}+1$

${a}_{n}=-\left(\frac{4\cdot {(-5)}^{n-1}}{5}\right)$

First four terms: $-\frac{4}{5},\text{}4,\text{}-20,\text{}100$

For the following exercises, write the first eight terms of the piecewise sequence.

${a}_{n}=\{\begin{array}{ll}{(-2)}^{n}-2\hfill & \text{if}n\text{iseven}\hfill \\ {(3)}^{n-1}\hfill & \text{if}n\text{isodd}\hfill \end{array}$

${a}_{n}=\{\begin{array}{ll}\frac{{n}^{2}}{2n+1}\hfill & \text{if}n\text{}\le \text{5}\hfill \\ {n}^{2}-5\hfill & \text{if}n\text{5}\hfill \end{array}$

$\frac{1}{3},\text{}\frac{4}{5},\text{}\frac{9}{7},\text{}\frac{16}{9},\text{}\frac{25}{11},\text{}31,\text{}44,\text{}59$

${a}_{n}=\{\begin{array}{ll}{(2n+1)}^{2}\hfill & \text{if}n\text{isdivisibleby4}\hfill \\ \frac{2}{n}\hfill & \text{if}n\text{isnotdivisibleby4}\hfill \end{array}$

${a}_{n}=\{\begin{array}{ll}-0.6\cdot {5}^{n-1}\hfill & \text{if}n\text{isprimeor1}\hfill \\ 2.5\cdot {(-2)}^{n-1}\hfill & \text{if}n\text{iscomposite}\hfill \end{array}$

$-0.6,-3,-15,-20,-375,-80,-9375,-320$

${a}_{n}=\{\begin{array}{ll}4({n}^{2}-2)\hfill & \text{if}n\text{}\le 3\text{or}n\text{6}\hfill \\ \frac{{n}^{2}-2}{4}\hfill & \text{if}3n\le 6\hfill \end{array}$

For the following exercises, write an explicit formula for each sequence.

$4,7,12,19,28,\dots $

${a}_{n}={n}^{2}+3$

$-4,2,-10,14,-34,\dots $

$1,1,\frac{4}{3},2,\frac{16}{5},\dots $

${a}_{n}=\frac{{2}^{n}}{2n}\text{or}\frac{{2}^{n-1}}{n}$

$0,\frac{1-{e}^{1}}{1+{e}^{2}},\frac{1-{e}^{2}}{1+{e}^{3}},\frac{1-{e}^{3}}{1+{e}^{4}},\frac{1-{e}^{4}}{1+{e}^{5}},\dots $

$1,-\frac{1}{2},\frac{1}{4},-\frac{1}{8},\frac{1}{16},\dots $

${a}_{n}={\left(-\frac{1}{2}\right)}^{n-1}$

For the following exercises, write the first five terms of the sequence.

${a}_{1}=9,\text{}{a}_{n}={a}_{n-1}+n$

${a}_{1}=3,\text{}{a}_{n}=\left(-3\right){a}_{n-1}$

First five terms: $3,\text{}-9,\text{}27,\text{}-81,\text{}243$

${a}_{1}=-4,\text{}{a}_{n}=\frac{{a}_{n-1}+2n}{{a}_{n-1}-1}$

${a}_{1}=-1,\text{}{a}_{n}=\frac{{\left(-3\right)}^{n-1}}{{a}_{n-1}-2}$

First five terms: $-1,\text{}1,\text{}-9,\text{}\frac{27}{11},\text{}\frac{891}{5}$

${a}_{1}=-30,\text{}{a}_{n}=\left(2+{a}_{n-1}\right){\left(\frac{1}{2}\right)}^{n}$

For the following exercises, write the first eight terms of the sequence.

${a}_{1}=\frac{1}{24},{\text{a}}_{2}=1,\text{}{a}_{n}=\left(2{a}_{n-2}\right)\left(3{a}_{n-1}\right)$

$\frac{1}{24},\text{1,}\frac{1}{4},\text{}\frac{3}{2},\text{}\frac{9}{4},\text{}\frac{81}{4},\text{}\frac{2187}{8},\text{}\frac{531,441}{16}$

${a}_{1}=-1,{\text{a}}_{2}=5,\text{}{a}_{n}={a}_{n-2}\left(3-{a}_{n-1}\right)$

${a}_{1}=2,{\text{a}}_{2}=10,\text{}{a}_{n}=\frac{2\left({a}_{n-1}+2\right)}{{a}_{n-2}}$

$2,\text{}10,\text{}12,\text{}\frac{14}{5},\text{}\frac{4}{5},\text{}2,\text{}10,\text{}12$

For the following exercises, write a recursive formula for each sequence.

$-2.5,-5,-10,-20,-40,\dots $

$-8,-6,-3,1,6,\dots $

${a}_{1}=-8,{a}_{n}={a}_{n-1}+n$

$2,\text{}4,\text{}12,\text{}48,\text{}240,\text{}\dots $

$35,\text{}38,\text{}41,\text{}44,\text{}47,\text{}\dots $

${a}_{1}=35,{a}_{n}={a}_{n-1}+3$

$15,3,\frac{3}{5},\frac{3}{25},\frac{3}{125},\cdots $

For the following exercises, evaluate the factorial.

$6!$

$720$

$\left(\frac{12}{6}\right)!$

$\frac{12!}{6!}$

$665,280$

$\frac{100!}{99!}$

For the following exercises, write the first four terms of the sequence.

${a}_{n}=\frac{n!}{{n}^{\text{2}}}$

First four terms: $1,\frac{1}{2},\frac{2}{3},\frac{3}{2}$

${a}_{n}=\frac{3\cdot n!}{4\cdot n!}$

${a}_{n}=\frac{n!}{{n}^{2}-n-1}$

First four terms: $-1,2,\frac{6}{5},\frac{24}{11}$

${a}_{n}=\frac{100\cdot n}{n(n-1)!}$

## Graphical

For the following exercises, graph the first five terms of the indicated sequence

${a}_{n}=\frac{{\left(-1\right)}^{n}}{n}+n$

${a}_{n}=\{\begin{array}{ll}\frac{4+n}{2n}\hfill & \text{if}n\text{iseven}\hfill \\ 3+n\hfill & \text{if}n\text{isodd}\hfill \end{array}$

${a}_{1}=2,\text{}{a}_{n}={\left(-{a}_{n-1}+1\right)}^{2}$

${a}_{n}=1,\text{}{a}_{n}={a}_{n-1}+8$

${a}_{n}=\frac{\left(n+1\right)!}{\left(n-1\right)!}$

For the following exercises, write an explicit formula for the sequence using the first five points shown on the graph.

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

For the following exercises, write a recursive formula for the sequence using the first five points shown on the graph.

${a}_{1}=6,\text{}{a}_{n}=2{a}_{n-1}-5$

## Technology

Follow these steps to evaluate a sequence defined recursively using a graphing calculator:

- On the home screen, key in the value for the initial term$\text{\hspace{0.17em}}{a}_{1}\text{\hspace{0.17em}}$and press
**[ENTER]**. - Enter the recursive formula by keying in all numerical values given in the formula, along with the key strokes
**[2ND] ANS**for the previous term$\text{\hspace{0.17em}}{a}_{n-1}.\text{\hspace{0.17em}}$Press**[ENTER]**. - Continue pressing
**[ENTER]**to calculate the values for each successive term.

For the following exercises, use the steps above to find the indicated term or terms for the sequence.

Find the first five terms of the sequence ${a}_{1}=\frac{87}{111},\text{}{a}_{n}=\frac{4}{3}{a}_{n-1}+\frac{12}{37}.$ Use the >**Frac** feature to give fractional results.

First five terms: $\frac{29}{37},\frac{152}{111},\frac{716}{333},\frac{3188}{999},\frac{13724}{2997}$

Find the 15^{th} term of the sequence$\text{\hspace{0.17em}}{a}_{1}=625,{a}_{n}=0.8{a}_{n-1}+18.$

Find the first five terms of the sequence$\text{\hspace{0.17em}}{a}_{1}=2,{a}_{n}={2}^{[({a}_{n}-1)-1]}+1.$

First five terms: $2,3,5,17,65537$

Find the first ten terms of the sequence ${a}_{1}=8,\text{}{a}_{n}=\frac{\left({a}_{n-1}+1\right)!}{{a}_{n-1}!}.$

Find the tenth term of the sequence ${a}_{1}=2,\text{}{a}_{n}=n{a}_{n-1}$

${a}_{10}=7,257,600$

Follow these steps to evaluate a finite sequence defined by an explicit formula. Using a TI-84, do the following.

- In the home screen, press
**[2ND] LIST**. - Scroll over to
**OPS**and choose**“seq(”**from the dropdown list. Press**[ENTER]**. - In the line headed
**“Expr:”**type in the explicit formula, using the$\text{\hspace{0.17em}}[\text{X,T},\theta ,n]\text{\hspace{0.17em}}$button for$\text{\hspace{0.17em}}n$ - In the line headed
**“Variable:”**type in the variable used on the previous step. - In the line headed
**“start:”**key in the value of$\text{\hspace{0.17em}}n\text{\hspace{0.17em}}$that begins the sequence. - In the line headed
**“end:”**key in the value of$\text{\hspace{0.17em}}n\text{\hspace{0.17em}}$that ends the sequence. - Press
**[ENTER]**3 times to return to the home screen. You will see the sequence syntax on the screen. Press**[ENTER]**to see the list of terms for the finite sequence defined. Use the right arrow key to scroll through the list of terms.

Using a TI-83, do the following.

- In the home screen, press
**[2ND] LIST**. - Scroll over to
**OPS**and choose**“seq(”**from the dropdown list. Press**[ENTER]**. - Enter the items in the order
**“Expr”**,**“Variable”**,**“start”**,**“end”**separated by commas. See the instructions above for the description of each item. - Press
**[ENTER]**to see the list of terms for the finite sequence defined. Use the right arrow key to scroll through the list of terms.

For the following exercises, use the steps above to find the indicated terms for the sequence. Round to the nearest thousandth when necessary.

List the first five terms of the sequence ${a}_{n}=-\frac{28}{9}n+\frac{5}{3}.$

List the first six terms of the sequence$\text{\hspace{0.17em}}{a}_{n}=\frac{{n}^{3}-3.5{n}^{2}+4.1n-1.5}{2.4n}.$

First six terms: $0.042,0.146,0.875,2.385,4.708$

List the first five terms of the sequence ${a}_{n}=\frac{15n\cdot {\left(-2\right)}^{n-1}}{47}$

List the first four terms of the sequence ${a}_{n}={5.7}^{n}+0.275\left(n-1\right)!$

First four terms: $5.975,32.765,185.743,1057.25,6023.521$

List the first six terms of the sequence ${a}_{n}=\frac{n!}{n}.$

## Extensions

Consider the sequence defined by ${a}_{n}=-6-8n.$ Is ${a}_{n}=-421$ a term in the sequence? Verify the result.

If$\text{\hspace{0.17em}}{a}_{n}=-421\text{\hspace{0.17em}}$is a term in the sequence, then solving the equation $-421=-6-8n$ for $n$ will yield a non-negative integer. However, if$\text{\hspace{0.17em}}-421=-6-8n,\text{\hspace{0.17em}}$then $n=51.875$ so ${a}_{n}=-421$ is not a term in the sequence.

What term in the sequence ${a}_{n}=\frac{{n}^{2}+4n+4}{2\left(n+2\right)}$ has the value $41?$ Verify the result.

Find a recursive formula for the sequence $1,\text{}0,\text{}-1,\text{}-1,\text{}0,\text{}1,\text{}1,\text{}0,\text{}-1,\text{}-1,\text{}0,\text{}1,\text{}1,\text{}\mathrm{...}\text{}.$ (*Hint*: find a pattern for$\text{\hspace{0.17em}}{a}_{n}\text{\hspace{0.17em}}$based on the first two terms.)

${a}_{1}=1,{a}_{2}=0,{a}_{n}={a}_{n-1}-{a}_{n-2}$

Calculate the first eight terms of the sequences ${a}_{n}=\frac{\left(n+2\right)!}{\left(n-1\right)!}$ and ${b}_{n}={n}^{3}+3{n}^{2}+2n,$ and then make a conjecture about the relationship between these two sequences.

Prove the conjecture made in the preceding exercise.

$\frac{(n+2)!}{(n-1)!}=\frac{(n+2)\xb7(n+1)\xb7(n)\xb7(n-1)\xb7\mathrm{...}\xb73\xb72\xb71}{(n-1)\xb7\mathrm{...}\xb73\xb72\xb71}=n(n+1)(n+2)={n}^{3}+3{n}^{2}+2n$

- Precalculus
- Preface
- Functions
- Linear Functions
- Polynomial and Rational Functions
- Exponential and Logarithmic Functions
- Trigonometric Functions
- Periodic Functions
- Trigonometric Identities and Equations
- Further Applications of Trigonometry
- Systems of Equations and Inequalities
- Introduction to Systems of Equations and Inequalities
- Systems of Linear Equations: Two Variables
- Systems of Linear Equations: Three Variables
- Systems of Nonlinear Equations and Inequalities: Two Variables
- Partial Fractions
- Matrices and Matrix Operations
- Solving Systems with Gaussian Elimination
- Solving Systems with Inverses
- Solving Systems with Cramer's Rule

- Analytic Geometry
- Sequences, Probability and Counting Theory
- Introduction to Calculus
- Appendix

The sequence values can be listed in a table. A table, such as [link], is a convenient way to input the function into a graphing utility.

$n$${a}_{n}$A graph can be made from this table of values. From the graph in [link], 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.