Skip to content

Arithmetic Sequence Generator & Calculator

An arithmetic sequence calculator that lists every term of a sequence from its first term, common difference, and number of terms, and adds up the sum.

Arithmetic Sequence Generator

Loading calculator...
šŸ“š

Documentation

What Is an Arithmetic Sequence?

An arithmetic sequence is a list of numbers in which each term is found by adding a fixed amount to the term before it. That fixed amount is called the common difference. In the sequence 2, 5, 8, 11, 14, each term is 3 more than the one before it, so the common difference is 3. Arithmetic sequences are also called arithmetic progressions.

An arithmetic sequence generator builds this kind of list from three values:

  • First term (a₁): the starting number.
  • Common difference (d): the fixed amount added to each term to get the next one. A positive value makes the sequence increase. A negative value makes it decrease.
  • Number of terms (n): how many numbers appear in the sequence.

Written out, an arithmetic sequence looks like this: a₁, a₁ + d, a₁ + 2d, a₁ + 3d, and so on, up to a₁ + (n āˆ’ 1)d.

Arithmetic Sequence Formula

The formula for the nth term of an arithmetic sequence is:

aā‚™ = a₁ + (n āˆ’ 1) Ɨ d

  • aā‚™ is the value of the term at position n.
  • a₁ is the first term.
  • n is the position of the term, counting from 1.
  • d is the common difference.

The (n āˆ’ 1) appears because the first term has not had the common difference added to it yet. The second term has had it added once, the third term twice, and so on. By the nth term, the common difference has been added (n āˆ’ 1) times.

Sum of an Arithmetic Sequence Formula

The sum of the first n terms of an arithmetic sequence is:

Sā‚™ = (n / 2) Ɨ (a₁ + aā‚™)

Sā‚™ is the sum of the first n terms, and aā‚™ is the last term included in that sum. This formula works because pairing the first and last term, the second and second-to-last term, and so on, always gives the same pair sum. Multiplying that pair sum by half the number of terms gives the total.

An equivalent form that does not require knowing the last term in advance is:

Sā‚™ = (n / 2) Ɨ (2a₁ + (n āˆ’ 1) Ɨ d)

This formula is credited to the mathematician Carl Friedrich Gauss, who is said to have used the pairing method as a child to add the numbers 1 through 100 in seconds: 50 pairs, each summing to 101, for a total of 5,050.

Example

Take a first term of 5, a common difference of 3, and 6 terms.

Position (n)CalculationTerm
15 + (1 āˆ’ 1) Ɨ 35
25 + (2 āˆ’ 1) Ɨ 38
35 + (3 āˆ’ 1) Ɨ 311
45 + (4 āˆ’ 1) Ɨ 314
55 + (5 āˆ’ 1) Ɨ 317
65 + (6 āˆ’ 1) Ɨ 320

The sequence is 5, 8, 11, 14, 17, 20. Its sum is (6 / 2) Ɨ (5 + 20) = 3 Ɨ 25 = 75.

How to Use the Arithmetic Sequence Calculator

  1. Enter the first term (a₁). It can be positive, negative, or zero, and it can include decimals.
  2. Enter the common difference (d). It can also be positive, negative, zero, or a decimal.
  3. Enter the number of terms (n). This must be a whole number from 1 to 10,000. A decimal is rounded to the nearest whole number.
  4. The sequence, its term count, and its sum appear as soon as all three fields are filled in. There is no separate button to press.
  5. Select Copy Sequence to copy the full list of terms.
  6. Select Clear to empty all three fields and start over.

Input Rules

The first term and common difference accept any real number, including decimals and negative numbers. The number of terms counts whole items, so a sequence cannot have half a term. The field rounds a decimal entry to the nearest whole number: typing 10.5 gives 11 terms. The count must then land between 1 and 10,000. Zero, a negative count, or a count above 10,000 shows an error instead of a sequence. The 10,000 limit exists because building and displaying a longer list can slow down a web browser.

Uses of Arithmetic Sequences

Arithmetic sequences describe anything that changes by a fixed amount at regular steps. A savings plan that starts at 100andadds100 and adds 25 every month follows an arithmetic sequence: 100, 125, 150, 175, and so on. A countdown timer, a set of evenly spaced meeting times, and the row and column indexes used in computer programs all follow the same pattern. Students commonly use arithmetic sequences to study patterns in early algebra, since the constant difference makes the rule behind the list easy to see and check.

A related pattern is the geometric sequence, where each term is found by multiplying by a fixed ratio instead of adding a fixed amount, such as 2, 6, 18, 54. Geometric sequences model growth that speeds up over time, like compound interest, rather than the steady, straight-line change of an arithmetic sequence.

History

Arithmetic sequences are among the oldest studied patterns in mathematics. The Rhind Mathematical Papyrus, an Egyptian document from around 1650 BCE, contains problems that use arithmetic progressions to divide goods. Ancient Babylonian texts show similar patterns even earlier. Greek mathematicians, including Euclid around 300 BCE, later gave formal proofs about these sequences that are still taught today.

Frequently Asked Questions

What is an arithmetic sequence in simple terms?

It is a list of numbers where the same amount is added each time to get the next number. In 2, 5, 8, 11, that amount is 3.

How can the nth term be found without listing every term before it?

The formula aā‚™ = a₁ + (n āˆ’ 1) Ɨ d gives any term directly. For a sequence starting at 3 with a common difference of 7, the 50th term is 3 + (49 Ɨ 7) = 346.

What is the difference between an arithmetic sequence and a geometric sequence?

An arithmetic sequence adds the same value each time, such as 2, 5, 8, 11. A geometric sequence multiplies by the same value each time, such as 2, 6, 18, 54.

Can an arithmetic sequence use negative numbers?

Yes. The first term, the common difference, or both can be negative. The sequence -10, -6, -2, 2, 6 has a common difference of 4. A countdown such as 100, 90, 80, 70 has a common difference of -10.

How is the common difference found from a list of numbers?

Subtract any term from the one that follows it: d = aā‚‚ āˆ’ a₁. In 7, 12, 17, 22, that is 12 āˆ’ 7 = 5, and 17 āˆ’ 12 also equals 5, which confirms the sequence is arithmetic.

What is the maximum number of terms this calculator can generate?

Up to 10,000 terms. The limit exists because rendering a much longer list can slow down a web browser.