Sum of Linear Number Sequence Calculator

Calculate the sum of an arithmetic sequence using S = n/2·(a₁ + aₙ). Enter first term, common difference, and number of terms. Shows sum, last term, average, partial sums, term table, and growth bars.

Sum (S)
5,050.00
S = 100/2 × (1 + 100) = 5050
Last Term (aₙ)
100.0000
a₁ + (n−1)·d = 1 + 99×1
Number of Terms
100.00
Total count of terms in the sequence
Average Term
50.5000
S/n — mean value of all terms
Common Difference (d)
1.0000
Constant difference between consecutive terms
Sequence Type
Increasing
Terms increasing by 1 each step
Partial Sum Growth
n=1
1.00
n=2
3.00
n=3
6.00
n=4
10.00
n=5
15.00
n=6
21.00
n=7
28.00
n=8
36.00
n=9
45.00
n=10
55.00
n=11
66.00
n=12
78.00
n=13
91.00
n=14
105.00
n=15
120.00
n=16
136.00
n=17
153.00
n=18
171.00
n=19
190.00
n=20
210.00

First 20 Terms

nTerm (aₙ)Partial Sum (Sₙ)
11.00001.00
22.00003.00
33.00006.00
44.000010.00
55.000015.00
66.000021.00
77.000028.00
88.000036.00
99.000045.00
1010.000055.00
1111.000066.00
1212.000078.00
1313.000091.00
1414.0000105.00
1515.0000120.00
1616.0000136.00
1717.0000153.00
1818.0000171.00
1919.0000190.00
2020.0000210.00

Arithmetic Sequence Formulas

FormulaExpressionDescription
nth Termaₙ = a₁ + (n−1)·dValue of any term in the sequence
Sum (version 1)S = n/2 · (a₁ + aₙ)Sum using first and last term
Sum (version 2)S = n/2 · (2a₁ + (n−1)d)Sum using first term and difference
AverageS/n = (a₁ + aₙ)/2Mean equals midpoint of first and last
Number of Termsn = (aₙ − a₁)/d + 1Count from first to last term
Planning notes, formulas, and examples

About the Sum of Linear Number Sequence Calculator

The sum of a linear (arithmetic) number sequence is one of the most famous results in mathematics. Legend has it that young Carl Friedrich Gauss astounded his teacher by quickly computing 1 + 2 + 3 + … + 100 = 5,050 using the formula S = n/2 · (first + last). This elegant formula works for any arithmetic sequence—a sequence where each term differs from the previous by a constant amount called the common difference.

An arithmetic sequence is defined by three parameters: the first term a₁, the common difference d, and the number of terms n. From these, you can compute the last term aₙ = a₁ + (n−1)·d, and the sum S = n/2 · (a₁ + aₙ) or equivalently S = n/2 · (2a₁ + (n−1)·d). The average term is simply S/n = (a₁ + aₙ)/2.

Arithmetic sequences appear everywhere: consecutive integers, even numbers, odd numbers, salary increments, depreciation schedules, seating arrangements in amphitheaters, and stacked objects. In finance, fixed periodic payments form arithmetic sequences. In computer science, many loop analyses involve summing arithmetic progressions.

This calculator computes the sum, last term, and average, then displays a table of individual terms with their partial sums and a visual growth bar chart showing how the cumulative sum evolves. Use the presets for classic examples like summing 1 to 100, or enter your own values.

When This Page Helps

Sum of Linear Number Sequence Calculator helps you solve sum of linear number sequence problems quickly while keeping each step transparent. Instead of redoing long algebra by hand, you can enter First Term (a₁), Common Difference (d), Number of Terms (n) once and immediately inspect Sum (S), Last Term (aₙ), Number of Terms to validate your work.

How to Use the Inputs

  1. Enter First Term (a₁) and Common Difference (d) in the input fields.
  2. Select the mode, method, or precision options that match your sum of linear number sequence problem.
  3. Read Sum (S) first, then use Last Term (aₙ) to confirm your setup is correct.
  4. Try a preset such as "1+2+…+100" to test a known case quickly.
Formula used
aₙ = a₁ + (n−1)·d. Sum S = n/2 · (a₁ + aₙ) = n/2 · (2a₁ + (n−1)·d). Average = S/n = (a₁ + aₙ)/2.

Example Calculation

Result: Sum (S) shown by the calculator

Using the preset "1+2+…+100", the calculator evaluates the sum of linear number sequence setup, applies the selected algebra rules, and reports Sum (S) with supporting checks so you can verify each transformation.

Tips & Best Practices

  • The Gauss trick: pair the first and last terms—each pair has the same sum, and there are n/2 pairs.
  • For the sum of first n positive integers: S = n(n+1)/2.
  • Negative common differences create decreasing sequences; the sum formula still works correctly.
  • The average term always equals (first + last)/2—the midpoint of the sequence.
  • To find n when you know a₁, d, and aₙ: n = (aₙ − a₁)/d + 1.

How This Sum of Linear Number Sequence Calculator Works

This calculator takes First Term (a₁), Common Difference (d), Number of Terms (n), Terms to Show in Table and applies the relevant sum of linear number sequence relationships from your chosen method. It returns both final and intermediate values so you can audit the process instead of treating it as a black box.

Interpreting Results

Start with the primary output, then use Sum (S), Last Term (aₙ), Number of Terms, Average Term to confirm signs, magnitude, and internal consistency. If anything looks off, change one input and compare the updated outputs to isolate the issue quickly.

Study Strategy

Sources & Methodology

Last updated:

Frequently Asked Questions

  • An arithmetic sequence (or arithmetic progression) is a sequence where each term equals the previous term plus a fixed constant called the common difference d. Examples: 2, 5, 8, 11 (d=3) or 20, 15, 10, 5 (d=−5).