Sequence Calculator

Find terms and sums of arithmetic and geometric sequences. Calculate the nth term, sum of the first N terms, and generate a list of sequence terms with step-by-step working.

šŸ“
Arithmetic Sequences
Calculate nth term, sum of N terms, and generate sequence terms for arithmetic progressions with constant difference.
šŸŒ€
Geometric Sequences
Find nth term, sum of N terms, and sum to infinity for geometric progressions with constant ratio.
šŸ“Š
Term Generation
Visualize the first N terms of any sequence with clear, color-coded badges showing the progression.
šŸ“
Step-by-Step Working
Full step-by-step breakdown of every calculation with formulas shown for complete transparency.

What is a Sequence?

A sequence is an ordered list of numbers that follow a specific pattern or rule. Each number in the sequence is called a term. Sequences are fundamental in mathematics and appear in countless real-world applications, from calculating loan payments to modeling population growth.

There are two primary types of sequences covered by this calculator: arithmetic sequences (where consecutive terms differ by a constant amount) and geometric sequences (where consecutive terms are multiplied by a constant factor). Understanding these sequences helps in analyzing patterns, forecasting values, and solving complex mathematical problems.

Arithmetic Sequences

An arithmetic sequence (also called arithmetic progression) is a sequence where the difference between any two consecutive terms is constant. This constant difference is called the common difference (d).

aā‚™ = a₁ + (n āˆ’ 1)d
nth term of an arithmetic sequence
Sā‚™ = n/2 Ɨ (2a₁ + (n āˆ’ 1)d)
Sum of the first N terms

Equivalently, Sā‚™ = n/2 Ɨ (a₁ + aā‚™) — the sum is the number of terms times the average of the first and last term.

Geometric Sequences

A geometric sequence (also called geometric progression) is a sequence where each term after the first is found by multiplying the previous term by a constant called the common ratio (r).

aā‚™ = a₁ Ɨ r(nāˆ’1)
nth term of a geometric sequence
Sā‚™ = a₁ Ɨ (1 āˆ’ rn) / (1 āˆ’ r)
Sum of the first N terms (r ≠ 1)
Sāˆž = a₁ / (1 āˆ’ r)
Sum to infinity when |r| < 1

How to Use the Sequence Calculator

Using the Sequence Calculator is straightforward. Follow these steps:

1ļøāƒ£ Select Sequence Type

Choose between Arithmetic (constant difference) or Geometric (constant ratio) using the toggle at the top of the calculator.

2ļøāƒ£ Enter Parameters

Input the first term (a₁), the common difference (d) or common ratio (r), and the number of terms (N) you'd like to calculate.

3ļøāƒ£ Click Calculate

Press the Calculate button to instantly see the nth term, sum of N terms, and a full list of the first N terms.

4ļøāƒ£ Review Step-by-Step

Each calculation includes a detailed step-by-step breakdown showing how the formulas are applied to your specific inputs.

Example: Arithmetic Sequence

šŸ“ a₁ = 3, d = 2, N = 5

Sequence: 3, 5, 7, 9, 11

5th term (aā‚…): 3 + (5 āˆ’ 1) Ɨ 2 = 3 + 8 = 11

Sum (Sā‚…): 5/2 Ɨ (2Ɨ3 + (5āˆ’1)Ɨ2) = 2.5 Ɨ (6 + 8) = 35

Example: Geometric Sequence

šŸŒ€ a₁ = 2, r = 3, N = 5

Sequence: 2, 6, 18, 54, 162

5th term (aā‚…): 2 Ɨ 3(5āˆ’1) = 2 Ɨ 81 = 162

Sum (Sā‚…): 2 Ɨ (1 āˆ’ 3⁵) / (1 āˆ’ 3) = 2 Ɨ (1 āˆ’ 243) / (āˆ’2) = 242

Applications of Sequences

Sequences appear in many real-world scenarios beyond the classroom:

šŸ’° Finance & Loans

Arithmetic sequences model straight-line depreciation and loan principal payments. Geometric sequences model compound interest, investment growth, and mortgage amortization.

🧬 Population Growth

Geometric sequences describe exponential population growth (or decay) where each generation multiplies by a constant factor, such as bacteria cultures or radioactive decay.

šŸ—ļø Construction & Design

Arithmetic sequences appear in evenly spaced structural elements like stair risers, fence posts, or shelving units where spacing is uniform.

šŸ“ˆ Data Analysis

Identifying whether data follows an arithmetic or geometric pattern helps analysts choose appropriate forecasting models and understand underlying trends.

Frequently Asked Questions

What is the difference between an arithmetic and geometric sequence?
In an arithmetic sequence, each term is found by adding a constant value (the common difference d) to the previous term. Example: 2, 5, 8, 11, 14 (d = 3). In a geometric sequence, each term is found by multiplying the previous term by a constant value (the common ratio r). Example: 2, 6, 18, 54, 162 (r = 3). The key difference is addition vs. multiplication — arithmetic sequences grow linearly while geometric sequences grow exponentially.
How do I find the nth term of an arithmetic sequence?
To find the nth term of an arithmetic sequence, use the formula: aā‚™ = a₁ + (n āˆ’ 1)d. Here, a₁ is the first term, d is the common difference, and n is the term number. For example, if a₁ = 5 and d = 3, then the 10th term is a₁₀ = 5 + (10 āˆ’ 1) Ɨ 3 = 5 + 27 = 32.
How do I find the sum of the first N terms of a geometric sequence?
The sum of the first N terms of a geometric sequence is calculated using: Sā‚™ = a₁ Ɨ (1 āˆ’ rn) / (1 āˆ’ r), where a₁ is the first term, r is the common ratio, and n is the number of terms. This formula works when r ≠ 1. If r = 1, the sum is simply Sā‚™ = n Ɨ a₁. If |r| < 1 and you continue forever, the sum to infinity is Sāˆž = a₁ / (1 āˆ’ r).
What is the sum to infinity in a geometric sequence?
The sum to infinity (Sāˆž) is the total sum of all terms in an infinite geometric sequence. It only exists (converges) when the absolute value of the common ratio is less than 1 (|r| < 1). The formula is Sāˆž = a₁ / (1 āˆ’ r). For example, the infinite series 1 + ½ + ¼ + ā…› + ... has a₁ = 1 and r = ½, so Sāˆž = 1 / (1 āˆ’ ½) = 2. When |r| ≄ 1, the sum diverges to infinity.
Can the common difference or ratio be negative?
Yes, both the common difference (d) in arithmetic sequences and the common ratio (r) in geometric sequences can be negative. In arithmetic sequences, a negative d produces a decreasing sequence (e.g., 10, 7, 4, 1, āˆ’2 with d = āˆ’3). In geometric sequences, a negative r causes the terms to alternate in sign (e.g., 1, āˆ’2, 4, āˆ’8, 16 with r = āˆ’2). If |r| < 1 and r is negative, the terms still alternate but converge toward zero.
How do sequences relate to real-world problems?
Sequences model countless real-world phenomena. Arithmetic sequences model situations with constant change: taxi fares (fixed per-mile charge), straight-line depreciation, evenly spaced seating rows, and salary step increases. Geometric sequences model multiplicative growth or decay: compound interest, population growth, viral spread, radioactive half-life, inflation, and bounce heights of a ball. Understanding which pattern applies helps in making accurate predictions and informed decisions.