📐 Sequence Calculator
Calculate arithmetic, geometric, and Fibonacci sequences
Arithmetic Sequence Calculator
📚 Understanding Sequences
What is a Sequence?
A sequence is an ordered list of numbers following a specific pattern or rule. Each number in the sequence is called a term. Sequences are fundamental in mathematics and appear in many real-world applications from finance to nature.
Types of Sequences
Arithmetic Sequences: Each term increases (or decreases) by a constant amount called the common difference. For example, 2, 5, 8, 11, 14 has a common difference of 3.
Geometric Sequences: Each term is multiplied by a constant value called the common ratio. For example, 3, 6, 12, 24, 48 has a common ratio of 2.
Fibonacci Sequence: Each term is the sum of the two previous terms. This special sequence appears frequently in nature and has unique mathematical properties.
Key Formulas
- Arithmetic nth Term: aₙ = a₁ + (n-1)d, where a₁ is the first term and d is the common difference
- Arithmetic Sum: Sₙ = n/2 × (2a₁ + (n-1)d) or Sₙ = n/2 × (a₁ + aₙ)
- Geometric nth Term: aₙ = a₁ × r^(n-1), where r is the common ratio
- Geometric Sum: Sₙ = a₁ × (1 - r^n) / (1 - r) when r ≠ 1
- Fibonacci: Fₙ = Fₙ₋₁ + Fₙ₋₂, starting with F₀ = 0 and F₁ = 1
Real-World Applications
- Finance: Loan payments, savings plans, and compound interest calculations
- Science: Population growth, radioactive decay, and chemical reactions
- Engineering: Signal processing, algorithm analysis, and system modeling
- Nature: Fibonacci patterns in flowers, shells, and tree branches
- Computer Science: Algorithm complexity, data structures, and recursion
Frequently Asked Questions
What's the difference between arithmetic and geometric sequences?
Arithmetic sequences add a constant value (common difference) to each term, resulting in linear growth. Geometric sequences multiply each term by a constant value (common ratio), resulting in exponential growth or decay. For example, 2, 4, 6, 8 is arithmetic (adding 2), while 2, 4, 8, 16 is geometric (multiplying by 2).
How do I find the nth term of a sequence?
For arithmetic sequences, use aₙ = a₁ + (n-1)d. For geometric sequences, use aₙ = a₁ × r^(n-1). For Fibonacci, you need to calculate all previous terms or use Binet's formula. This calculator automatically computes the nth term for you based on your inputs.
What is the sum of a sequence?
The sum of a sequence (also called a series) is the total when you add all terms together. For arithmetic sequences, use Sₙ = n/2 × (a₁ + aₙ). For geometric sequences, use Sₙ = a₁ × (1 - r^n) / (1 - r) when r ≠ 1. The calculator displays both the nth term and the sum of all terms.
Why is the Fibonacci sequence special?
The Fibonacci sequence appears throughout nature in flower petals, spiral shells, tree branches, and more. The ratio between consecutive Fibonacci numbers approaches the golden ratio (φ ≈ 1.618), which is considered aesthetically pleasing and appears in art and architecture. It's also fundamental in computer science algorithms.
Can sequences have negative numbers?
Yes! Arithmetic sequences can have negative common differences (decreasing sequences) or negative first terms. Geometric sequences can have negative ratios (alternating positive/negative terms) or negative first terms. The calculator handles all these cases correctly.
What happens when the geometric ratio equals 1?
When r = 1, all terms in the geometric sequence are equal to the first term. The sum formula simplifies to Sₙ = n × a₁. This is actually a special case of an arithmetic sequence with d = 0. The calculator handles this case automatically.
How are sequences used in finance?
Arithmetic sequences model regular savings or payment plans (like monthly deposits). Geometric sequences model compound interest and investment growth. For example, if you invest $1000 at 5% annual interest, your balance each year forms a geometric sequence with ratio 1.05.