Arithmetic Sequence Calculator
- Term 15: 3.00 + (15 − 1) × 4.00 = 59.00.
- Sum of the first 15 terms: 15 ÷ 2 × (first + last) = 465.00.
- Gauss's pairing trick: the first and last terms average the same as every pair in between, so the whole sum is that average times the count.
An arithmetic sequence is a list of numbers in which each term adds the same common difference d to the one before it. The nth term is found with the formula a1 + (n - 1) x d, where a1 is the first term. This arithmetic sequence calculator applies that formula to return the specific term you need and the total sum of the terms up to that point. For example, if your sequence is 3, 7, 11, ... with a1 = 3 and d = 4, the calculator gives the 15th term as 59.00 and the first 15 terms sum to 465.00. If you count down from 100 by 5s, the 20th term is 5.00 and the first 20 terms sum to 1,050.00. A negative common difference gives a descending sequence, while a difference of zero gives a constant one.
The method behind these results is the accepted standard because the math is both simple and exact. The sum formula S = n/2 x (first + last) is the pairing trick attributed to the young Gauss: pair the first term with the last, the second with the second-to-last, and every pair totals the same amount. This page shows the formula, step-by-step workings, worked examples and sources so you can verify each result yourself. For the sequence 7, 10, 13, ... the 12th term is 40.00 and the sum is 282.00, and the same clear steps apply to any arithmetic sequence you enter.
Worked examples
Stepping by 4
Primary result: 59.00 — the 15th term of 3, 7, 11, ...; the first 15 terms sum to 465.00. (3 · 4 · 15)
| Term 15 of the sequence | 59.00 |
| Sum of the first 15 terms | 465.00 |
| Average of first and last term | 31.00 |
A descending sequence
Primary result: 5.00 — counting down from 100 by 5s lands on 5 at term 20. (100 · -5 · 20)
| Term 20 of the sequence | 5.00 |
| Sum of the first 20 terms | 1,050.00 |
| Average of first and last term | 52.50 |
Stepping by 3
Primary result: 40.00 — the 12th term of 7, 10, 13, ... (7 · 3 · 12)
| Term 12 of the sequence | 40.00 |
| Sum of the first 12 terms | 282.00 |
| Average of first and last term | 23.50 |
The nth-term formula
The nth-term formula for an arithmetic sequence is a1 + (n - 1) x d, where a1 is the first term and d is the common difference. A common question is why the formula uses (n - 1) rather than n. The answer becomes clear when you walk through the first verified sequence term by term.
Take the sequence 3, 7, 11, ... Here a1 = 3 and d = 4. The first term is 3, so you have added the common difference zero times. The second term is 7, which means you have added d exactly once. The third term is 11, which means you have added d twice. Notice the pattern: the term number is always one more than the number of times you added d. By the time you reach the 15th term, you have added d only 14 times, not 15. That is why the gap count is (n - 1). Plugging into the formula gives 3 + (15 - 1) x 4 = 59.00, which matches the verified 15th term. The first 15 terms also sum to 465.00.
The same logic holds whether the sequence rises, falls, or stays flat. Counting down from 100 by 5s gives a descending sequence with a1 = 100 and d = -5. A negative common difference simply means each term is smaller than the one before it. The 20th term is 100 + (20 - 1) x (-5) = 5.00, and the first 20 terms sum to 1,050.00. If d were zero, the sequence would be constant, and the formula would return the same value for every term.
For 7, 10, 13, ... the 12th term is 7 + (12 - 1) x 3 = 40.00, and the sum is 282.00. The sum formula S = n/2 x (first + last) is the pairing trick attributed to the young Gauss: pair the first term with the last, the second with the second-to-last, and every pair totals the same. Our arithmetic sequence calculator applies both the nth-term formula and the sum formula so you can check these results instantly.
Worked examples
The arithmetic sequence calculator uses two formulas that work for every valid input: the nth term formula, a1 + (n - 1) x d, and the sum formula, S = n/2 x (first + last). In an arithmetic sequence each term adds the same common difference d, so once you know the starting value and that difference you can find any term or partial sum without listing every number.
The sum formula works because of a pairing trick attributed to the young Gauss: pair the first term with the last, the second with the second-to-last — every pair totals the same. Multiply that pair total by half the number of terms and you get the full sum. The examples below were verified to show what the calculator returns for three different inputs.
The three sequences cover the common cases you will meet in practice. The first has a positive common difference, so the terms rise. The second has a negative common difference, so it counts downward. The third is another rising sequence with a smaller step. A negative common difference gives a descending sequence; a difference of zero gives a constant one, where every term equals the first and the sum is simply the first term times the count.
Each row in the table reports the nth term and the partial sum for the first n terms. The values match what the calculator produces, rounded to two decimals as shown.
| Sequence | a1 | d | n | nth term | Sum of first n terms |
|---|---|---|---|---|---|
| 3, 7, 11, ... | 3 | 4 | 15 | 59.00 | 465.00 |
| 100, 95, 90, ... | 100 | -5 | 20 | 5.00 | 1,050.00 |
| 7, 10, 13, ... | 7 | 3 | 12 | 40.00 | 282.00 |
Summing with Gauss's pairing trick
The story goes that as a schoolboy, Carl Friedrich Gauss was told to add every whole number from 1 through 100. Instead of grinding through the numbers one at a time, he noticed a shortcut: pair the first number with the last, the second with the second-to-last, and so on. Every pair totals the same amount. That insight lives inside our arithmetic sequence calculator, and it turns a tedious addition problem into one quick multiplication.
Here is why the trick always works. In an arithmetic sequence each term adds the same common difference d, so the nth term is a1 + (n - 1) x d. When you pair the first term with the last, the second with the second-to-last, and keep going inward, every pair totals the same amount: the first term plus the last. With n terms you get n / 2 such pairs, so the full sum is S = n/2 x (first + last). The sequence can climb, drop, or stay flat — a negative common difference gives a descending sequence, and a difference of zero gives a constant one — and the pairing logic still holds.
A few verified examples show the formula in action. For 3, 7, 11, ... (a1 = 3, d = 4) the 15th term is 59.00, and the first 15 terms sum to 465.00. Counting down from 100 by 5s, the 20th term is 5.00, and the first 20 terms sum to 1,050.00 — a descending case where the common difference is negative. And for 7, 10, 13, ... the 12th term is 40.00, and the sum is 282.00.
So when you need a total, you do not have to add term by term. Find the last term, add it to the first, and multiply by half the count. That is the whole pairing trick: same pairs, same total, every time.
Arithmetic vs geometric sequences
An arithmetic sequence and a geometric sequence both produce ordered lists of numbers, but they grow in fundamentally different ways. In an arithmetic sequence, each term adds the same common difference d to the previous term. In a geometric sequence, each term multiplies by the same common ratio. The distinction matters because the formulas for finding the nth term and the sum of terms are different for each type. An arithmetic sequence calculator applies the arithmetic formula a1 + (n - 1) x d, which only works when the gap between consecutive terms stays constant.
To tell which type you are looking at, check whether the difference between consecutive terms or the ratio between them stays the same. Take the sequence 3, 7, 11, ... The difference between each pair of terms is 4 (7 minus 3, 11 minus 7), so this is arithmetic with a1 = 3 and d = 4. The 15th term is 59.00 and the first 15 terms sum to 465.00. If instead each term were 4 times the previous one, you would have a geometric sequence, and the arithmetic formulas would give wrong answers. A quick subtraction test on two or three pairs of terms usually reveals which pattern you have.
The common difference d can be negative or zero, which still counts as arithmetic. A negative common difference gives a descending sequence. Counting down from 100 by 5s produces 100, 95, 90, ... with d = -5. The 20th term is 5.00 and the first 20 terms sum to 1,050.00. A difference of zero gives a constant sequence, where every term equals the first one. The sequence 7, 7, 7, ... is arithmetic with d = 0, and every formula still applies. An arithmetic sequence calculator handles all three cases without any special setup.
The sum formula S = n/2 x (first + last) is the pairing trick attributed to the young Gauss. Pair the first term with the last, the second with the second-to-last, and every pair totals the same. For 7, 10, 13, ... the 12th term is 40.00 and the sum is 282.00. That sum comes from 12 terms split into 6 pairs, each pair totaling 47 (7 plus 40, 10 plus 37, and so on), giving 6 x 47 = 282.00. A geometric sequence cannot be summed this way because the terms do not pair evenly. The pairing method works only when a constant difference separates each term from the next.
FAQs
What is the 15th term of 3, 7, 11, ...?
The 15th term is 59.00. You calculate it as 3 + 14 x 4, where 3 is the first term, 4 is the common difference, and 14 is the number of jumps. The first fifteen terms sum to 465.00.
Why (n - 1) and not n in the formula?
The first term is already there before any steps are taken. Reaching term n takes n - 1 jumps of size d. You start at term 1, so you only need to move forward n - 1 times to land on the term you want.
How do I find the common difference?
Subtract any term from the next term. In the first verified sequence, 7 - 3 = 4. Check several pairs to confirm the gap is constant. If the gaps are not all equal, the sequence is not arithmetic.
Can the common difference be negative?
Yes. A negative common difference makes the sequence decrease. The verified countdown from 100 by -5 reaches 5.00 at term 20. Each term is smaller than the one before it, but the gap stays constant.
What is the sum of the first 20 terms of 100, 95, 90, ...?
The sum is 1,050.00. Calculate it as 20/2 x (100 + 5), pairing the first and last terms. This method works because each pair adds up to the same total, so you multiply by the number of pairs.
Is 2, 4, 8, 16 arithmetic?
No. The gaps double instead of staying constant, so it is geometric. In 2, 4, 8, 16, the gaps are 2, 4, and 8. Arithmetic gaps for 2, 4, 6, 8 would all be 2, which is a true arithmetic sequence.