Calculators.Life Calculator
Math

Sequence Calculator

Input Parameters

Scenarios
The first number in the arithmetic sequence.
The constant difference added to each term to get the next term.
The term index to calculate in the arithmetic progression.
The initial value in the geometric sequence.
The constant factor by which each term is multiplied.
The term index to find in the geometric progression.
The index in the Fibonacci sequence (F₀ = 0, F₁ = 1, F₂ = 1, ...).

Computed Results

Arithmetic Sequence: n-th Term (aₙ)
97
Arithmetic Sequence: Sum of First n Terms (Sₙ)990
Geometric Sequence: n-th Term (gₙ)97,656,250
Geometric Sequence: Sum of First n Terms (Sₙ)122,070,312
Fibonacci: n-th Term (Fₙ)55

The sequence calculator determines the specific terms and sums of arithmetic and geometric progressions, as well as values within the Fibonacci sequence. By entering your starting numbers and growth factors, you can quickly find the n-th term and the total sum of the sequence up to that point.

Practical Use Cases

Mathematical sequences appear in various fields, from computer science to finance. You can use this tool to:

How to Use the Calculator

The calculator is divided into three sections for different types of sequences. You can use any or all of them simultaneously.

  1. Arithmetic Sequence: Enter the first term (a₁), the common difference (d) added to each step, and the specific term index (n) you want to find.
  2. Geometric Sequence: Input the first term (g₁), the common ratio (r) multiplied at each step, and the term index (n).
  3. Fibonacci Sequence: Simply enter the index (n) to find the corresponding Fibonacci number.

The calculator will instantly display the n-th term for each sequence, along with the sum of the first n terms for the arithmetic and geometric progressions.

Formulas and Explanation

The calculator uses standard mathematical formulas to determine the terms and sums of each sequence.

Arithmetic Sequence

An arithmetic sequence adds a constant difference to each term.

aₙ = a₁ + (n − 1) × d

The sum of the first n terms (Sₙ) is calculated as:

Sₙ = (n × (a₁ + aₙ)) ÷ 2

Geometric Sequence

A geometric sequence multiplies each term by a constant ratio.

gₙ = g₁ × r^(n − 1)

The sum of the first n terms (Sₙ) when r is not equal to 1 is:

Sₙ = g₁ × (1 − r^n) ÷ (1 − r)

Fibonacci Sequence

The Fibonacci sequence starts with 0 and 1, and each subsequent term is the sum of the two preceding ones.

Fₙ = Fₙ₋₁ + Fₙ₋₂

Verified Scenario Walkthroughs

Here are examples of how different inputs affect the sequence calculations.

Standard Growth with Positive Factors

If you have an arithmetic sequence starting at 5 with a difference of 3, the 10th term is 32, and the sum is 185. For a geometric sequence starting at 3 with a ratio of 2, the 8th term is 384, and the sum is 765. The 12th Fibonacci number is 144.

Small Sequence Values with Negative Difference

For an arithmetic sequence starting at 10 with a difference of -2, the 5th term drops to 2, with a sum of 30. A geometric sequence starting at 1 with a ratio of 0.5 yields a 4th term of 0.125 and a sum of 1.875. The 5th Fibonacci number is 5.

Boundary Case with Zero and Unit Factors

If an arithmetic sequence starts at 0 with a difference of 0, the 1st term and sum are both 0. A geometric sequence starting at 5 with a ratio of 1 means every term is 5; the 10th term is 5, and the sum of the first 10 terms is 50. The 0th Fibonacci number is 0.

Inputs and Outputs Table

Field Type Description
Arithmetic: First Term (a₁) Input The first number in the arithmetic sequence.
Arithmetic: Common Difference (d) Input The constant difference added to each term.
Arithmetic: n-th Term to Obtain (n) Input The term index to calculate in the arithmetic progression.
Geometric: First Term (g₁) Input The initial value in the geometric sequence.
Geometric: Common Ratio (r) Input The constant factor by which each term is multiplied.
Geometric: n-th Term to Obtain (n) Input The term index to find in the geometric progression.
Fibonacci: n-th Term to Obtain (n) Input The index in the Fibonacci sequence.
Arithmetic Sequence: n-th Term (aₙ) Output The specific value at the n-th position of the arithmetic sequence.
Arithmetic Sequence: Sum of First n Terms (Sₙ) Output The total sum of all arithmetic terms up to index n.
Geometric Sequence: n-th Term (gₙ) Output The specific value at the n-th position of the geometric sequence.
Geometric Sequence: Sum of First n Terms (Sₙ) Output The total sum of all geometric terms up to index n.
Fibonacci: n-th Term (Fₙ) Output The value of the Fibonacci sequence at index n.

Frequently Asked Questions

What is the difference between an arithmetic and a geometric sequence?

An arithmetic sequence changes by adding or subtracting a constant value (the common difference) at each step. A geometric sequence changes by multiplying or dividing by a constant value (the common ratio) at each step.

How does the calculator handle a geometric sequence with a ratio of 1?

When the common ratio is 1, every term in the geometric sequence is identical to the first term. The sum of the first n terms is simply the first term multiplied by n.

What are the starting values of the Fibonacci sequence in this calculator?

This calculator uses the standard definition where the 0th term (F₀) is 0, the 1st term (F₁) is 1, and the 2nd term (F₂) is 1.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.