Arithmetic and geometric sequence calculator
Give the first term and the step, or type a few terms of the sequence: we find the n-th term and the sum.
Result
21Term at position n (aₙ)
- Sum of the first n terms
- 120
- Common difference (what you add)
- 2
- First terms
- 3 ; 5 ; 7 ; 9 ; 11 ; 13
Inputs
- Type of sequence
- Arithmetic (+)
- I know
- a₁ and the step
- First term a₁
- 3
- Step
- 2
- Position n
- 10
How it is calculated
Arithmetic: aₙ = a₁ + (n − 1) × d, sum = n × (a₁ + aₙ) ÷ 2.
Result
Term at position n (aₙ)
- Sum of the first n terms
- 120
- Common difference (what you add)
- 2
- First terms
- 3 ; 5 ; 7 ; 9 ; 11 ; 13
How it is calculated
- Arithmetic: aₙ = a₁ + (n − 1) × d, sum = n × (a₁ + aₙ) ÷ 2.
- Geometric: aₙ = a₁ × rⁿ⁻¹, sum = a₁ × (1 − rⁿ) ÷ (1 − r) (or n × a₁ if r = 1).
- From terms: the step is the difference (or quotient) between neighbours; we check it is the same everywhere.
Example
Sequence 3, 5, 7… (step 2): a₁₀ = 3 + 9 × 2 = 21, and the first 10 terms add up to 120.
Good to know
- Several rules can give the same first terms: the result assumes an arithmetic or geometric sequence.
- The position is limited to 1,000,000; values that are too large are reported.
When to use it
- Find the 10th or 100th term of a sequence without writing out every term before it.
- Add up the first terms, for example savings that grow by the same amount each month.
- Check whether a few given terms follow a constant step (+) or a constant ratio (×).
- For a single power such as 1.05^10, the Exponent calculator (powers) is quicker.
Frequently asked questions
How can I tell if a sequence is arithmetic or geometric?
If you always add the same number (3, 5, 7…), it is arithmetic. If you always multiply by the same number (3, 6, 12…), it is geometric.
Why does the tool talk about an assumption?
A few terms cannot prove a rule: 1, 2, 4 could go on with 8 or with 7. The tool assumes the same step or ratio keeps going.
Is compound interest a geometric sequence?
Yes: the balance is multiplied each year by (1 + rate). The first term is the starting amount and the ratio is, for example, 1.03 for 3%.
What happens when the ratio is 1?
Every term is the same and the sum is n × a₁. The usual formula would divide by 0, so the tool handles this case separately.