# Arithmetic Sequence Calculator

- What is an arithmetic sequence?
- Arithmetic sequence definition and naming
- Arithmetic sequence examples
- Arithmetic sequence formula
- Difference between sequence and series
- Arithmetic series to infinity
- Arithmetic and geometric sequences
- Arithmetico–geometric sequence
- Arithmetic sequence calculator: an example of use

This arithmetic sequence calculator (also called the arithmetic series calculator) is a handy tool for analyzing a sequence of numbers that is created by adding a constant value each time. You can use it to find any property of the sequence - the first term, common difference, nᵗʰ term, or the sum of the first n terms. You can dive straight into using it or read on to discover how it works.

In this article, we explain the arithmetic sequence definition, clarify the sequence equation that the calculator uses, and hand you the formula for finding arithmetic series (sum of an arithmetic progression). We also provide an overview of the differences between arithmetic and geometric sequences and an easy-to-understand example of application of our tool.

## What is an arithmetic sequence?

To answer this question, you first need to know what the term **sequence** means. By definition, a sequence in mathematics is a collection of objects, such as numbers or letters, that come in a specific order. These objects are called **elements** or **terms** of the sequence. It is quite common for the same object to appear multiple times in one sequence.

An arithmetic sequence is also a set of objects - more specifically, of numbers. Each consecutive number is created by adding a constant number (called the **common difference**) to the previous one. Such a sequence can be finite when it has a determined number of terms (for example, 20), or infinite if we don't specify the number of terms.

Each arithmetic sequence is uniquely defined by two coefficients: the **common difference** and the **first term**. If you know these two values, you are able to write down the whole sequence.

## Arithmetic sequence definition and naming

Once you start diving into the topic of what is an arithmetic sequence, it's likely that you'll encounter some confusion. It happens because of various naming conventions that are in use.

Two most common terms you might encounter are **arithmetic sequence** and **series**. The first one is also often called an **arithmetic progression**, while the second one is also named the **partial sum**.

The main difference between sequence and series is that by definition, an arithmetic sequence is simply the set of numbers created by adding the common difference each time. Arithmetic series, on the other head, is the sum of *n* terms of a sequence. For example, you might denote the sum of the first 12 terms with `S₁₂ = a₁ + a₂ + ... + a₁₂`

.

## Arithmetic sequence examples

Some examples of an arithmetic sequence include:

- 3, 5, 7, 9, 11, 13, 15, 17, 19, 21...
- 6, 3, 0, -3, -6, -9, -12, -15...
- 50, 50.1, 50.2, 50.3, 50.4, 50.5...

Can you find the common difference of each of these sequences? Hint: try subtracting a term from the following term.

Basing on these examples of arithmetic sequences, you can observe that the common difference doesn't need to be a natural number - it might as well be a fraction. In fact, it doesn't even have to be positive!

If the common difference of an arithmetic sequence is positive, we call it an **increasing sequence**. Naturally, if the difference is negative, the sequence will be **decreasing**. What happens in the case of a zero difference? Well, you will obtain a **monotone sequence**, where each term is equal to the previous one.

Now, let's take a close look at this sequence:

0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ...

Can you deduce what is the common difference in this case?

In fact, you shouldn't be able to. This is not an example of an arithmetic sequence, but a special case, called the Fibonacci sequence. Each term is found by adding up the two terms before it.

A great application of the Fibonacci sequence is constructing a spiral. If you drew squares with sides of length equal to the consecutive terms of this sequence, you'd obtain a perfect spiral.

A perfect spiral - just like this one!

## Arithmetic sequence formula

Let's assume you want to find the 30ᵗʰ term of any of the sequences mentioned above (except for the Fibonacci sequence, of course). Writing down the first 30 terms would be tedious and time-consuming. You probably noticed, though, that you don't have to write them all down! It's enough if you add 29 common differences to the first term.

Let's generalize this statement to formulate the arithmetic sequence equation. It is the formula for any nᵗʰ term of the sequence.

`a = a₁ + (n-1)d`

where:

**a**is the nᵗʰ term of the sequence,**d**is the common difference and**a₁**is the first term of the sequence.

This arithmetic sequence formula is applicable in the case of all common differences, whether they're positive, negative, or equal to zero. Naturally, in the case of a zero difference, all terms are equal to each other, making any calculations unnecessary.

## Difference between sequence and series

Our arithmetic sequence calculator can also find the sum of the sequence (called the arithmetic **series**) for you. You can do it by yourself, too - it's not that hard!

Look at the first example of an arithmetic sequence: 3, 5, 7, 9, 11, 13, 15, 17, 19, 21. We could sum all of the terms by hand, but it is not necessary. Let's try to sum the terms in a more organized fashion. We will add the first and last term together, then the second and second-to-last, third and third-to-last, etc. You will quickly notice that:

- 3 + 21 = 24
- 5 + 19 = 24
- 7 + 17 = 24

The sum of each pair is constant and equal to 24. That means that we don't have to add all numbers. All you have to do is to add the first and last term of the sequence and multiply that sum by the number of pairs (i.e., by n/2).

Mathematically,

`S = n/2 * (a₁ + a)`

Substituting the arithmetic sequence equation for nᵗʰ term,

`S = n/2 * [a₁ + a₁ + (n-1)d]`

After simplification,

`S = n/2 * [2a₁ + (n-1)d]`

This formula will allow you to find the sum of an arithmetic sequence.

## Arithmetic series to infinity

When looking for a sum of an arithmetic sequence, you have probably noticed that you need to pick the value of *n* in order to calculate the partial sum. What if you wanted to sum up **all** of the terms of the sequence?

Intuitively, the sum of an infinite number of terms will be equal to infinity, whether the common difference is positive, negative, or even equal to zero. It is not the case for all types of sequences, though. If you pick another one, for example a geometric sequence, the sum to infinity might turn out to be a finite term.

## Arithmetic and geometric sequences

Obviously, our arithmetic sequence calculator is not able to analyze any other type of sequence. For example, the sequence 2, 4, 8, 16, 32... does not have a common difference. It's because it is a different kind of a sequence - a geometric progression.

What is the main difference between an arithmetic and geometric sequence? While the arithmetic one uses a common difference to construct each consecutive term, a geometric sequence uses a **common ratio**. It means that we multiply each term by a certain number every time we want to create a new term.

One interesting example of a geometric sequence is the so-called **digital universe**. You probably heard that the amount of digital information is doubling in size every two years. It means that you can write the numbers representing the amount of data in a geometric sequence, with a common ratio equal to two.

## Arithmetico–geometric sequence

You can also analyze a special type of sequence, called the **arithmetico-geometric sequence**. It is created by multiplying the terms of two progressions - and arithmetic one and a geometric one.

For example, consider the following two progressions:

- Arithmetic sequence: 1, 2, 3, 4, 5...
- Geometric sequence: 1, 2, 4, 8, 16...

To obtain an n-th term of the arithmetico-geometric series, you need to multiply the n-th term of the arithmetic progression by the n-th term of the geometric progression. In this case, the result will look like this:

- First term:
`1 * 1 = 1`

- Second term:
`2 * 2 = 4`

- Third term:
`3 * 4 = 12`

- Fourth term:
`4 * 8 = 32`

- Fifth term:
`5 * 16 = 80`

Such a sequence is defined by four parameters: initial value of the arithmetic progression **a**, common difference **d**, the initial value of geometric progression **b**, and the common ratio **r**.

## Arithmetic sequence calculator: an example of use

Let's analyze a simple example that can be solved using the arithmetic sequence formula. We will take a close look at the case of free fall.

A stone is falling freely down a deep shaft. During the first second, it travels four meters down. Every next second, the distance it falls is 9.8 meters longer. What is the distance traveled by the stone between the fifth and ninth second?

The distance traveled follows an arithmetic progression with an initial value `a = 4 m`

and a common difference `d = 9.8 m`

.

First, we're going to find the total distance traveled in the first nine seconds of the free fall by calculating the partial sum S₉ (`n = 9`

):

`S₉ = n/2 * [2a₁ + (n-1)d] = 9/2 * [2 * 4 + (9-1) * 9.8] = 388.8 m`

During the first nine seconds, the stone travels a total of 388.8 m. However, we're only interested in the distance covered from the fifth until the ninth second. How to calculate this value? It's easy - all we have to do is subtract the distance traveled in the first four seconds, S₄, from the partial sum S₉.

`S₄ = n/2 * [2a₁ + (n-1)d] = 4/2 * [2 * 4 + (4-1) * 9.8] = 74.8 m`

S₄ is equal to 74.8 m. Now, we can find the result by simple subtraction:

`distance = S₉ - S₄ = 388.8 - 74.8 = 314 m`

There is an alternative method to solving this example. You can use the arithmetic sequence formula to calculate the distance traveled in the fifth, sixth, seventh, eight and ninth second, and add these values together. Try to do it yourself - you will soon realize that the result is exactly the same!