Sequence Pattern Detection & Series Solver

Nth Term Calculator

Find the explicit general formula (an), compute any target term value, evaluate series partial sums (Sn), and view step-by-step difference method proofs for arithmetic, geometric, and quadratic sequences.

Sequence Mode & Terms

Provide at least 3 to 5 consecutive terms of the sequence
e.g. n = 10 calculates the 10th term
Display rounding format

Sequence Solution Takeoff

Arithmetic (AP)
General Formula (an)
an = 4n - 1
Target 10th Term (a₁₀) = 39
Linear Arithmetic Progression (d = 4)
📐 Step-by-Step Derivation:
1st Differences (Δ₁): 7 - 3 = 4, 11 - 7 = 4, 15 - 11 = 4 (Constant d = 4)
Formula: a_n = a₁ + (n - 1)d = 3 + (n - 1)(4) = 4n - 1
For n = 10: a₁₀ = 4(10) - 1 = 39
Target Term (an)
39
Value at position n = 10
Partial Sum (Sn)
210
Sum of first 10 terms
Common Param / Diff
d = 4
Constant step difference
Next Term (an+1)
43
Term at position n = 11
Interactive Sequence Progression Graph
Sequence Points (n, an) Target Term (an)
Sequence Terms Schedule 👉 First 15 terms + target
Term (n) Term Value (an) Cumulative Sum (Sn) Step Difference (Δ)

The Complete Mathematical Guide to Sequences, Series & Nth Term Formulas

In algebra, discrete mathematics, and real analysis, an ordered sequence of numbers represents one of the most fundamental concepts in quantitative thought. Whether modeling compound investment returns in finance, bacterial colony proliferation in biology, radioactive decay in nuclear physics, or algorithm complexity in computer science, identifying the underlying mathematical pattern allows us to predict any future term with absolute certainty. Explore our complete Advanced Mathematics & Algebra Suite for comprehensive problem solvers.

The nth term (denoted as an or Tn) is an explicit mathematical function of the position index n (where n ∈ {1, 2, 3, 4, ...}). Rather than manually adding or multiplying through dozens of intermediate numbers, the general nth term formula lets you calculate the 100th, 1,000th, or 1,000,000th term in a single evaluation. For integer arithmetic and common factors, use our LCM & Factorization Calculator, interpolate missing curve points with our Interpolation Calculator, or examine polynomial equations using the Discriminant Calculator.

Key Sequence Formulations:

1. Arithmetic Progression (AP):
an = a₁ + (n - 1)d = dn + (a₁ - d)
Sn = (n ÷ 2) × [2a₁ + (n - 1)d] = (n ÷ 2) × (a₁ + an)

2. Geometric Progression (GP):
an = a₁ × rn - 1
Sn = [a₁(1 - rn)] ÷ (1 - r)   (for r ≠ 1)
S = a₁ ÷ (1 - r)   (for |r| < 1)

3. Quadratic Sequence:
an = an² + bn + c
Where: 2a = Δ₂, 3a + b = Δ₁(1), and a + b + c = a₁

💡 Explicit vs. Recursive Formulas: Why Explicit Formulas are Superior

A recursive formula gives each term in relation to the previous term (e.g. an = an-1 + 4 with a₁ = 3). While intuitive, finding the 500th term recursively requires calculating 499 intermediate steps! An explicit formula (e.g. an = 4n - 1) directly maps the index n = 500 to the final answer 4(500) - 1 = 1,999 instantaneously.

Mastering Arithmetic Sequences (AP): Linear Progressions

An Arithmetic Progression (AP) is a sequence where the difference between any two consecutive terms is a constant value known as the common difference (d):

d = an - an-1 = a₂ - a₁ = a₃ - a₂

Because the difference is constant, an arithmetic sequence graphed against n forms a perfectly straight line with slope equal to d and y-intercept equal to a₁ - d (often denoted as term a₀).

Worked Example: Finding the Nth Term of 7, 12, 17, 22, 27...

  • Step 1: Identify the first term: a₁ = 7.
  • Step 2: Calculate the common difference: d = 12 - 7 = 5.
  • Step 3: Substitute into the general formula:
    an = 7 + (n - 1)(5) = 7 + 5n - 5 = 5n + 2.
  • Step 4: Verify for n = 1: 5(1) + 2 = 7. Verify for n = 4: 5(4) + 2 = 22 ✓.
  • Step 5: Find the 50th term: a₅₀ = 5(50) + 2 = 252.

Mastering Geometric Sequences (GP): Exponential Growth & Decay

A Geometric Progression (GP) is a sequence where each term is obtained by multiplying the preceding term by a non-zero constant known as the common ratio (r):

r = an ÷ an-1 = a₂ ÷ a₁ = a₃ ÷ a₂

Depending on the value of r, geometric sequences exhibit four distinct behaviors:

  • Exponential Growth (r > 1): Terms grow rapidly toward infinity (e.g. 2, 6, 18, 54... with r = 3).
  • Exponential Decay (0 < r < 1): Terms shrink toward zero (e.g. 64, 32, 16, 8, 4... with r = 0.5).
  • Alternating Oscillations (r < 0): Terms alternate between positive and negative signs (e.g. 5, -10, 20, -40, 80... with r = -2).
  • Constant Sequence (r = 1): All terms remain identical to a₁.

Quadratic Sequences & The Method of Finite Differences

When the first differences between consecutive terms are not constant, the sequence is non-linear. If the second differences (Δ₂) are constant, the sequence is a Quadratic Sequence defined by the polynomial:

an = an² + bn + c

The Universal 3-Step Finite Difference Method

Consider the sequence: 2, 7, 16, 29, 46...

Term Index (n) Term Value (an) 1st Difference (Δ₁) 2nd Difference (Δ₂)
n = 127 - 2 = 5
n = 2716 - 7 = 99 - 5 = 4
n = 31629 - 16 = 1313 - 9 = 4
n = 42946 - 29 = 1717 - 13 = 4
n = 546
Step 1: Solve for 'a' from the 2nd difference
2a = Δ₂ → 2a = 4 → a = 2

Step 2: Solve for 'b' from the first 1st difference
3a + b = Δ₁(1) → 3(2) + b = 5 → 6 + b = 5 → b = -1

Step 3: Solve for 'c' from the first term
a + b + c = a₁ → 2 + (-1) + c = 2 → 1 + c = 2 → c = 1

Final Formula:
an = 2n² - n + 1

Special Mathematical Sequences & Series

Beyond standard AP, GP, and Quadratic sequences, mathematics features several famous sequence families:

  • Triangular Numbers: Represents the number of dots required to form equilateral triangles: 1, 3, 6, 10, 15, 21, 28...
    Formula: an = [n(n + 1)] ÷ 2 = 0.5n² + 0.5n
  • Square Numbers: 1, 4, 9, 16, 25, 36, 49...
    Formula: an = n²
  • Cubic Numbers: 1, 8, 27, 64, 125, 216...
    Formula: an = n³
  • The Fibonacci Sequence: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...
    Recursive Rule: an = an-1 + an-2
    Explicit Form (Binet's Formula): an = (φn - ψn) ÷ √5 where φ = (1 + √5) ÷ 2 ≈ 1.6180339887...

Real-World Scientific & Financial Applications

Sequence mathematics provides the foundational mechanics for modern quantitative models:

1. Compound Interest & Retirement Growth (GP)

An initial investment P earning an annual interest rate i compounds according to a geometric progression:
An = P × (1 + i)n
Here, a₁ = P(1 + i) and the common ratio is r = 1 + i.

2. Physics: Distance Fallen Under Gravity (AP & Quadratic)

According to Galileo's Law of Odd Numbers, a falling object under uniform acceleration covers distances in consecutive seconds proportional to the odd integers: 1, 3, 5, 7, 9... (an arithmetic sequence with d = 2).
The cumulative total distance fallen after n seconds forms a quadratic sequence: d(n) = 0.5 × g × n².

Frequently Asked Questions (FAQ)

The nth term (denoted as an or Tn) is a mathematical rule or algebraic formula that allows you to calculate the value of any term in a sequence directly based on its position number (n), without having to calculate all the preceding terms.

For an arithmetic progression with first term a₁ and common difference d, the nth term formula is: an = a₁ + (n - 1)d = dn + (a₁ - d). For example, in 3, 7, 11, 15, the common difference is 4 and first term is 3, so an = 4n - 1.

A quadratic sequence has general form an = an² + bn + c. To find a, b, and c using the difference method:
1) Find the constant second difference Δ₂ and set 2a = Δ₂ to solve for a.
2) Set 3a + b equal to the first difference between term 1 and term 2 to solve for b.
3) Set a + b + c equal to the first term a₁ to solve for c.

For a geometric progression with first term a₁ and common ratio r, the nth term formula is: an = a₁ × rn-1. For example, in 3, 6, 12, 24 (where a₁ = 3, r = 2), the formula is an = 3 × 2n-1.

For an arithmetic sequence: Sn = (n ÷ 2) × [2a₁ + (n - 1)d] = (n ÷ 2) × (a₁ + an).
For a geometric sequence: Sn = a₁ × (1 - rn) ÷ (1 - r) for r ≠ 1.

An explicit formula (an) gives the term value directly from position n (e.g. an = 5n + 2). A recursive formula expresses each term using the previous term (e.g. an = an-1 + 5 with a₁ = 7), requiring step-by-step computation.