Skip to content
ToolPaxaAll Tools for Everyone, in One Place.All calculators

Number Sequence Calculator

Find an exact nth term and finite sum for arithmetic, geometric or Fibonacci sequences. Explore custom Fibonacci starting values and see the formula, indexed preview and working.

Formula reference

aₙ = a₁+(n−1)d; Sₙ = n(a₁+aₙ)/2; n ≥ 1

All formulas
  • aₙ = a₁+(n−1)d; Sₙ = n(a₁+aₙ)/2; n ≥ 1
  • a₁ = a; aₙ = arⁿ⁻¹ (n ≥ 2)
  • F₀=0; F₁=1; Fₙ=Fₙ₋₁+Fₙ₋₂; n ≥ 2
  • G₀=a; G₁=b; Gₙ=Gₙ₋₁+Gₙ₋₂; n ≥ 2
  • Geometric: Sₙ = a(1−rⁿ)/(1−r), r ≠ 1; Sₙ = na, r = 1
  • a ≠ 0: S∞ = a/(1−r) ⇔ |r| < 1; a=0 ⇒ S∞=0
  • Σ(k=0…n)Fₖ = Fₙ₊₂−1; Σ(k=0…n)Gₖ = Gₙ₊₂−G₁
  • Gₙ = Fₙ₋₁a + Fₙb; n ≥ 1
  • r=0: a₁=a; aₙ=0 for n ≥ 2
aₙ =
+ (
−1)×

Your result

Your answer and calculation steps appear here.

Inputs and calculations stay in this browser tab. Copy or export your report before closing.

Sequence terms, finite sums and clear indexing

Choose a sequence type and enter the labelled values in the formula. Use finite decimals, integer fractions or E notation without grouping. Arithmetic and geometric sequences begin at index 1; Fibonacci and custom Fibonacci begin at 0.

Choose a sequence rule and its starting index

An arithmetic sequence adds the same difference each step. A geometric sequence multiplies by the same ratio. Fibonacci adds the previous two terms; the custom mode uses that recurrence with your own G₀ and G₁. For arithmetic and geometric modes, n = 1 selects the first term, and the sum includes n terms. For Fibonacci modes, n = 0 selects the initial value, and the sum from index 0 through n includes n+1 terms. Read the labelled target index and count together to avoid a one-term shift. This tool evaluates a specified rule rather than claiming that a finite list determines one unique continuation.

Arithmetic nth terms and sums

With first term a₁ and common difference d, aₙ = a₁+(n−1)d. There are n−1 additions between the first and nth term. The finite sum is Sₙ = n(a₁+aₙ)/2: the number of terms times the average of the first and last. For a₁ = 2, d = 3 and n = 10, the term is 29 and the sum is 155. A negative difference gives a decreasing sequence; d = 0 gives a constant sequence. Fractions and exact decimal inputs work without rounding each intermediate term.

Geometric terms, special ratios and infinite sums

With first term a and ratio r, later terms follow aₙ = arⁿ⁻¹. The finite sum is a(1−rⁿ)/(1−r) when r ≠ 1; when r = 1, it is na. For a = 3, r = 2 and n = 6, the term is 96 and the sum is 189. A zero ratio is supported using the recurrence: the first term remains a and every later term is zero. A negative ratio alternates signs. For nonzero a, the infinite geometric series converges only when |r| < 1, with sum a/(1−r). If a = 0, every term and the infinite sum are zero for any finite ratio.

Fibonacci and custom starting values

The standard indexing here is F₀ = 0 and F₁ = 1, followed by Fₙ = Fₙ₋₁+Fₙ₋₂. Thus F₁₀ = 55, while the sum F₀ through F₁₀ is F₁₂−1 = 143. Custom Fibonacci uses G₀ = a and G₁ = b; its sum through n is Gₙ₊₂−G₁. For starting values 2 and 1, the sequence begins 2,1,3,4,7 and G₁₀ = 123 with sum 321. A fast exact recurrence computes large target indices without building an enormous list of every preceding term. These are specified mathematical recurrences, not predictions about real-world growth.

Read exact fractions and rounded decimals

All accepted inputs are converted to exact rational values, so entering 0.1 means precisely one tenth. Target terms and finite sums are retained as integers or reduced fractions. A separate decimal row appears when useful: short terminating expansions remain exact, while repeating or very long expansions are approximated and marked ≈. The significant-digit setting controls those approximations rather than changing the exact result. A finite geometric sum always exists for supported inputs, even when its infinite series diverges. Sequence convergence and series convergence are different questions: terms tending to zero alone do not prove that their infinite sum converges.

Understand the preview, bounds and exports

Indices run up to 100000, subject to an exact-work limit of 40000 digits in each reduced numerator or denominator. Inputs allow 50 coefficient or integer-fraction-component digits and entered E exponents within ±40. Rapid geometric growth can reach the working bound before the index bound; unsupported cases return an error. At most 13 indexed terms are shown: all terms when there are 13 or fewer, otherwise the first 10 and last 3 with an explicit omitted count. The full target term and finite sum expand on demand and remain in copy, CSV and print reports. The preview is not a complete exported sequence when terms are omitted.

Use Exponent Calculator to examine the power in a geometric term and Ratio Calculator to compare successive values. Fraction Calculator explains exact rational inputs; Big Number Calculator supports further arithmetic with a large result.

ISO 80000-2:2019 provides mathematical-symbol context, not calculator certification. OpenStax — Arithmetic Sequences explains arithmetic rules, OpenStax — Series develops finite and infinite series, and OEIS A000045 fixes the standard Fibonacci indexing used here.

Common questions

How do I find the nth term?

Select the known rule. Arithmetic uses a₁+(n−1)d; geometric uses arⁿ⁻¹ after its first term; Fibonacci uses the two-term recurrence with F₀ = 0 and F₁ = 1.

Is index 0 included?

Arithmetic and geometric modes begin at 1. Fibonacci and custom Fibonacci begin at 0; their sum through n therefore contains n+1 terms.

What happens when the ratio is 0 or 1?

For r = 0, the first term is a and all later terms are zero. For r = 1, every term is a and the finite sum is na.

When does an infinite geometric sum exist?

For nonzero first term, exactly when |r| < 1, giving a/(1−r). An identically zero sequence has infinite sum zero for any finite ratio.

Can a short sequence have several possible rules?

Yes. A finite list can fit multiple continuations. Enter the intended rule here; an apparent pattern alone is not a uniqueness proof.

Does the download contain all 100000 terms?

No. It retains the complete target and sum plus the explicitly labelled preview. The omitted count tells you how many terms are not listed.

Explore related tools