Arithmetic Sequence Calculator — nth Term and Sum
Find the nth term and sum of an arithmetic sequence from the first term and common difference. Formulas a_n = a₁ + (n−1)·r and Sₙ. Free math calculator.
The geometric sequence calculator lets you instantly compute the nth term, partial sum of n terms, and the infinite series sum. Simply enter the first term, common ratio, and number of terms to get accurate results to 6 decimal places.
Enter the first term (a₁) — any real number. Then provide the common ratio (r) — the number each term is multiplied by. In the "Number of terms" field enter n (1 to 100). Click "Calculate" to see the nth term, partial sum, and infinite sum (available only when |r| < 1).
For a geometric sequence with a₁ = 2, r = 3, and n = 4: the nth term is a₄ = 2 · 3³ = 54. The partial sum is S₄ = 2 · (3⁴ - 1) / (3 - 1) = 80. Since |r| = 3 ≥ 1, the infinite sum does not exist (shown as 0). For r = 0.5: infinite sum = a₁ / (1 - r) = 2 / 0.5 = 4.
A geometric sequence is a sequence of numbers where each term is obtained by multiplying the previous term by a fixed number called the common ratio (r). For example, 2, 4, 8, 16, 32 is a geometric sequence with r=2.
The nth term is calculated using the formula: aₙ = a₁ · rⁿ⁻¹, where a₁ is the first term, r is the common ratio, and n is the term number.
The common ratio (r) is the constant multiplier between consecutive terms. It can be calculated as r = aₙ₊₁ / aₙ. It can be any non-zero real number.
For r ≠ 1, the partial sum is Sₙ = a₁ · (rⁿ - 1) / (r - 1). When r = 1, all terms are equal to a₁, so Sₙ = a₁ · n.
The infinite sum exists only when |r| < 1. It equals S = a₁ / (1 - r). When |r| ≥ 1, the series diverges and the infinite sum does not exist.
Yes, the common ratio can be negative. In this case, the terms alternate between positive and negative values. For example, with a₁=1 and r=-2, the sequence is: 1, -2, 4, -8, 16...
In an arithmetic sequence, a constant difference is added to each term (linear growth). In a geometric sequence, each term is multiplied by a constant ratio (exponential growth or decay).
Geometric sequences appear in compound interest, population growth, radioactive decay, depreciation of assets, music (equal temperament scale), and computer science (algorithm complexity).
A result of 0 for the infinite sum means |r| ≥ 1 and the geometric series diverges — the infinite sum mathematically does not exist, which is represented as 0 in this calculator.
The calculator supports 1 to 100 terms. For large n with |r| > 1, values can become very large. With |r| < 1, the partial sum asymptotically approaches the infinite sum.
Results are for informational purposes and calculated based on the provided inputs. This calculator is intended for educational use. For very large values of n, floating-point precision limitations may apply.
Find the nth term and sum of an arithmetic sequence from the first term and common difference. Formulas a_n = a₁ + (n−1)·r and Sₙ. Free math calculator.
Calculate addition, subtraction, multiplication and division of fractions online. Result as simplified fraction and decimal. Free.
Round any number to 1, 2 or 3 decimal places, to the nearest whole, ten, hundred or thousand. Free online rounding calculator with rounding error.