User Rating 0.0
Total Usage 0 times
Any real number
Constant step between terms
Positive integer, max 1000
Index of specific term to find
Is this tool helpful?

Your feedback helps us improve.

About

An arithmetic sequence (arithmetic progression) is a sequence of numbers where the difference between consecutive terms remains constant. This constant is the d (common difference). Miscalculating d or the sum formula propagates errors through financial amortization schedules, signal sampling intervals, and structural load distributions. This tool computes the k-th term, partial sum Sn, and generates the full term table using the closed-form Gauss formula. It assumes integer or decimal inputs and does not handle symbolic expressions.

Pro tip: for sequences with thousands of terms, the closed-form sum avoids iterative accumulation errors from floating-point drift. Note that the arithmetic series always diverges for d 0, so this calculator provides finite partial sums only. Remember that real-world indexed sequences (e.g., payment schedules) often start at index 0 or 1 - this tool uses 1-based indexing.

arithmetic sequence arithmetic progression n-th term partial sum common difference sequence calculator math

Formulas

The general (n-th) term of an arithmetic sequence is computed by the linear relation:

an = a1 + (n 1) d

The partial sum of the first n terms uses Gauss's closed-form expression:

Sn = n2 (2a1 + (n 1) d)

Equivalently, when the last term an is known:

Sn = n (a1 + an)2

Where: a1 = first term of the sequence, d = common difference (an+1 an), n = number of terms (positive integer), an = the n-th (last) term, Sn = sum of the first n terms. The sum formula is quadratic in n: Sn = d2n2 + (a1 d2)n, confirming that the graph of Sn vs. n is a parabola.

Reference Data

PropertyFormula / ValueNotes
General Terman = a1 + (n 1)dDirect O(1) computation
Partial Sum (form 1)Sn = n2(2a1 + (n 1)d)Gauss formula using a1 and d
Partial Sum (form 2)Sn = n(a1 + an)2Useful when last term is known
Common Differenced = an+1 anConstant for all consecutive pairs
Monotonicityd > 0 → increasingd < 0 → decreasing
Constant Sequenced = 0All terms equal a1
Arithmetic Meana = a1 + an2Equals the average of first and last term
Sum of first 100 naturals5050a1=1, d=1, n=100
Sum of first n odd numbersn2a1=1, d=2
Sum of first n even numbersn(n+1)a1=2, d=2
Convergence of SeriesDiverges for d 0Only converges trivially when a1=0 and d=0
Number of terms from rangen = an a1d + 1Only valid when d 0
Relation to quadraticSn is quadratic in nSn = d2n2 + (a1 d2)n
Finite differencesΔan = d (constant)First differences are constant; second differences are 0
Interpolation propertyan = an1 + an+12Each term is the arithmetic mean of its neighbors
Gauss anecdote1 + 2 ++ 100 = 5050Attributed to young Carl Friedrich Gauss, c. 1786

Frequently Asked Questions

When d < 0, the sequence is strictly decreasing. Terms will eventually cross zero and become negative if a1 > 0. The partial sum Sn initially increases, reaches a maximum near term index n 1 2a1d, and then decreases as negative terms dominate.
The calculator caps at 1000 terms for the displayed sequence table to prevent excessive DOM rendering. The n-th term and partial sum formulas are O(1) and work for any n up to 109 without performance issues, since they use closed-form expressions rather than iteration.
Yes. IEEE 754 double-precision floats have approximately 15-17 significant digits. For n > 108 with non-integer d, the product n d may lose precision. This calculator displays results to 10 significant figures maximum. For critical financial computations, use arbitrary-precision libraries.
If you know ap and aq (the p-th and q-th terms), compute d = aq apq p. Then recover a1 = ap (p 1)d.
No. An infinite arithmetic series n=1 an diverges for any d 0. Even when d = 0, the series diverges unless a1 = 0. This is because the necessary condition for convergence (an 0) fails when terms grow linearly.
An arithmetic sequence is the discrete analog of a linear function f(x) = d x + (a1 d). The slope equals d, and the y-intercept equals a1 d. Plotting an vs. n always yields collinear points.