Number Sequence Calculator

Nth term

14

Sum of first n terms

40

All results
Calculator inputs
?

Choose an explicit rule. This calculator generates that rule; it does not infer a unique pattern from a short list.

?

a₁ for arithmetic/geometric modes, at index 1. Negative and fractional values are allowed; magnitude is limited to 1e150.

?

Arithmetic mode adds this difference; geometric mode multiplies by this ratio. A ratio of zero yields zero after the first term. Negative ratios alternate signs.

?

Arithmetic/geometric: n = 1 is the first term and the table contains n terms. Fibonacci: n = 0 is F₀ = 0 and the table contains F₀ through Fₙ. Maximum n is 1,000.

Same difference at every step

Terms are discrete, indexed values. Read the tiles from left to right, then continue on the next row.

Sequence terms in index order

Showing the first 5 of 5 terms. Lines guide the eye between discrete indices; they do not define values between integers. Exact Fibonacci strings remain in the table/CSV; chart coordinates are floating-point approximations.

Sequence terms in index order03.5710.514135
Term value
2

Complete terms and cumulative sums

Every generated term is retained, including zeroes and repeated terms. Export retains calculation precision rather than display rounding.

Complete terms and cumulative sums
IndexTermCumulative sum
122
257
3815
41126
51440

Which rule matches your problem?

These examples illustrate three declared rules. A short observed list alone need not identify a unique continuation.

Which rule matches your problem?
RuleStarting informationNext-term ruleComputed first five values
Arithmetica₁ = 3; d = 4Add 43, 7, 11, 15, 19
Geometrica₁ = 3; r = 2Multiply by 23, 6, 12, 24, 48
FibonacciF₀ = 0; F₁ = 1Add previous two0, 1, 1, 2, 3

How to use the Number Sequence Calculator

Generate arithmetic, geometric or Fibonacci sequences with the nth term, cumulative sum and complete term table. Compare constant differences, constant ratios and two-term recurrence visually.

  1. 1. Enter your inputs

    Start with Sequence, First term, Common difference / ratio, Term index n. Use the units shown beside each field and open the field help when you need its assumptions.

  2. 2. Read the results

    Results update as you enter valid values. Review Nth term, Sum of first n terms, Terms included. Keep the entered units and settings consistent when comparing scenarios.

  3. 3. Check the calculation

    Up to n = 1,000. Arithmetic/geometric values use floating-point arithmetic and can accumulate rounding; overflow or detected nonzero underflow is rejected. The chart previews at most the first 40 terms and does not guess unknown patterns or test infinite-series convergence.

    See the worked example and method

Understanding the Number Sequence Calculator: uses, inputs and results

The Number Sequence Calculator makes an arithmetic or geometric rule visible across a chosen number of terms.

How do I find the nth term of a number sequence?

First declare what connects the terms. An arithmetic sequence adds a fixed difference; a geometric sequence multiplies by a fixed ratio. This Number Sequence Calculator also supports the Fibonacci recurrence, which adds the previous two terms. These are different rules, so the same index can produce very different values.

A short list does not generally determine a unique continuation. Many formulas can fit the first few observations. This tool generates a stated rule rather than presenting a guessed pattern as certain, and its table identifies the index of every generated term.

How do I calculate an arithmetic sequence and its sum?

If the first term is a₁ and the common difference is d, then aₙ = a₁ + (n − 1)d. Starting at 3 and adding 4 gives 3, 7, 11, 15 and 19. The fifth term is 19; the sum of those five terms is 55.

The finite-sum formula is Sₙ = n(a₁ + aₙ)/2. A negative difference creates a decreasing progression, and zero difference repeats the first value. The input named count in existing shared links remains supported; the field now makes explicit that arithmetic/geometric n starts at one.

Further reading: OpenStax: arithmetic sequences · OpenStax: geometric sequences · NIST DLMF: Fibonacci numbers

What do the Number Sequence Calculator inputs mean?

Sequence
Choose an explicit rule. This calculator generates that rule; it does not infer a unique pattern from a short list.
First term
a₁ for arithmetic/geometric modes, at index 1. Negative and fractional values are allowed; magnitude is limited to 1e150. This field applies when Sequence is set to Arithmetic or Geometric.
Common difference / ratio
Arithmetic mode adds this difference; geometric mode multiplies by this ratio. A ratio of zero yields zero after the first term. Negative ratios alternate signs. This field applies when Sequence is set to Arithmetic or Geometric.
Term index n
Arithmetic/geometric: n = 1 is the first term and the table contains n terms. Fibonacci: n = 0 is F₀ = 0 and the table contains F₀ through Fₙ. Maximum n is 1,000.

When is the Number Sequence Calculator useful?

Check a sequence rule

Enter the first term and common difference or ratio to generate the specified sequence.

Compare additive and multiplicative growth

Switch the sequence type to see how adding a constant differs from multiplying by one.

Number Sequence Calculator: a practical reference

The fixed “Arithmetic” example on this page produces the results below. It illustrates the stated model; your live results above use your current inputs.

Sequence
Arithmetic
First term
2
Common difference / ratio
3
Nth term
14
Sum of first n terms
40
Review the example inputs and calculation

Use the result in context

Up to n = 1,000. Arithmetic/geometric values use floating-point arithmetic and can accumulate rounding; overflow or detected nonzero underflow is rejected. The chart previews at most the first 40 terms and does not guess unknown patterns or test infinite-series convergence.

Try the Number Sequence Calculator·Read the subject guide·Explore a related calculator

Worked example: Number Sequence Calculator

Arithmetic. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.

View the example inputs
Sequence
Arithmetic
First term
2
Common difference / ratio
3
Term index n
5
Calculated results for the fixed example
Calculated quantityExample result
Nth term14
Sum of first n terms40
Terms included5
Generation ruleAdd d each step

Number Sequence Calculator: choose the rule and keep the index straight

How do I find the nth term of a number sequence?

First declare what connects the terms. An arithmetic sequence adds a fixed difference; a geometric sequence multiplies by a fixed ratio. This Number Sequence Calculator also supports the Fibonacci recurrence, which adds the previous two terms. These are different rules, so the same index can produce very different values.

A short list does not generally determine a unique continuation. Many formulas can fit the first few observations. This tool generates a stated rule rather than presenting a guessed pattern as certain, and its table identifies the index of every generated term.

How do I calculate an arithmetic sequence and its sum?

If the first term is a₁ and the common difference is d, then aₙ = a₁ + (n − 1)d. Starting at 3 and adding 4 gives 3, 7, 11, 15 and 19. The fifth term is 19; the sum of those five terms is 55.

The finite-sum formula is Sₙ = n(a₁ + aₙ)/2. A negative difference creates a decreasing progression, and zero difference repeats the first value. The input named count in existing shared links remains supported; the field now makes explicit that arithmetic/geometric n starts at one.

OpenStax: arithmetic sequences

What is the common ratio in a geometric sequence?

The common ratio r is the multiplier from one term to the next. Starting at 3 with r = 2 gives 3, 6, 12, 24 and 48, whose sum is 93. A 10% increase per step corresponds to ratio 1.10, not ratio 10.

If r = 1, the sequence is constant. If r = 0, every term after the first is zero. A negative ratio alternates signs; for first term 3 and ratio −2, the first five terms sum to 33 even though the fifth term is 48. The chart joins discrete points only as a reading aid.

OpenStax: geometric sequences

Does the Fibonacci sequence start at zero or one?

This calculator declares F₀ = 0 and F₁ = 1, then uses Fₙ = Fₙ₋₁ + Fₙ₋₂. The first displayed terms are therefore indexed 0, 1, 2, 3 and 4 with values 0, 1, 1, 2 and 3. Repeated values do not mean repeated indices.

For n = 10, the requested value is F₁₀ = 55. The table includes F₀ through F₁₀, which is eleven terms, and their sum is 143. Other tools may label the list position differently; compare the starting index before calling two answers inconsistent.

NIST DLMF: Fibonacci numbers

Are the generated terms and sums exact?

Fibonacci values use exact integer arithmetic through index 1,000. Arithmetic and geometric modes use floating-point numbers, so decimal fractions and repeated multiplications can accumulate rounding. The sum uses compensated accumulation to reduce addition error without claiming exact decimal arithmetic.

Overflow and detected nonzero underflow are rejected. A genuinely zero first term in a geometric sequence remains zero even with a large ratio. The graph previews the first 40 terms; it does not squeeze the final term into an equally spaced chart position that would misrepresent its index.

What can I use a Number Sequence Calculator for?

Use arithmetic mode for fixed-step schedules, geometric mode for repeated proportional scaling, and Fibonacci mode for recurrence exercises. Enter all terms in a common unit and distinguish a term value from the cumulative sum: total output through a given index answers a different question from the value at that index.

The full table, CSV and print output retain all generated terms even when the chart is shortened. Import long Fibonacci integers as text in spreadsheet software. A finite list alone does not establish that an infinite series converges or that a real-world process will continue following the chosen rule.

Formula and calculation method

Arithmetic: aₙ = a₁ + (n−1)d and Sₙ = n(a₁+aₙ)/2. Indices begin at one.

Geometric: aₙ = a₁r^(n−1). For r = 1, Sₙ = na₁; otherwise Sₙ = a₁(1−r^n)/(1−r). Finite sums are accumulated with compensation instead of dividing by a near-zero 1−r.

Fibonacci uses F₀ = 0, F₁ = 1 and Fₙ = Fₙ₋₁ + Fₙ₋₂. The table and sum include indices 0 through n. Fibonacci values use exact integer arithmetic.

Scope and Limitations

  • Up to n = 1,000. Arithmetic/geometric values use floating-point arithmetic and can accumulate rounding; overflow or detected nonzero underflow is rejected. The chart previews at most the first 40 terms and does not guess unknown patterns or test infinite-series convergence.

Reference Sources

Frequently asked questions

Can this calculator guess the next number in any list?

No. It generates one of the explicitly chosen rules; a short list may admit many different continuations.

Why does Fibonacci n = 10 show eleven table rows?

The table includes indices zero through ten. F₁₀ is 55 and the sum F₀ through F₁₀ is 143.

Is a geometric ratio of one allowed?

Yes. Every term then equals the first term, and the finite sum is n times that value.

What does a negative ratio do?

It alternates the signs of successive nonzero geometric terms. Its magnitude determines whether their magnitudes grow or shrink.

Why are only 40 terms shown in the chart?

The chart is a declared preview. The complete indexed table and CSV retain every generated term and cumulative sum.